predictionio-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marius Rabenarivo <>
Subject [PIO 0.10.0][Universtal Recommender 0.5] Exception when using remote Elasticsearch while training
Date Thu, 06 Apr 2017 23:27:26 GMT

I try to run training from a remote machine.

It fails in later stage due to this exception : Connection
error (check network and/or proxy settings)- all nodes failed; tried

According to the stack trace the error is coming from this line :

It was using a default configuration to access ES.

I tried to replace this line with :

    val elasticSearchConf = Storage.getConfig("ELASTICSEARCH").get

    val conf = Map(
      "" -> "id",
      "es.nodes" ->"HOSTS").head,
      "es.port" ->"PORTS").head

    indexRDD.saveToEs(newIndexURI, conf)

but I still getting the same error.



View raw message