org.elasticsearch.hadoop.rest.EsHadoopTransportException: Invalid target URI POST@null/myIndex/myType/_search?sort=_doc&scroll=5m&size=50&_source=City,DOB,Name,SSN,Street,clusterID,ireId&preference=_shards:5|_local

GitHub | bwf93 | 6 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    GitHub comment 868#254860752

    GitHub | 6 months ago | bwf93
    org.elasticsearch.hadoop.rest.EsHadoopTransportException: Invalid target URI POST@null/myIndex/myType/_search?sort=_doc&scroll=5m&size=50&_source=City,DOB,Name,SSN,Street,clusterID,ireId&preference=_shards:6|_local

    Root Cause Analysis

    1. org.apache.commons.httpclient.URIException

      Invalid query

      at org.apache.commons.httpclient.URI.parseUriReference()
    2. HttpClient
      HttpMethodBase.getURI
      1. org.apache.commons.httpclient.URI.parseUriReference(URI.java:2049)
      2. org.apache.commons.httpclient.URI.<init>(URI.java:147)
      3. org.apache.commons.httpclient.HttpMethodBase.getURI(HttpMethodBase.java:265)
      3 frames
    3. Elasticsearch Hadoop
      ScrollQuery.hasNext
      1. org.elasticsearch.hadoop.rest.commonshttp.CommonsHttpTransport.execute(CommonsHttpTransport.java:444)
      2. org.elasticsearch.hadoop.rest.NetworkClient.execute(NetworkClient.java:112)
      3. org.elasticsearch.hadoop.rest.RestClient.execute(RestClient.java:444)
      4. org.elasticsearch.hadoop.rest.RestClient.execute(RestClient.java:436)
      5. org.elasticsearch.hadoop.rest.RestRepository.scroll(RestRepository.java:363)
      6. org.elasticsearch.hadoop.rest.ScrollQuery.hasNext(ScrollQuery.java:92)
      6 frames
    4. Elasticsearch Spark
      AbstractEsRDDIterator.hasNext
      1. org.elasticsearch.spark.rdd.AbstractEsRDDIterator.hasNext(AbstractEsRDDIterator.scala:43)
      1 frame
    5. Scala
      Iterator$$anon$11.hasNext
      1. scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:408)
      1 frame
    6. Spark Project Catalyst
      GeneratedClass$GeneratedIterator.processNext
      1. org.apache.spark.sql.catalyst.expressions.GeneratedClass$GeneratedIterator.processNext(Unknown Source)
      1 frame
    7. Spark Project SQL
      WholeStageCodegenExec$$anonfun$8$$anon$1.hasNext
      1. org.apache.spark.sql.execution.BufferedRowIterator.hasNext(BufferedRowIterator.java:43)
      2. org.apache.spark.sql.execution.WholeStageCodegenExec$$anonfun$8$$anon$1.hasNext(WholeStageCodegenExec.scala:370)
      2 frames
    8. Scala
      Iterator$$anon$11.hasNext
      1. scala.collection.Iterator$$anon$11.hasNext(Iterator.scala:408)
      1 frame
    9. Spark
      Executor$TaskRunner.run
      1. org.apache.spark.shuffle.sort.BypassMergeSortShuffleWriter.write(BypassMergeSortShuffleWriter.java:125)
      2. org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:79)
      3. org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:47)
      4. org.apache.spark.scheduler.Task.run(Task.scala:86)
      5. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:274)
      5 frames
    10. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames