You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Vadim Zaliva (JIRA)" <ji...@apache.org> on 2009/02/28 03:33:12 UTC

[jira] Created: (PIG-692) when running script file, automatically set up job name based on the file name

when running script file, automatically set up job name based on the file name
------------------------------------------------------------------------------

                 Key: PIG-692
                 URL: https://issues.apache.org/jira/browse/PIG-692
             Project: Pig
          Issue Type: Improvement
          Components: tools
    Affects Versions: types_branch
            Reporter: Vadim Zaliva
            Priority: Trivial
             Fix For: types_branch
         Attachments: pig-job-name.patch

When running pig script from command like like this:

pig scriptfile

right now default job name is used. it is convenient to have it automatically set up based on the script name.



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


[jira] Resolved: (PIG-692) when running script file, automatically set up job name based on the file name

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

Alan Gates resolved PIG-692.
----------------------------

    Resolution: Fixed

Patch checked in.  Thanks Vadim for the contribution.

> when running script file, automatically set up job name based on the file name
> ------------------------------------------------------------------------------
>
>                 Key: PIG-692
>                 URL: https://issues.apache.org/jira/browse/PIG-692
>             Project: Pig
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: types_branch
>            Reporter: Vadim Zaliva
>            Priority: Trivial
>             Fix For: types_branch
>
>         Attachments: pig-job-name.patch
>
>
> When running pig script from command like like this:
> pig scriptfile
> right now default job name is used. it is convenient to have it automatically set up based on the script name.

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


[jira] Assigned: (PIG-692) when running script file, automatically set up job name based on the file name

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

Alan Gates reassigned PIG-692:
------------------------------

    Assignee: Vadim Zaliva

> when running script file, automatically set up job name based on the file name
> ------------------------------------------------------------------------------
>
>                 Key: PIG-692
>                 URL: https://issues.apache.org/jira/browse/PIG-692
>             Project: Pig
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: 0.2.0
>            Reporter: Vadim Zaliva
>            Assignee: Vadim Zaliva
>            Priority: Trivial
>             Fix For: 0.2.0
>
>         Attachments: pig-job-name.patch
>
>
> When running pig script from command like like this:
> pig scriptfile
> right now default job name is used. it is convenient to have it automatically set up based on the script name.

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


[jira] Commented: (PIG-692) when running script file, automatically set up job name based on the file name

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

Alan Gates commented on PIG-692:
--------------------------------

If you set a name via set job.name 'foo' in your script, then it overrides this feature.  

The name is chosen from the Pig Latin script file, not the store file, so multi-store case won't be any different.

> when running script file, automatically set up job name based on the file name
> ------------------------------------------------------------------------------
>
>                 Key: PIG-692
>                 URL: https://issues.apache.org/jira/browse/PIG-692
>             Project: Pig
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: types_branch
>            Reporter: Vadim Zaliva
>            Priority: Trivial
>             Fix For: types_branch
>
>         Attachments: pig-job-name.patch
>
>
> When running pig script from command like like this:
> pig scriptfile
> right now default job name is used. it is convenient to have it automatically set up based on the script name.

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


[jira] Updated: (PIG-692) when running script file, automatically set up job name based on the file name

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

Vadim Zaliva updated PIG-692:
-----------------------------

    Attachment: pig-job-name.patch

patch

> when running script file, automatically set up job name based on the file name
> ------------------------------------------------------------------------------
>
>                 Key: PIG-692
>                 URL: https://issues.apache.org/jira/browse/PIG-692
>             Project: Pig
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: types_branch
>            Reporter: Vadim Zaliva
>            Priority: Trivial
>             Fix For: types_branch
>
>         Attachments: pig-job-name.patch
>
>
> When running pig script from command like like this:
> pig scriptfile
> right now default job name is used. it is convenient to have it automatically set up based on the script name.

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


[jira] Commented: (PIG-692) when running script file, automatically set up job name based on the file name

Posted by "Pradeep Kamath (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-692?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12678458#action_12678458 ] 

Pradeep Kamath commented on PIG-692:
------------------------------------

+1 for the change

> when running script file, automatically set up job name based on the file name
> ------------------------------------------------------------------------------
>
>                 Key: PIG-692
>                 URL: https://issues.apache.org/jira/browse/PIG-692
>             Project: Pig
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: types_branch
>            Reporter: Vadim Zaliva
>            Priority: Trivial
>             Fix For: types_branch
>
>         Attachments: pig-job-name.patch
>
>
> When running pig script from command like like this:
> pig scriptfile
> right now default job name is used. it is convenient to have it automatically set up based on the script name.

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


[jira] Commented: (PIG-692) when running script file, automatically set up job name based on the file name

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

Alan Gates commented on PIG-692:
--------------------------------

I'm reviewing this script.  

> when running script file, automatically set up job name based on the file name
> ------------------------------------------------------------------------------
>
>                 Key: PIG-692
>                 URL: https://issues.apache.org/jira/browse/PIG-692
>             Project: Pig
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: types_branch
>            Reporter: Vadim Zaliva
>            Priority: Trivial
>             Fix For: types_branch
>
>         Attachments: pig-job-name.patch
>
>
> When running pig script from command like like this:
> pig scriptfile
> right now default job name is used. it is convenient to have it automatically set up based on the script name.

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


[jira] Commented: (PIG-692) when running script file, automatically set up job name based on the file name

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

Alan Gates commented on PIG-692:
--------------------------------

Looks good, passes unit and checkin tests.  IMO this is large improvement over putting DefaultJobName in the job name.  Any other thoughts from other committers before I commit this?

> when running script file, automatically set up job name based on the file name
> ------------------------------------------------------------------------------
>
>                 Key: PIG-692
>                 URL: https://issues.apache.org/jira/browse/PIG-692
>             Project: Pig
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: types_branch
>            Reporter: Vadim Zaliva
>            Priority: Trivial
>             Fix For: types_branch
>
>         Attachments: pig-job-name.patch
>
>
> When running pig script from command like like this:
> pig scriptfile
> right now default job name is used. it is convenient to have it automatically set up based on the script name.

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


[jira] Commented: (PIG-692) when running script file, automatically set up job name based on the file name

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

Olga Natkovich commented on PIG-692:
------------------------------------

+1 as long as it still allows me to set my own name.

Also what will happen in the multi-store case?

> when running script file, automatically set up job name based on the file name
> ------------------------------------------------------------------------------
>
>                 Key: PIG-692
>                 URL: https://issues.apache.org/jira/browse/PIG-692
>             Project: Pig
>          Issue Type: Improvement
>          Components: tools
>    Affects Versions: types_branch
>            Reporter: Vadim Zaliva
>            Priority: Trivial
>             Fix For: types_branch
>
>         Attachments: pig-job-name.patch
>
>
> When running pig script from command like like this:
> pig scriptfile
> right now default job name is used. it is convenient to have it automatically set up based on the script name.

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