You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Yiping Han (JIRA)" <ji...@apache.org> on 2008/08/13 02:17:44 UTC

[jira] Created: (PIG-376) SET job.name does not work

SET job.name does not work
--------------------------

                 Key: PIG-376
                 URL: https://issues.apache.org/jira/browse/PIG-376
             Project: Pig
          Issue Type: Bug
          Components: grunt
    Affects Versions: types_branch
            Reporter: Yiping Han


Put SET job.name there but the job name not changed.

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


[jira] Updated: (PIG-376) SET job.name does not work

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich updated PIG-376:
-------------------------------

    Status: Open  (was: Patch Available)

patch needs some changes

> SET job.name does not work
> --------------------------
>
>                 Key: PIG-376
>                 URL: https://issues.apache.org/jira/browse/PIG-376
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: types_branch
>            Reporter: Yiping Han
>            Priority: Minor
>             Fix For: types_branch
>
>         Attachments: PIG-376-patch
>
>
> Put SET job.name there but the job name not changed.

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


[jira] Commented: (PIG-376) SET job.name does not work

Posted by "Alan Gates (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635041#action_12635041 ] 

Alan Gates commented on PIG-376:
--------------------------------

"DefaultJobName" is a really unhelpful name.  Something like "PigJob" would be more useful on grids where people use pig plus other tools.  

The code looks fine.

> SET job.name does not work
> --------------------------
>
>                 Key: PIG-376
>                 URL: https://issues.apache.org/jira/browse/PIG-376
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: types_branch
>            Reporter: Yiping Han
>            Assignee: Olga Natkovich
>            Priority: Minor
>             Fix For: types_branch
>
>         Attachments: PIG-376-patch, PIG-376_2.patch
>
>
> Put SET job.name there but the job name not changed.

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


[jira] Commented: (PIG-376) SET job.name does not work

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12625555#action_12625555 ] 

Olga Natkovich commented on PIG-376:
------------------------------------

Just to clarify.

In the trunk code, running command

set job.name='foo'

 would result if the 'foo' being used as the name of MR job. apparently, we have lost this functionlity in types branch.

> SET job.name does not work
> --------------------------
>
>                 Key: PIG-376
>                 URL: https://issues.apache.org/jira/browse/PIG-376
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: types_branch
>            Reporter: Yiping Han
>            Priority: Minor
>             Fix For: types_branch
>
>
> Put SET job.name there but the job name not changed.

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


[jira] Commented: (PIG-376) SET job.name does not work

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631191#action_12631191 ] 

Olga Natkovich commented on PIG-376:
------------------------------------

I don't think the patch is quite right. 

I think you need to do the following:

(1) Make sure that default name is set in PigServer constructors. I can see that it is set in one but not in the other. You can look at PigServer in the trunk for comparison.
(2) Retrieve the value from the properties in PigContext and set them in JobConf in the JobControlCompiler. (It should be always set, you should never have to set it there.) Look at MapReduceLauncher.java in the trunk.

> SET job.name does not work
> --------------------------
>
>                 Key: PIG-376
>                 URL: https://issues.apache.org/jira/browse/PIG-376
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: types_branch
>            Reporter: Yiping Han
>            Priority: Minor
>             Fix For: types_branch
>
>         Attachments: PIG-376-patch
>
>
> Put SET job.name there but the job name not changed.

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


[jira] Updated: (PIG-376) SET job.name does not work

Posted by "Viraj Bhat (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Viraj Bhat updated PIG-376:
---------------------------

    Attachment: PIG-376-patch

Set the JobConf object with the jobname in the JobControlCompiler in getJobConf method. 
Populate the PigContext.JOB_NAME property during the initialization of the PigServer to set the default jobname to "PigLatin:DefaultJobName"

> SET job.name does not work
> --------------------------
>
>                 Key: PIG-376
>                 URL: https://issues.apache.org/jira/browse/PIG-376
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: types_branch
>            Reporter: Yiping Han
>            Priority: Minor
>             Fix For: types_branch
>
>         Attachments: PIG-376-patch
>
>
> Put SET job.name there but the job name not changed.

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


