Prediction.io-pio序列异常失败
刚刚开始使用Prediction.IO-执行pio训练时出现异常。我正在使用通用推荐模板 Pio状态和Pio开始正常工作,不报告任何错误 似乎“也没有找到Elasticsearch客户端”-但端口9200上的本地主机没有问题 有人对给出的错误消息指的是什么有线索吗Prediction.io-pio序列异常失败,prediction,Prediction,刚刚开始使用Prediction.IO-执行pio训练时出现异常。我正在使用通用推荐模板 Pio状态和Pio开始正常工作,不报告任何错误 似乎“也没有找到Elasticsearch客户端”-但端口9200上的本地主机没有问题 有人对给出的错误消息指的是什么有线索吗 > [INFO] [URModel] Ready to pass date fields names to closure Some(List(, , )) > [INFO] [URModel] Conve
> [INFO] [URModel] Ready to pass date fields names to closure Some(List(, , ))
> [INFO] [URModel] Converting PropertyMap into Elasticsearch style rdd
> [Stage 41:=============================> (2 + 2) / 4][INFO] [URModel] Grouping all correlators into doc +
> fields for writing to index
> [INFO] [URModel] Finding non-empty RDDs from a list of 2 correlators and 1 properties
> [INFO] [URModel] New data to index, performing a hot swap of the index.
> Exception in thread "main" java.lang.IllegalStateException: No Elasticsearch client configuration detected, check your pio-env.sh
> forproper configuration settings
> at dk.bilzonen.esClient$.client$lzycompute(esClient.scala:58)
> at dk.bilzonen.esClient$.client(esClient.scala:55)
> at dk.bilzonen.esClient$.hotSwap(esClient.scala:169)
> at dk.bilzonen.URModel.save(URModel.scala:147)
> at dk.bilzonen.URModel.save(URModel.scala:38)
> at io.prediction.controller.P2LAlgorithm.makePersistentModel(P2LAlgorithm.scala:111)
> at io.prediction.controller.Engine$$anonfun$makeSerializableModels$2.apply(Engine.scala:294)
> at io.prediction.controller.Engine$$anonfun$makeSerializableModels$2.apply(Engine.scala:293)
> at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
> at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
> at scala.collection.Iterator$class.foreach(Iterator.scala:727)
> at scala.collection.AbstractIterator.foreach(Iterator.scala:1157)
> at scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
> at scala.collection.AbstractIterable.foreach(Iterable.scala:54)
> at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
> at scala.collection.AbstractTraversable.map(Traversable.scala:105)
> at io.prediction.controller.Engine.makeSerializableModels(Engine.scala:293)
> at io.prediction.controller.Engine.train(Engine.scala:185)
> at io.prediction.workflow.CoreWorkflow$.runTrain(CoreWorkflow.scala:65)
> at io.prediction.workflow.CreateWorkflow$.main(CreateWorkflow.scala:247)
> at io.prediction.workflow.CreateWorkflow.main(CreateWorkflow.scala)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:672)
> at org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:180)
> at org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:205)
> at org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120)
> at org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
PredictionIO
(在PredictionIO
/conf
目录中的pio env.sh
中)的默认配置在端口9300
上运行ElasticSearch
。如果您将其更新为9200
,您的培训步骤是否成功 PredictionIO
(在PredictionIO
/conf
目录中的pio env.sh
中)的默认配置在端口9300上运行ElasticSearch
。如果您将其更新为9200
,您的培训步骤是否成功