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

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

org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: No class name given
at org.elasticsearch.hadoop.util.Assert.hasText(Assert.java:30)
at org.elasticsearch.hadoop.util.ObjectUtils.instantiate(ObjectUtils.java:32)
at org.elasticsearch.hadoop.util.ObjectUtils.instantiate(ObjectUtils.java:52)
at org.elasticsearch.hadoop.util.ObjectUtils.instantiate(ObjectUtils.java:48)
at org.elasticsearch.hadoop.serialization.bulk.AbstractBulkFactory.initExtractorsFromSettings(AbstractBulkFactory.java:198)
at org.elasticsearch.hadoop.serialization.bulk.AbstractBulkFactory.(AbstractBulkFactory.java:174)
at org.elasticsearch.hadoop.serialization.bulk.IndexBulkFactory.(IndexBulkFactory.java:27)
at org.elasticsearch.hadoop.serialization.bulk.BulkCommands.create(BulkCommands.java:39)
at org.elasticsearch.hadoop.rest.RestRepository.lazyInitWriting(RestRepository.java:130)
at org.elasticsearch.hadoop.rest.RestRepository.writeProcessedToIndex(RestRepository.java:174)
at org.elasticsearch.spark.sql.ElasticsearchRelation.insert(DefaultSource.scala:481)
at org.apache.spark.sql.execution.datasources.ResolvedDataSource$.apply(ResolvedDataSource.scala:222)
at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:148)
at org.apache.spark.sql.DataFrameWriter.save(DataFrameWriter.scala:139)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

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