Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

create external table in hive to elastic search failed

create external table in hive to elastic search failed

New Contributor

hello friends i am try create external table use store in elastic search. after add jar then i try create external table show error like :

 

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: MetaException(message:java.lang.NoClassDefFoundError org/apache/commons/httpclient/protocol/ProtocolSocketFactory)
INFO : Completed executing command(queryId=hive_20200420170758_a1563bca-8874-4bac-a850-7e62f6ea37a5); Time taken: 0.015 seconds
Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: MetaException(message:java.lang.NoClassDefFoundError org/apache/commons/httpclient/protocol/ProtocolSocketFactory) (state=08S01,code=1)
0: jdbc:hive2:/localhost:10000/>

 

please help me

Don't have an account?
Coming from Hortonworks? Activate your account here