I am trying to index data from hive table to elasticsearch and and using
the latest elasticsearch-hadoop-master plugin.
My elasticsearch version is 0.90.9 and hive version is hive-0.11.0.
As per the documentation of elasticsearch-hadoop plugin (hive integration),
I successfully created an external table with the below command
CREATE EXTERNAL TABLE es_products (sku int,rating float,name string,type
string,saleprice float,department string,manufacturer string,userid
string,category_name string,query string) STORED BY
Even though the external table is created
I am not able to either insert data or even query the external table.
When I do a select * from es_products;
I get the below exception.
hive> select * from es_products;
Failed with exception
java.io.IOException:java.lang.StringIndexOutOfBoundsException: String index
out of range: -1
Time taken: 1.699 seconds
Can someone please suggest what / where I am wrong!
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/dd63310c-dc07-4dc6-9354-69051a05da3f%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.