Pig, mail # user - Unable to store data using HCatStorer - 2014-05-29, 17:05
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
-
Unable to store data using HCatStorer
Hi All,

I am trying to load data in hive from Pig using HCatLoader but getting
following error

grunt> describe D;
D: {group: chararray,{(cust_id: int)},{(first_name:
chararray)},{(last_name: chararray)},{(age: int)}}

grunt> store D into 'pig_cust' using org.apache.hcatalog.pig.HCatStorer();
2014-05-29 11:56:02,577 [main] INFO
org.apache.pig.tools.pigstats.ScriptState - Pig features used in the
script: GROUP_BY
2014-05-29 11:56:03,467 [main] ERROR org.apache.pig.tools.grunt.Grunt -
ERROR 1115: Column name for a field is not specified. Please provide the
full schema as an argument to HCatStorer.
Details at logfile: /home/user/pig_1401377697100.log

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB