Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hello, I got this error when I try to train the model #79

Open
samilAyoub opened this issue Nov 13, 2021 · 3 comments
Open

Hello, I got this error when I try to train the model #79

samilAyoub opened this issue Nov 13, 2021 · 3 comments

Comments

@samilAyoub
Copy link

samilAyoub commented Nov 13, 2021

Log:
nznznznznnznznz

Engine config:
{
"engineId": "rs",
"engineFactory": "com.actionml.engines.ur.UREngine",
"sparkConf": {
"master": "local",
"spark.serializer": "org.apache.spark.serializer.KryoSerializer",
"spark.kryo.registrator": "org.apache.mahout.sparkbindings.io.MahoutKryoRegistrator",
"spark.kryo.referenceTracking": "false",
"spark.kryoserializer.buffer": "300m",
"spark.executor.memory": "2g",
"spark.driver.memory": "1g",
"spark.es.index.auto.create": "true",
"spark.es.nodes": "http://localhost:9200",
"spark.es.nodes.wan.only": "true"
},
"algorithm": {
"indicators": [
{
"name": "buy"
}
]
}
}

Elasticsearch instance:

jelashhs

@ilhamnyto
Copy link

did you found the solution? i got same issue

@mrlreable
Copy link

Hi,
is this issue resolved? I'm also stuck at this point.

@mrlreable
Copy link

Hi,

just resolved the issue and it's really simple...
The problem with the config value "spark.es.nodes": "http://localhost:9200/" is that the elasticsearch service runs in docker which means localhost:9200 does not mean the IP address you are trying to use. You need to explicitly add the IPv4 address of your machine instead of localhost and it will work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants