org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: No class name given

GitHub | eliasah | 6 months 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.

Root Cause Analysis

  1. org.elasticsearch.hadoop.EsHadoopIllegalArgumentException

    No class name given

    at org.elasticsearch.hadoop.util.Assert.hasText()
  2. Elasticsearch Hadoop
    RestRepository.delete
    1. org.elasticsearch.hadoop.util.Assert.hasText(Assert.java:30)
    2. org.elasticsearch.hadoop.util.ObjectUtils.instantiate(ObjectUtils.java:32)
    3. org.elasticsearch.hadoop.util.ObjectUtils.instantiate(ObjectUtils.java:52)
    4. org.elasticsearch.hadoop.util.ObjectUtils.instantiate(ObjectUtils.java:48)
    5. org.elasticsearch.hadoop.serialization.bulk.AbstractBulkFactory.initExtractorsFromSettings(AbstractBulkFactory.java:198)
    6. org.elasticsearch.hadoop.serialization.bulk.AbstractBulkFactory.<init>(AbstractBulkFactory.java:174)
    7. org.elasticsearch.hadoop.serialization.bulk.IndexBulkFactory.<init>(IndexBulkFactory.java:27)
    8. org.elasticsearch.hadoop.serialization.bulk.BulkCommands.create(BulkCommands.java:39)
    9. org.elasticsearch.hadoop.rest.RestRepository.lazyInitWriting(RestRepository.java:130)
    10. org.elasticsearch.hadoop.rest.RestRepository.writeProcessedToIndex(RestRepository.java:174)
    11. org.elasticsearch.hadoop.rest.RestRepository.delete(RestRepository.java:549)
    11 frames
  3. Elasticsearch Spark
    DefaultSource.createRelation
    1. org.elasticsearch.spark.sql.ElasticsearchRelation.insert(DefaultSource.scala:481)
    2. org.elasticsearch.spark.sql.DefaultSource.createRelation(DefaultSource.scala:76)
    2 frames
  4. org.apache.spark
    ResolvedDataSource$.apply
    1. org.apache.spark.sql.execution.datasources.ResolvedDataSource$.apply(ResolvedDataSource.scala:222)
    1 frame
  5. Spark Project SQL
    DataFrameWriter.save
    1. org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:148)
    2. org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:139)
    2 frames