Home | About | Sematext search-lucene.com search-hadoop.com
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
 Search Hadoop and all its subprojects:

Switch to Threaded View
Pig >> mail # user >> Storing field in a bag


Copy link to this message
-
Storing field in a bag
I am trying to store field in a bag command but it fails with

 store b.page into '/flume_vol/flume/input/page.dat';
store b.network into '/flume_vol/flume/input/network.dat';

B: {b: {(page: chararray,network: chararray,sysinfo:
chararray,trafficsource: chararray,search: chararray)}}
2012-09-10 10:45:54,293 [main] ERROR org.apache.pig.tools.grunt.Grunt -
ERROR 1200: <file script5_snappy.pig, line 24, column 7>  mismatched input
'.' expecting INTO
Details at logfile: /root/.mohit/pigtest/pig_1347299107910.log

--

Can I do this without using foreach?
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