You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Log:
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:
The text was updated successfully, but these errors were encountered: