You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Daniel Dai (JIRA)" <ji...@apache.org> on 2012/10/08 08:48:04 UTC

[jira] [Created] (PIG-2954) TestParamSubPreproc still depends on "bash" to run

Daniel Dai created PIG-2954:
-------------------------------

             Summary:  TestParamSubPreproc still depends on "bash" to run 
                 Key: PIG-2954
                 URL: https://issues.apache.org/jira/browse/PIG-2954
             Project: Pig
          Issue Type: Sub-task
            Reporter: Daniel Dai
            Assignee: Daniel Dai
             Fix For: 0.11
         Attachments: PIG-2954-1.patch

If bash is not exist in path, there are 3 test failures.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PIG-2954) TestParamSubPreproc still depends on "bash" to run

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

Daniel Dai updated PIG-2954:
----------------------------

    Component/s:     (was: parser)
                     (was: grunt)
                     (was: tools)
    
>  TestParamSubPreproc still depends on "bash" to run 
> ----------------------------------------------------
>
>                 Key: PIG-2954
>                 URL: https://issues.apache.org/jira/browse/PIG-2954
>             Project: Pig
>          Issue Type: Sub-task
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.11
>
>         Attachments: PIG-2954-1.patch
>
>
> If bash is not exist in path, there are 3 test failures.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PIG-2954) TestParamSubPreproc still depends on "bash" to run

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

Alan Gates updated PIG-2954:
----------------------------

    Status: Open  (was: Patch Available)

This patch works fine on Linux.  But when I run it on Windows it causes TestParamSubPreproc to have 4 errors.  Without the patch TestParamSubPreproc passes on Windows.  Three of the tests fail with:

{code}
Got error : Parameter substitution for a command with shell command failed. Expected : aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/20080228' using PigStorage('\x01'); , but got : aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/20080228 in line num : 5 expected:<...' using PigStorage('\x01');> but was:<...>^M
junit.framework.AssertionFailedError: Got error : Parameter substitution for a command with shell command failed. Expected : aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/20080228' using PigStorage('\x01'); , but got : aa = load '/data/intermediate/pow/elcarobootstrap/account/full/weekly/data/20080228 in line num : 5 expected:<...' using PigStorage('\x01');> but was:<...>^M
        at org.apache.pig.test.TestParamSubPreproc.testCmdnameAsParamDeclare(TestParamSubPreproc.java:448)^M
{code}

One of the failures is:
{code}
Got RuntimeException : Error executing shell command: perl -e "print qq@20080228
20070101@" | head -n 1. Command exit with exit code of 255^M
junit.framework.AssertionFailedError: Got RuntimeException : Error executing shell command: perl -e "print qq@20080228^M
20070101@" | head -n 1. Command exit with exit code of 255^M
        at org.apache.pig.test.TestParamSubPreproc.testCmdlineParamWithInlineCmd(TestParamSubPreproc.java:1238)^M
{code}
                
>  TestParamSubPreproc still depends on "bash" to run 
> ----------------------------------------------------
>
>                 Key: PIG-2954
>                 URL: https://issues.apache.org/jira/browse/PIG-2954
>             Project: Pig
>          Issue Type: Sub-task
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.11
>
>         Attachments: PIG-2954-1.patch, PIG-2954-2.patch
>
>
> If bash is not exist in path, there are 3 test failures.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PIG-2954) TestParamSubPreproc still depends on "bash" to run

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

Daniel Dai updated PIG-2954:
----------------------------

    Status: Patch Available  (was: Open)
    
>  TestParamSubPreproc still depends on "bash" to run 
> ----------------------------------------------------
>
>                 Key: PIG-2954
>                 URL: https://issues.apache.org/jira/browse/PIG-2954
>             Project: Pig
>          Issue Type: Sub-task
>          Components: grunt, parser, tools
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.11
>
>         Attachments: PIG-2954-1.patch
>
>
> If bash is not exist in path, there are 3 test failures.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PIG-2954) TestParamSubPreproc still depends on "bash" to run

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

Daniel Dai updated PIG-2954:
----------------------------

    Attachment: PIG-2954-2.patch

Include a missing file.
                
>  TestParamSubPreproc still depends on "bash" to run 
> ----------------------------------------------------
>
>                 Key: PIG-2954
>                 URL: https://issues.apache.org/jira/browse/PIG-2954
>             Project: Pig
>          Issue Type: Sub-task
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.11
>
>         Attachments: PIG-2954-1.patch, PIG-2954-2.patch
>
>
> If bash is not exist in path, there are 3 test failures.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (PIG-2954) TestParamSubPreproc still depends on "bash" to run

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

Daniel Dai updated PIG-2954:
----------------------------

    Attachment: PIG-2954-1.patch
    
>  TestParamSubPreproc still depends on "bash" to run 
> ----------------------------------------------------
>
>                 Key: PIG-2954
>                 URL: https://issues.apache.org/jira/browse/PIG-2954
>             Project: Pig
>          Issue Type: Sub-task
>          Components: grunt, parser, tools
>            Reporter: Daniel Dai
>            Assignee: Daniel Dai
>             Fix For: 0.11
>
>         Attachments: PIG-2954-1.patch
>
>
> If bash is not exist in path, there are 3 test failures.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira