You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Alan Gates (Created) (JIRA)" <ji...@apache.org> on 2011/11/04 22:57:51 UTC

[jira] [Created] (PIG-2352) e2e test harness' use of environment variables causes unintended effects between tests

e2e test harness' use of environment variables causes unintended effects between tests
--------------------------------------------------------------------------------------

                 Key: PIG-2352
                 URL: https://issues.apache.org/jira/browse/PIG-2352
             Project: Pig
          Issue Type: Bug
          Components: site
    Affects Versions: 0.9.1
            Reporter: Alan Gates
            Assignee: Alan Gates
             Fix For: 0.10, 0.11


If you run the new Bloom tests by themselves they pass.  If you run them after running the Accumulator tests they fail.  The accumulator tests set the java parameters, including turning off the combiner.  These properties are then kept set for the Bloom tests, which causes them to fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PIG-2352) e2e test harness' use of environment variables causes unintended effects between tests

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

Alan Gates commented on PIG-2352:
---------------------------------

The issue is that the java parameters are stored in an environment variable, PIG_OPTS.  This is not being unset when a new test is ran.
                
> e2e test harness' use of environment variables causes unintended effects between tests
> --------------------------------------------------------------------------------------
>
>                 Key: PIG-2352
>                 URL: https://issues.apache.org/jira/browse/PIG-2352
>             Project: Pig
>          Issue Type: Bug
>          Components: site
>    Affects Versions: 0.9.1
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>             Fix For: 0.10, 0.11
>
>
> If you run the new Bloom tests by themselves they pass.  If you run them after running the Accumulator tests they fail.  The accumulator tests set the java parameters, including turning off the combiner.  These properties are then kept set for the Bloom tests, which causes them to fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PIG-2352) e2e test harness' use of environment variables causes unintended effects between tests

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

Alan Gates updated PIG-2352:
----------------------------

    Attachment: PIG-2352.patch

I did cheat a bit.  This patch also adds an hdfs temp path to the test harness so we don't have to worry about whether the bloom filters are already existing in HDFS.
                
> e2e test harness' use of environment variables causes unintended effects between tests
> --------------------------------------------------------------------------------------
>
>                 Key: PIG-2352
>                 URL: https://issues.apache.org/jira/browse/PIG-2352
>             Project: Pig
>          Issue Type: Bug
>          Components: site
>    Affects Versions: 0.9.1
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>             Fix For: 0.10, 0.11
>
>         Attachments: PIG-2352.patch
>
>
> If you run the new Bloom tests by themselves they pass.  If you run them after running the Accumulator tests they fail.  The accumulator tests set the java parameters, including turning off the combiner.  These properties are then kept set for the Bloom tests, which causes them to fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Commented] (PIG-2352) e2e test harness' use of environment variables causes unintended effects between tests

Posted by "Daniel Dai (Commented) (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-2352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13145690#comment-13145690 ] 

Daniel Dai commented on PIG-2352:
---------------------------------

+1
                
> e2e test harness' use of environment variables causes unintended effects between tests
> --------------------------------------------------------------------------------------
>
>                 Key: PIG-2352
>                 URL: https://issues.apache.org/jira/browse/PIG-2352
>             Project: Pig
>          Issue Type: Bug
>          Components: site
>    Affects Versions: 0.9.1
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>             Fix For: 0.10, 0.11
>
>         Attachments: PIG-2352.patch
>
>
> If you run the new Bloom tests by themselves they pass.  If you run them after running the Accumulator tests they fail.  The accumulator tests set the java parameters, including turning off the combiner.  These properties are then kept set for the Bloom tests, which causes them to fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PIG-2352) e2e test harness' use of environment variables causes unintended effects between tests

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

Alan Gates updated PIG-2352:
----------------------------

    Status: Patch Available  (was: Open)
    
> e2e test harness' use of environment variables causes unintended effects between tests
> --------------------------------------------------------------------------------------
>
>                 Key: PIG-2352
>                 URL: https://issues.apache.org/jira/browse/PIG-2352
>             Project: Pig
>          Issue Type: Bug
>          Components: site
>    Affects Versions: 0.9.1
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>             Fix For: 0.10, 0.11
>
>         Attachments: PIG-2352.patch
>
>
> If you run the new Bloom tests by themselves they pass.  If you run them after running the Accumulator tests they fail.  The accumulator tests set the java parameters, including turning off the combiner.  These properties are then kept set for the Bloom tests, which causes them to fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (PIG-2352) e2e test harness' use of environment variables causes unintended effects between tests

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

Alan Gates updated PIG-2352:
----------------------------

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

Patch checked into both 0.10 and trunk.
                
> e2e test harness' use of environment variables causes unintended effects between tests
> --------------------------------------------------------------------------------------
>
>                 Key: PIG-2352
>                 URL: https://issues.apache.org/jira/browse/PIG-2352
>             Project: Pig
>          Issue Type: Bug
>          Components: site
>    Affects Versions: 0.9.1
>            Reporter: Alan Gates
>            Assignee: Alan Gates
>             Fix For: 0.10, 0.11
>
>         Attachments: PIG-2352.patch
>
>
> If you run the new Bloom tests by themselves they pass.  If you run them after running the Accumulator tests they fail.  The accumulator tests set the java parameters, including turning off the combiner.  These properties are then kept set for the Bloom tests, which causes them to fail.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira