Another option is to use -Dmapred.job.name=whatever on the command line. 2011/5/26 <[email protected]>
> Thanks Eric and Mark. > > Now I see that job.name is documented in > http://pig.apache.org/docs/r0.8.1/piglatin_ref2.html#set (duh). It also > says there "All Pig and Hadoop properties can be set." > > Trying to figure out what exactly those properties are (is there a list > someplace?) I looked at my job configuration at > > http://myserver:50030/jobconf.jsp?jobid=job_2011999999_9999 > > where I now see 'mapred.job.name' --> PigLatin:hello > > after I set job.name to 'hello'. > > But > SET mapred.job.name hello > doesn't seem to have any effect at all. > > So I am confused about which properties I can set, and how to refer to > them. Is there a doc or wiki page someplace that explains this to a > pig/hadoop novice? > > Thanks again for your help. > > William F Dowling > > -----Original Message----- > From: Mark Laczin [mailto:[email protected]] > Sent: Thursday, May 26, 2011 2:23 PM > To: [email protected] > Subject: Re: Set visible name of a running pig job > > This will work but will (in .80 at least) change only the part of the > job name that's not 'PigLatin:'. > > That is, if you use job.name 'hello' in a script named test.pig > You end up with a full name of: > > PigLatin:hello > > Instead of PigLatin:test.pig > > Just FYI. > > On Thu, May 26, 2011 at 2:15 PM, Eric Gaudet <[email protected]> wrote: > > At the beginning of your script, use: > > > > SET job.name 'this is my alternative name'; > > > > You can also use parameters like $PARAM in the name. > > > > EG > > > > On 05/26/2011 11:04 AM, [email protected] wrote: > >> > >> When I run a pig job the hadoop job tracker gui (the one on port 50030) > >> shows ‘PigLatin:myscript.pig’ as the name of the job. How can I > configure > >> that to show a different name than the name of the script? > >> > >> Thanks in advance, > >> > >> Will > >> > >> William F Dowling > >> > >> > >> > > >
