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 Threaded View
Pig >> mail # user >> Python with embbeded pig access to params


Copy link to this message
-
Python with embbeded pig access to params
Hi, is there a way to get access to the params passed with the pig command
in the python code?

pig -p param1=val1 -param_file=filepath script.py
Based on this: https://issues.apache.org/jira/browse/PIG-2165 I know that
those params will be automatically bound.
Is there a way access those parameters from within the python code?

--
regards,
pozdrawiam,
Jakub Glapa
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