You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Martin Kudlej (JIRA)" <ji...@apache.org> on 2015/02/25 13:55:05 UTC

[jira] [Commented] (PIG-4385) testDefaultBootup fails because it cannot find "pig.properties"

    [ https://issues.apache.org/jira/browse/PIG-4385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14336454#comment-14336454 ] 

Martin Kudlej commented on PIG-4385:
------------------------------------

I use Pig distributed by Hortonworks and PIG_HOME in that case leads to /usr/lib/pig. This directory is own by rwxr_xr_x root:root so pig user or any other user cannot write there. So this test cannot write properties from that directory and fails. Still I would like to run pig smoke tests with this distribution package. That's why I've created this patch.

> testDefaultBootup fails because it cannot find "pig.properties"
> ---------------------------------------------------------------
>
>                 Key: PIG-4385
>                 URL: https://issues.apache.org/jira/browse/PIG-4385
>             Project: Pig
>          Issue Type: Test
>    Affects Versions: 0.12.0, 0.13.0, 0.14.0
>            Reporter: Martin Kudlej
>         Attachments: 0001-PIG-4385.patch
>
>
> testDefaultBootup fails because Pig cannot find created file "pig.properties". I think  test of using "pig.property" file should be separated from testDefaultBootup. Only clean way how to do it is to use Properties for start of PigServer.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)