org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: invalid pattern given 127.0.0.1/

Stack Overflow | LP45 | 7 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Elastic Search Invalid Pattern Given

    Stack Overflow | 7 months ago | LP45
    org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: invalid pattern given 127.0.0.1/
  2. 0

    Cannot index a child type using saveJsonToEs as resource string contains "?parent=" routing

    GitHub | 4 months ago | ipande
    org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: Cannot specify a query in the target index AND through es.query

  1. tyson925 4 times, last 1 month ago
1 unregistered visitors

Root Cause Analysis

  1. org.elasticsearch.hadoop.EsHadoopIllegalArgumentException

    invalid pattern given 127.0.0.1/

    at org.elasticsearch.hadoop.util.Assert.isTrue()
  2. Elasticsearch Hadoop
    RestService.createWriter
    1. org.elasticsearch.hadoop.util.Assert.isTrue(Assert.java:50)
    2. org.elasticsearch.hadoop.serialization.field.AbstractIndexExtractor.compile(AbstractIndexExtractor.java:51)
    3. org.elasticsearch.hadoop.rest.RestService.createWriter(RestService.java:398)
    3 frames
  3. Elasticsearch Spark
    EsSpark$$anonfun$saveToEs$1.apply
    1. org.elasticsearch.spark.rdd.EsRDDWriter.write(EsRDDWriter.scala:40)
    2. org.elasticsearch.spark.rdd.EsSpark$$anonfun$saveToEs$1.apply(EsSpark.scala:67)
    3. org.elasticsearch.spark.rdd.EsSpark$$anonfun$saveToEs$1.apply(EsSpark.scala:67)
    3 frames
  4. Spark
    Executor$TaskRunner.run
    1. org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:66)
    2. org.apache.spark.scheduler.Task.run(Task.scala:89)
    3. org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:214)
    3 frames