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 >> Removing directory if counts match


Copy link to this message
-
Removing directory if counts match
Hell There,

I'm trying to create a pig scrip that performs a line count on two
different inputs and deletes one of them if they match up.

Is there any sort of pig or grunt syntax to say if (count1 == count2) rmr
/some/path/

Thanks,
Charlie
+
Jonathan Coveney 2012-10-04, 21:23
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