Programming Books

Main Menu

  • Home
  • Phyton programming
  • Java programming
  • Php programming
  • C++ programming
  • Additional Topics
    • Programming industry
    • Privacy Policy
    • Terms and Conditions

Programming Books

Header Banner

Programming Books

  • Home
  • Phyton programming
  • Java programming
  • Php programming
  • C++ programming
  • Additional Topics
    • Programming industry
    • Privacy Policy
    • Terms and Conditions
Phyton programming
Home›Phyton programming›Elastic modifies the Python Elasticsearch client so that it does not work with forks, then blocks comments • The Register

Elastic modifies the Python Elasticsearch client so that it does not work with forks, then blocks comments • The Register

By Brandy J. Richardson
August 9, 2021
0
0

Elastic modified the official Python client so that its Elasticsearch database would not work with fork versions, and closed the GitHub issue for comments.

Elasticsearch is a database manager and crawl engine, often used for log analysis. The elasticsearch-py client has over 202,000 downloads and is described as the “official low-level client for Elasticsearch. Its purpose is to provide common ground for all code related to Elasticsearch in Python; for this reason, it tries to be without opinion very extensible. “

It is also used as a library by Elasticsearch DSL, a high-level library for performing Elasticsearch queries.

Elasticsearch was an open source product, but in January changed its license in response to what the company saw as unfair use by public cloud platforms, AWS in particular. AWS forged Elasticsearch, before the license change, to create Open Distro for Elasticsearch, which then evolved into OpenSearch, version 1.0 released last month. The victims of this corporate battle include open source developers who contributed to Elasticsearch but now feel left behind.

The developers have now opted for a discrete modification of the elasticsearch-py source, which verifies that the database is the product of Elastic and not a fork. “If there is no X-Elastic-Product HTTP header in the response or if the value of the X-Elastic-Product HTTP header is not Elasticsearch, generate an error”, is one of the changes noted.

“It’s disappointing to see this 🙁 You are forcing us as spectators in a battle to choose our side,” said Lars Holm Nielsen of CERN, product manager for an open source project called Invenio used for management of research data. “We are developing an Open Source Product that could easily work with both Elasticsearch or OpenSearch, and then users can choose for themselves whether they want Elasticsearch or OpenSearch… This and other Elastic behaviors don’t tell me really give no confidence in Elastic and what you could do in it And don’t blame it all on Amazon – you’ve already changed the server license, you didn’t have to make that move. “

Philip Krauss, senior director of engineering at Elastic, responded, “Amazon OpenSearch is a different product. And while there is some common history, there are already many differences that cause real confusion and problems.

Another comment on the issue has been deleted and the thread is now locked.

The same thing happened with the .NET Connector for Elasticsearch, resulting in error messages such as “The client noticed that the server is not a supported distribution of Elasticsearch.” When users complained, Steve Gordon, Elastic senior software engineer, said, “The recommendation is to upgrade to the latest Elasticsearch default distribution, which is free to use under the Elastic v2 license… client and server combinations. In the supported configurations, the change is not irreversible. The intention here is to make this incompatibility explicit by failing quickly to avoid consumers mistakenly assuming that they are running in a supported configuration that is not tested and may not work as expected. “

Another change is that the Java client for Elasticsearch has upgraded to the Elastic license.

In the OpenSearch community, this topic has caused some anxiety. “What should opensearch do about all the connectors and bindings for the various programming languages ​​currently available?” Many of them already incorporate anti-competitive measures, as has been reported, ”said one user.

Licensing is a different matter from product verification. Elastic said, “Our client libraries remain under the Apache 2.0 license, with the exception of our Java High Level Rest (Java HLRC) client. Java HLRC depends on the core of Elasticsearch, and therefore this client library will be licensed under the Elastic license. Over time, we will eliminate this dependency and move Java HLRC to be licensed under the Apache 2.0 license. “

Licensing these clients under Apache 2.0 (as is the case with Python and .NET clients) is not sufficient for use with OpenSearch if the code blocks the connection, although this does mean that clients can easily be removed. forked and modified.

Elastic may be hoping that the momentum behind the official release, as well as its own contributions, will be enough that the open source alternative can’t keep up. ®

Related posts:

  1. Become a complete Java programmer with this top-to-bottom bootcamp learning package
  2. Fresche begins development and modernization of new RPGs with X-Elevate
  3. Software engineer vs web developer: what’s the difference?
  4. The best programming languages ​​that will become dominant in 2022
Tagsprogramming languages

Archives

  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • November 2021
  • October 2021
  • September 2021
  • August 2021
  • July 2021
  • June 2021
  • January 2021
  • December 2019
  • November 2019
  • October 2019
  • April 2019
  • March 2019
  • February 2019
  • January 2019
  • December 2017

Categories

  • C++ programming
  • Java programming
  • Php programming
  • Phyton programming
  • Programming industry

Recent Posts

  • Welcome to THE COMMONS — News and Views from Windham County, Vermont
  • How to become a software developer
  • Diákhitel raises general purpose student loan rate to 4.99%
  • GitHub Copilot vs. Amazon CodeWhisperer
  • Researchers identify epigenetic signature associated with development of MIS-C after COVID-19
  • Privacy Policy
  • Terms and Conditions