|
This post has NOT been accepted by the mailing list yet.
hadoop : 2.6.0
Hive : apache-hive-1.2.0-bin
Elasticsearch : 1.4.4
PATH enabled with variable HIVE_AUX_JARS_PATH also with hive-site.xml / hive-env.sh.
Jars : elasticsearch-hadoop-2.1.0.BUILD-20150604.023552-423.jar / elasticsearch-hadoop-1.3.0.M2.jar / elasticsearch-hadoop-1.3.0.M3.zip / elasticsearch-hadoop-2.0.2.jar /elasticsearch-hadoop-2.0.2.zip
Tried with all the available options but still getting the following error. Please help me.
hive> CREATE EXTERNAL TABLE wikitable (
> title string,
> redirect_page string )
> STORED BY 'org.elasticsearch.hadoop.hive.ESStorageHandler'
> TBLPROPERTIES('es.resource' = 'wikipedia_river/page/_search?q=*',
> 'es.host' = 'MongoDB-1.tcgsoftwareinc.com',
> 'es.port' = '9200');
FAILED: SemanticException Cannot find class 'org.elasticsearch.hadoop.hive.ESStorageHandler'
|