Hi Rohini,

Thanks. But I couldn't find any property such as pig.script in my current
Pig version i.e pig 0.12 , the closest I could find is pig.script.id , if
not the pig script , is there a way for me to fingerprint every pig script
that is run on the system i.e YARN ? In other words I would like to find
out recurrent pig job executions provided it is the same code that is
executing. I guess I have to match it by retrieving the Abstract Syntax
tree but not very sure.

Regards

Harish
On 5/27/2016 11:09 PM, Rohini Palaniswamy wrote:

You can find the pig script in pig.script setting. It is base64 encoded and
you will have to decode it. If the script is too long, it will be truncated
to 10K lines.

Regards,
Rohini

On Tue, May 10, 2016 at 7:27 AM, Harish Gopalan
<harishgopala...@gmail.com> <harishgopala...@gmail.com>
wrote:


Hi,

Is it possible to retrieve the original pig script from the MR job
configuration similar to hive i.e hive.query.string.

I tried to deserialize pig.pigContext value from the MR job configuration
but couldn't get it ?

Please advise.

Regards
Harish

Reply via email to