You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
16/01/2910:09:53WARNTaskSetManager: Losttask0.0instage0.0 (TID0, 192.168.2.95):
org.apache.spark.util.TaskCompletionListenerException:
[POST] on [9zdata_ip_multi/access_log/_search?search_type=scan&scroll=5&size=50&preference=_shards:0;_only_node:a2U5CzjsS0iAdz_hov_-ag] failed;
server[192.168.2.93:9205] returned [400|BadRequest:]
atorg.apache.spark.TaskContextImpl.markTaskCompleted(TaskContextImpl.scala:87)
atorg.apache.spark.scheduler.Task.run(Task.scala:90)
atorg.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
atjava.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
atjava.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
atjava.lang.Thread.run(Thread.java:722)
I know the scan search type has been deprecated in elasticsearch 2.1, Why still post search_type=scan? And the scan=10 is invalid, is should be scan=10m
How can I resolve this issue?
The text was updated successfully, but these errors were encountered:
@fmyblack Specifying es.internal properties is not supported; there is no documentation for it and they are not to be used outside the library itself. They are simply not supported.
Additionally, if you don't specify a query, by default it will match everything; in your case simply remove it.
Especially since your query
Additionally, there's no indication on what caused the bad request - you assume it's the URL but it can very well be the body.
Based on the scroll param likely you are using ES-Hadoop 2.1.x which does not support Elasticsearch 2.0 or higher, for that one needs to run ES-Hadoop 2.2 (currently rc1).
P.S. Thanks for taking time to format the post and looking through the code to make things work.
However the project should not be hard to use, if something fails please report it right away (with things like including the version) as it will help resolve the situation faster.
Hi,
I want to read from ElasticSearch into Spark according to Apache Spark support: spark-native.
Here is my conf set:
I found the WARN info in spark job:
I know the
scan
search type has been deprecated inelasticsearch 2.1
, Why still postsearch_type=scan
? And thescan=10
is invalid, is should bescan=10m
How can I resolve this issue?
The text was updated successfully, but these errors were encountered: