I am working on ETL job where target to load data to elasticsearch, I am facing an error when trying to index document
org.elasticsearch.hadoop.rest.EsHadoopRemoteException: illegal_argument_exception: value for key [X-Opaque-Id] already present
I was making an index request,
StackTrace:
org.elasticsearch.hadoop.rest.EsHadoopRemoteException: illegal_argument_exception: value for key [X-Opaque-Id] already present
{"index":{"_id"::123"}}
{"id":"123", "name":"abc"}
We are using open source version of Elasticsearch hosted on private cloud.
I could see that X-Opaque-id header was added in 7.16.0 version.
To resolve the issue I downgraded the ES spark SDK
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.