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

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by bwf93
, 1 year ago
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
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
at org.apache.commons.httpclient.URI.parseUriReference(URI.java:2049)
at org.apache.commons.httpclient.URI.(URI.java:147)
at org.elasticsearch.hadoop.rest.commonshttp.CommonsHttpTransport.execute(CommonsHttpTransport.java:444)
at org.elasticsearch.hadoop.rest.NetworkClient.execute(NetworkClient.java:112)
at org.elasticsearch.hadoop.rest.RestClient.execute(RestClient.java:444)
at org.elasticsearch.hadoop.rest.RestClient.execute(RestClient.java:436)
at org.elasticsearch.hadoop.rest.RestRepository.scroll(RestRepository.java:363)
at org.apache.spark.sql.execution.BufferedRowIterator.hasNext(BufferedRowIterator.java:43)
at org.apache.spark.shuffle.sort.BypassMergeSortShuffleWriter.write(BypassMergeSortShuffleWriter.java:125)
at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:79)
at org.apache.spark.scheduler.ShuffleMapTask.runTask(ShuffleMapTask.scala:47)
at org.apache.spark.scheduler.Task.run(Task.scala:86)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
at java.lang.Thread.run(Thread.java:745)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.