Pig, mail # user - Re: Pass user configurations/arguments to UDF - 2014-04-10, 07:49
Solr & Elasticsearch trainings in New York & San Francisco [more info][hide]
 Search Hadoop and all its subprojects:

Switch to Threaded View
Copy link to this message
Re: Pass user configurations/arguments to UDF
You can get the job configuration in your UDF through this function.
JobConf conf = UDFContext.getInstance().getJobConf();

Any job parameters that you pass in the job, should be available in conf.
On Thu, Apr 10, 2014 at 12:02 PM, Patcharee Thongtra <
Abhishek Agarwal

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