Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Pig, mail # user - Setting pig job name


+
Jeff Yuan 2013-04-15, 23:25
+
Prashant Kommireddi 2013-04-15, 23:27
Copy link to this message
-
Re: Setting pig job name
Bill Graham 2013-04-16, 00:50
You can do this in your script as well:

SET job.name 'my job';
On Mon, Apr 15, 2013 at 4:27 PM, Prashant Kommireddi <[EMAIL PROTECTED]>wrote:

> You can use
>
> http://pig.apache.org/docs/r0.11.1/api/org/apache/pig/PigServer.html#setJobName(java.lang.String)
>
> Sent from my iPhone
>
> On Apr 15, 2013, at 4:25 PM, Jeff Yuan <[EMAIL PROTECTED]> wrote:
>
> Hi guys,
>
> This is probably just a quick answer, but how do I set the pig job
> name? I'm generating Pig jobs in Java, and each job has the name
> "PigLatin:DefaultJobName" in the hadoop tracker. How can I change it?
> Or is there an easy way to generate a more useful name (in Hive, the
> default job name is based on the actual query)?
>
> Thanks,
> Jeff
>
+
Dmitriy Ryaboy 2013-04-20, 20:59