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

[jira] [Created] (PIG-2846) Can we skip hcat related e2e when hcat is not installed?

Koji Noguchi created PIG-2846:
---------------------------------

             Summary: Can we skip hcat related e2e when hcat is not installed?
                 Key: PIG-2846
                 URL: https://issues.apache.org/jira/browse/PIG-2846
             Project: Pig
          Issue Type: Test
            Reporter: Koji Noguchi
            Priority: Trivial


Trying pig e2e for the first time, I see couple of the tests (HCatDDL_1,HCatDDL_2 and Jython_Command_1) failing with 

bq. java.io.IOException: Cannot run program /usr/local/hcat/bin/hcat:
bq. java.io.IOException: error=2, No such file or directory

Is it ok to change the test_harness to skip these tests when hcat does not exist?


--
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-2846) Can we skip hcat related e2e when hcat is not installed?

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

Cheolsoo Park updated PIG-2846:
-------------------------------

    Issue Type: Sub-task  (was: Test)
        Parent: PIG-2972
    
> Can we skip hcat related e2e when hcat is not installed?
> --------------------------------------------------------
>
>                 Key: PIG-2846
>                 URL: https://issues.apache.org/jira/browse/PIG-2846
>             Project: Pig
>          Issue Type: Sub-task
>            Reporter: Koji Noguchi
>            Priority: Trivial
>         Attachments: pig-2846-trunk-v1.txt
>
>
> Trying pig e2e for the first time, I see couple of the tests (HCatDDL_1,HCatDDL_2 and Jython_Command_1) failing with 
> bq. java.io.IOException: Cannot run program /usr/local/hcat/bin/hcat:
> bq. java.io.IOException: error=2, No such file or directory
> Is it ok to change the test_harness to skip these tests when hcat does not exist?

--
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] [Commented] (PIG-2846) Can we skip hcat related e2e when hcat is not installed?

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

Koji Noguchi commented on PIG-2846:
-----------------------------------

Thanks Alan for taking a look at my patch!

bq.  I tried setting the HCAT_BIN environment variable to where I had HCat installed (which isn't /usr/local/hcat/bin) but that did not help.

Even without my patch, your HCAT_BIN is being ignored. Inside test/e2e/pig/build.xml, 
{noformat}
104   <condition property="hcat.bin" value="/usr/local/hcat/bin/hcat">
105     <not>
106       <isset property="hcat.bin"/>
107     </not>
108   </condition>
...
272       <env key="HCAT_BIN" value="${hcat.bin}"/>
{noformat}

I don't know why it's written this way but in order to test with a different path, please pass
{noformat}
ant test-e2e -Dhcat.bin=/custompath/hcat ...
{noformat}
                
> Can we skip hcat related e2e when hcat is not installed?
> --------------------------------------------------------
>
>                 Key: PIG-2846
>                 URL: https://issues.apache.org/jira/browse/PIG-2846
>             Project: Pig
>          Issue Type: Test
>            Reporter: Koji Noguchi
>            Priority: Trivial
>         Attachments: pig-2846-trunk-v1.txt
>
>
> Trying pig e2e for the first time, I see couple of the tests (HCatDDL_1,HCatDDL_2 and Jython_Command_1) failing with 
> bq. java.io.IOException: Cannot run program /usr/local/hcat/bin/hcat:
> bq. java.io.IOException: error=2, No such file or directory
> Is it ok to change the test_harness to skip these tests when hcat does not exist?

--
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] [Commented] (PIG-2846) Can we skip hcat related e2e when hcat is not installed?

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

Alan Gates commented on PIG-2846:
---------------------------------

Once I apply this patch it seems to skip these tests no matter what.  I tried setting the HCAT_BIN environment variable to where I had HCat installed (which isn't /usr/local/hcat/bin) but that did not help.  Can you add some instructions on how to use this?
                
> Can we skip hcat related e2e when hcat is not installed?
> --------------------------------------------------------
>
>                 Key: PIG-2846
>                 URL: https://issues.apache.org/jira/browse/PIG-2846
>             Project: Pig
>          Issue Type: Test
>            Reporter: Koji Noguchi
>            Priority: Trivial
>         Attachments: pig-2846-trunk-v1.txt
>
>
> Trying pig e2e for the first time, I see couple of the tests (HCatDDL_1,HCatDDL_2 and Jython_Command_1) failing with 
> bq. java.io.IOException: Cannot run program /usr/local/hcat/bin/hcat:
> bq. java.io.IOException: error=2, No such file or directory
> Is it ok to change the test_harness to skip these tests when hcat does not exist?

--
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-2846) Can we skip hcat related e2e when hcat is not installed?

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

Koji Noguchi updated PIG-2846:
------------------------------

    Attachment: pig-2846-trunk-v1.txt

Adding a flag 'ifhcat_exists' for e2e testcases that only work when hcat exists.
                
> Can we skip hcat related e2e when hcat is not installed?
> --------------------------------------------------------
>
>                 Key: PIG-2846
>                 URL: https://issues.apache.org/jira/browse/PIG-2846
>             Project: Pig
>          Issue Type: Test
>            Reporter: Koji Noguchi
>            Priority: Trivial
>         Attachments: pig-2846-trunk-v1.txt
>
>
> Trying pig e2e for the first time, I see couple of the tests (HCatDDL_1,HCatDDL_2 and Jython_Command_1) failing with 
> bq. java.io.IOException: Cannot run program /usr/local/hcat/bin/hcat:
> bq. java.io.IOException: error=2, No such file or directory
> Is it ok to change the test_harness to skip these tests when hcat does not exist?

--
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