HI David,

did you find any fix for this issue, I am also facing the same problem.

Thanks
- Atul

On Tuesday, July 8, 2014 8:37:09 AM UTC-7, David Zabner wrote:
>
> Hi all,
>
> I am trying to write data to elastic search from hive and whenever I try I 
> get this error:
>
> org.elasticsearch.hadoop.EsHadoopIllegalArgumentException: No resource 
> ['es.resource'] (index/query/location) specified
>
>
> The script I am running looks like this:
>
> USE pl_10;
>
> ADD jar /home/hdfs/sql-tests/schema/elasticsearch-hadoop-2.0.0.jar;
>
> CREATE EXTERNAL TABLE IF NOT EXISTS REGIONES (
>
>         R_REGIONKEY  INT,
>
>     R_NAME       STRING,
>
>     R_COMMENT    STRING
>
> ) ROW FORMAT DELIMITED FIELDS TERMINATED BY '|'
>
> STORED by 'org.elasticsearch.hadoop.hive.EsStorageHandler'
>
> TBLPROPERTIES('es.resource'='radio/artists',
>
> 'es.nodes'='elastic-1');
>
> INSERT OVERWRITE TABLE REGIONES select R_REGIONKEY, R_NAME, R_COMMENT from 
> REGION;
>
>
> Any help would be much appreciated
>

-- 
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 protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/elasticsearch/54cced44-4f87-4569-923f-30e406ddb79c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to