java.lang.IllegalStateException: No Elasticsearch client configuration detected, check your pio-env.sh forproper configuration settings

Google Groups | Ayoub BENALI | 2 weeks ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    No Elasticsearch client configuration detected

    Google Groups | 2 weeks ago | Ayoub BENALI
    java.lang.IllegalStateException: No Elasticsearch client configuration detected, check your pio-env.sh forproper configuration settings
  2. 0

    pio build error

    Google Groups | 3 months ago | Unknown author
    java.lang.IllegalStateException: No Elasticsearch client configuration detected, check your pio-env.sh forproper configuration settings
  3. 0

    pio train error

    GitHub | 6 months ago | xiongjiewu
    java.lang.IllegalStateException: No Elasticsearch client configuration detected, check your pio-env.sh forproper configuration settings
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Prediction.io - pio train fails with exception

    Stack Overflow | 1 year ago | user1882744
    java.lang.IllegalStateException: No Elasticsearch client configuration detected, check your pio-env.sh forproper configuration settings

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalStateException

      No Elasticsearch client configuration detected, check your pio-env.sh forproper configuration settings

      at org.template.EsClient$.client$lzycompute()
    2. org.template
      URAlgorithm.train
      1. org.template.EsClient$.client$lzycompute(EsClient.scala:61)
      2. org.template.EsClient$.client(EsClient.scala:58)
      3. org.template.EsClient$.hotSwap(EsClient.scala:172)
      4. org.template.URModel.save(URModel.scala:80)
      5. org.template.URAlgorithm.calcAll(URAlgorithm.scala:324)
      6. org.template.URAlgorithm.train(URAlgorithm.scala:251)
      7. org.template.URAlgorithm.train(URAlgorithm.scala:169)
      7 frames
    3. org.apache.predictionio
      Engine$$anonfun$18.apply
      1. org.apache.predictionio.controller.P2LAlgorithm.trainBase(P2LAlgorithm.scala:49)
      2. org.apache.predictionio.controller.Engine$$anonfun$18.apply(Engine.scala:692)
      3. org.apache.predictionio.controller.Engine$$anonfun$18.apply(Engine.scala:692)
      3 frames
    4. Scala
      AbstractTraversable.map
      1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      3. scala.collection.immutable.List.foreach(List.scala:318)
      4. scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
      5. scala.collection.AbstractTraversable.map(Traversable.scala:105)
      5 frames
    5. org.apache.predictionio
      CreateWorkflow.main
      1. org.apache.predictionio.controller.Engine$.train(Engine.scala:692)
      2. org.apache.predictionio.controller.Engine.train(Engine.scala:177)
      3. org.apache.predictionio.workflow.CoreWorkflow$.runTrain(CoreWorkflow.scala:67)
      4. org.apache.predictionio.workflow.CreateWorkflow$.main(CreateWorkflow.scala:250)
      5. org.apache.predictionio.workflow.CreateWorkflow.main(CreateWorkflow.scala)
      5 frames
    6. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:498)
      4 frames
    7. Spark
      SparkSubmit.main
      1. org.apache.spark.deploy.SparkSubmit$.org$apache$spark$deploy$SparkSubmit$$runMain(SparkSubmit.scala:672)
      2. org.apache.spark.deploy.SparkSubmit$.doRunMain$1(SparkSubmit.scala:180)
      3. org.apache.spark.deploy.SparkSubmit$.submit(SparkSubmit.scala:205)
      4. org.apache.spark.deploy.SparkSubmit$.main(SparkSubmit.scala:120)
      5. org.apache.spark.deploy.SparkSubmit.main(SparkSubmit.scala)
      5 frames