You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2010/01/27 19:45:34 UTC

[jira] Commented: (PIG-1124) Unable to set Custom Job Name using the -Dmapred.job.name parameter

    [ https://issues.apache.org/jira/browse/PIG-1124?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12805610#action_12805610 ] 

Ashutosh Chauhan commented on PIG-1124:
---------------------------------------

This seems to be related to PIG-1186 which is now fixed. Viraj can you try adding hadoop properties you wish to override in pig-cluster-hadoop-site.xml and then add that xml in the classpath. That should set hadoop properties of the job via Pig.

> Unable to set Custom Job Name using the -Dmapred.job.name parameter
> -------------------------------------------------------------------
>
>                 Key: PIG-1124
>                 URL: https://issues.apache.org/jira/browse/PIG-1124
>             Project: Pig
>          Issue Type: Bug
>          Components: impl
>    Affects Versions: 0.6.0
>            Reporter: Viraj Bhat
>            Priority: Minor
>             Fix For: 0.7.0
>
>
> As a Hadoop user I want to control the Job name for my analysis via the command line using the following construct::
> java -cp pig.jar:$HADOOP_HOME/conf -Dmapred.job.name=hadoop_junkie org.apache.pig.Main broken.pig
> -Dmapred.job.name should normally set my Hadoop Job name, but somehow during the formation of the job.xml in Pig this information is lost and the job name turns out to be:
> "PigLatin:broken.pig"
> The current workaround seems to be wiring it in the script itself, using the following ( or using parameter substitution).
> set job.name 'my job'
> Viraj

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.