we see this peculiar issue when loading data through es-hadoop connector
es version we use 7.11.2
jars added, we see the same behavior when the jar path is either local or hdfs
elasticsearch-hadoop-7.11.2.jar;
commons-httpclient-3.0.1.jar;
The below sequence of operation does not work
- Connect to beeline
- Add elastic search jar and http client jar
- Run insert statement ----> fails with unable to authenticate user [******] for REST request [/]
The below sequence of operation works every time
- Connect to beeline
- Run insert statement ---->fails with Error in loading storage handler.org.elasticsearch.hadoop.hive.EsStorageHandler
- Add elastic search jar and http client jar
- Rerun insert statement ---> success
The first sequence of operations works fine in hive cli.
Has anyone faced this, any suggestion experts?