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 >> Re: pig:-storage problem


Copy link to this message
-
Re: pig:-storage problem
Bouncing this to pig user, where your more likely to get an answer.  Could you share your Pig Latin script.  It will make it easier to diagnose.

Alan.

On Jun 7, 2012, at 9:54 PM, avnish pundir wrote:

> hi everyone,
>  
> I've to generate sequence number for my data in pig.I'm using RANDOM() function to generate it.I'm storing the random no value to some alias.But if I'm using this alias further in my pig script,it again creating some other random values for that alias.At last I'm storing the first random no generated value to HDFS then loading it to my script.It causing two extra steps in my script.Plz suggest some solutions to it .Is there any other way to generate sequence no for my data....?
>  
> thanks
>  
>  
> Avnish pundir
+
Alex Rovner 2012-06-12, 23:00
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