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 Plain View
Pig >> mail # user >> how to define delimite in hadoop pig stream through


Copy link to this message
-
how to define delimite in hadoop pig stream through
hi all
how to define delimite in hadoop pig  stream through?
Code is as follows
define X `actionList.py`ship('/proxy/macid2uid/actionList.py')  us
ing PigStorage(',');
schemeData = stream rawLog through  X  as (platForm, mac,uid);

The Exception
java.lang.ClassCastException: org.apache.pig.builtin.PigStorage cannot be
cast to org.apache.pig.PigToStream

thx
--
[EMAIL PROTECTED]|齐忠
+
Cheolsoo Park 2013-01-08, 21:09
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