Giter Site home page Giter Site logo

database elasticsearch about shuffle HOT 8 CLOSED

githubhzj avatar githubhzj commented on June 12, 2024
database elasticsearch

from shuffle.

Comments (8)

frikky avatar frikky commented on June 12, 2024

Can OpenSearch, the database of shuffle, be replaced with Elasticsearch?

Yep! Pretty much the same thing.

from shuffle.

githubhzj avatar githubhzj commented on June 12, 2024

Can OpenSearch, the database of shuffle, be replaced with Elasticsearch?

Yep! Pretty much the same thing.

Now I want to replace it with elasticsearch, how can I do it? thanks

from shuffle.

frikky avatar frikky commented on June 12, 2024

Can OpenSearch, the database of shuffle, be replaced with Elasticsearch?

Yep! Pretty much the same thing.

Now I want to replace it with elasticsearch, how can I do it? thanks

  1. Clone Shuffle as per usual
  2. Modify the .env file here (keep OPENSEARCH - pretend it's elasticsearch ;)):

    Shuffle/.env

    Line 93 in c50b840

    SHUFFLE_OPENSEARCH_URL=https://shuffle-opensearch:9200

from shuffle.

githubhzj avatar githubhzj commented on June 12, 2024

Can OpenSearch, the database of shuffle, be replaced with Elasticsearch?

Yep! Pretty much the same thing.

Now I want to replace it with elasticsearch, how can I do it? thanks

  1. Clone Shuffle as per usual
  2. Modify the .env file here (keep OPENSEARCH - pretend it's elasticsearch ;)):

    Shuffle/.env

    Line 93 in c50b840

    SHUFFLE_OPENSEARCH_URL=https://shuffle-opensearch:9200

i tried But failed ,
The following error message is displayed,
[ERROR] Error in initial database connection. Retrying in 5 seconds. the client noticed that the server is not a supported distribution

My configurations:

The docker image version of elasticsearch is 8.13.0 , single-node installed

DATABASE CONFIGURATIONS

DATASTORE_EMULATOR_HOST=shuffle-database:8000
#SHUFFLE_OPENSEARCH_URL=http://shuffle-opensearch:9200
SHUFFLE_OPENSEARCH_URL=https://192.168.253.232:9200
SHUFFLE_OPENSEARCH_USERNAME="elastic"
SHUFFLE_OPENSEARCH_PASSWORD="SWFms8GW4g2*xxxxxx"
SHUFFLE_OPENSEARCH_CERTIFICATE_FILE=
SHUFFLE_OPENSEARCH_APIKEY=
SHUFFLE_OPENSEARCH_CLOUDID=
SHUFFLE_OPENSEARCH_PROXY=
SHUFFLE_OPENSEARCH_INDEX_PREFIX=
SHUFFLE_OPENSEARCH_SKIPSSL_VERIFY=true

from shuffle.

frikky avatar frikky commented on June 12, 2024

Can OpenSearch, the database of shuffle, be replaced with Elasticsearch?

Yep! Pretty much the same thing.

Now I want to replace it with elasticsearch, how can I do it? thanks

  1. Clone Shuffle as per usual
  2. Modify the .env file here (keep OPENSEARCH - pretend it's elasticsearch ;)):

    Shuffle/.env

    Line 93 in c50b840

    SHUFFLE_OPENSEARCH_URL=https://shuffle-opensearch:9200

i tried But failed , The following error message is displayed, [ERROR] Error in initial database connection. Retrying in 5 seconds. the client noticed that the server is not a supported distribution

My configurations:

The docker image version of elasticsearch is 8.13.0 , single-node installed

DATABASE CONFIGURATIONS

DATASTORE_EMULATOR_HOST=shuffle-database:8000 #SHUFFLE_OPENSEARCH_URL=http://shuffle-opensearch:9200 SHUFFLE_OPENSEARCH_URL=https://192.168.253.232:9200 SHUFFLE_OPENSEARCH_USERNAME="elastic" SHUFFLE_OPENSEARCH_PASSWORD="SWFms8GW4g2*xxxxxx" SHUFFLE_OPENSEARCH_CERTIFICATE_FILE= SHUFFLE_OPENSEARCH_APIKEY= SHUFFLE_OPENSEARCH_CLOUDID= SHUFFLE_OPENSEARCH_PROXY= SHUFFLE_OPENSEARCH_INDEX_PREFIX= SHUFFLE_OPENSEARCH_SKIPSSL_VERIFY=true

Hey!

Are you sure it can connect to 192.168.253.232:9200 inside the docker container of the backend?

from shuffle.

githubhzj avatar githubhzj commented on June 12, 2024

There was no problem with the network connection, I tested multiple ES versions a few days ago and found that 7. X can be replaced normally, but 8.x is not supported。

thanks any more

from shuffle.

frikky avatar frikky commented on June 12, 2024

There was no problem with the network connection, I tested multiple ES versions a few days ago and found that 7. X can be replaced normally, but 8.x is not supported。

thanks any more

Oh interesting. I'll have a look into it and try to get it fixed - thanks! I'm guessing it has to do with the library we are using.

from shuffle.

frikky avatar frikky commented on June 12, 2024

Due to issues with the library, and not wanting a fully new fork (at least right now), we will not be supporting Elasticsearch >= 7.13.0 from now on.

Tested forking to see if it was an easy fix, but maintaining a downstream library is not worth it.

from shuffle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.