Hi, M G:
for input data
John    Banking 20000
Jane    Banking 35000
Chen    Real Estate     30000
Hari    Real Estate     22000
Asha    Technology      26000
a = load '/var/lib/jenkins/income' as (name:chararray, industry:chararray,
income:int);
b = rank a by income;
c = group b by industry;
d = foreach c generate flatten(b);
dump d;

output is:
(1,John,Banking,20000)
(5,Jane,Banking,35000)
(3,Asha,Technology,26000)
(2,Hari,Real Estate,22000)
(4,Chen,Real Estate,30000)

Johnny
On Mon, Apr 15, 2013 at 1:25 PM, M G <[EMAIL PROTECTED]> wrote:
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