Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig, mail # user - Unable to store data using HCatStorer

Copy link to this message
Unable to store data using HCatStorer
Rahul Channe 2014-05-29, 17:05
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