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 (Commented) (JIRA)" <ji...@apache.org> on 2012/01/15 01:33:40 UTC

[jira] [Commented] (PIG-2475) Change the order in which pig conf dir is determined

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

Daniel Dai commented on PIG-2475:
---------------------------------

Hmm, I feel when both tarball and rpm are installed, most likely user want to try the tarball. How do you feel?
                
> Change the order in which pig conf dir is determined
> ----------------------------------------------------
>
>                 Key: PIG-2475
>                 URL: https://issues.apache.org/jira/browse/PIG-2475
>             Project: Pig
>          Issue Type: Bug
>    Affects Versions: 0.9.1, 0.9.2
>            Reporter: Arpit Gupta
>         Attachments: PIG-2475.patch
>
>
> currently we check PIG_HOME/conf/pig.properties existence to determine PIG_CONF_DIR and then check for /etc/pig
> We should change that order to check for /etc/pig/pig.properties and if not set it to PIG_HOME/conf
> The reason being pig rpm installs configs in /usr/conf which causes it to pick up /usr/conf rather than /etc/pig as the path.

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