[jira] Assigned: (PIG-376) SET job.name does not work

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich reassigned PIG-376:
----------------------------------

    Assignee: Olga Natkovich

> SET job.name does not work
> --------------------------
>
>                 Key: PIG-376
>                 URL: https://issues.apache.org/jira/browse/PIG-376
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: types_branch
>            Reporter: Yiping Han
>            Assignee: Olga Natkovich
>            Priority: Minor
>             Fix For: types_branch
>
>         Attachments: PIG-376-patch
>
>
> Put SET job.name there but the job name not changed.

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


[jira] Updated: (PIG-376) SET job.name does not work

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich updated PIG-376:
-------------------------------

    Fix Version/s: types_branch

> SET job.name does not work
> --------------------------
>
>                 Key: PIG-376
>                 URL: https://issues.apache.org/jira/browse/PIG-376
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: types_branch
>            Reporter: Yiping Han
>             Fix For: types_branch
>
>
> Put SET job.name there but the job name not changed.

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


[jira] Updated: (PIG-376) SET job.name does not work

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich updated PIG-376:
-------------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

patch committed

> SET job.name does not work
> --------------------------
>
>                 Key: PIG-376
>                 URL: https://issues.apache.org/jira/browse/PIG-376
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: types_branch
>            Reporter: Yiping Han
>            Assignee: Olga Natkovich
>            Priority: Minor
>             Fix For: types_branch
>
>         Attachments: PIG-376-patch, PIG-376_2.patch
>
>
> Put SET job.name there but the job name not changed.

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


[jira] Updated: (PIG-376) SET job.name does not work

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich updated PIG-376:
-------------------------------

    Attachment: PIG-376_2.patch

> SET job.name does not work
> --------------------------
>
>                 Key: PIG-376
>                 URL: https://issues.apache.org/jira/browse/PIG-376
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: types_branch
>            Reporter: Yiping Han
>            Assignee: Olga Natkovich
>            Priority: Minor
>             Fix For: types_branch
>
>         Attachments: PIG-376-patch, PIG-376_2.patch
>
>
> Put SET job.name there but the job name not changed.

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


[jira] Updated: (PIG-376) SET job.name does not work

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich updated PIG-376:
-------------------------------

    Status: Patch Available  (was: Open)

> SET job.name does not work
> --------------------------
>
>                 Key: PIG-376
>                 URL: https://issues.apache.org/jira/browse/PIG-376
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: types_branch
>            Reporter: Yiping Han
>            Priority: Minor
>             Fix For: types_branch
>
>         Attachments: PIG-376-patch
>
>
> Put SET job.name there but the job name not changed.

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


[jira] Updated: (PIG-376) SET job.name does not work

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich updated PIG-376:
-------------------------------

    Priority: Minor  (was: Major)

> SET job.name does not work
> --------------------------
>
>                 Key: PIG-376
>                 URL: https://issues.apache.org/jira/browse/PIG-376
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: types_branch
>            Reporter: Yiping Han
>            Priority: Minor
>             Fix For: types_branch
>
>
> Put SET job.name there but the job name not changed.

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


[jira] Updated: (PIG-376) SET job.name does not work

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-376?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich updated PIG-376:
-------------------------------

    Status: Patch Available  (was: Open)

made a couple of changes to the original change:

(1) set default name for both PigServer constructors
(2) don't set default name when setting up JobConf - it should already be set

please, review

> SET job.name does not work
> --------------------------
>
>                 Key: PIG-376
>                 URL: https://issues.apache.org/jira/browse/PIG-376
>             Project: Pig
>          Issue Type: Bug
>          Components: grunt
>    Affects Versions: types_branch
>            Reporter: Yiping Han
>            Assignee: Olga Natkovich
>            Priority: Minor
>             Fix For: types_branch
>
>         Attachments: PIG-376-patch, PIG-376_2.patch
>
>
> Put SET job.name there but the job name not changed.

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