You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Roman Shaposhnik (Updated) (JIRA)" <ji...@apache.org> on 2011/11/02 18:43:32 UTC
[jira] [Updated] (PIG-2327) bin/pig doesn't have any hooks for
picking up ZK installation deployed from tarballs
[ https://issues.apache.org/jira/browse/PIG-2327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Roman Shaposhnik updated PIG-2327:
----------------------------------
Status: Patch Available (was: Open)
> bin/pig doesn't have any hooks for picking up ZK installation deployed from tarballs
> ------------------------------------------------------------------------------------
>
> Key: PIG-2327
> URL: https://issues.apache.org/jira/browse/PIG-2327
> Project: Pig
> Issue Type: Bug
> Components: grunt
> Affects Versions: 0.9.1
> Reporter: Roman Shaposhnik
> Attachments: PIG-2327.patch.txt
>
>
> The following chunk of bin/pig
> {noformat}
> # locate ZooKeeper
> if [ -d "${PIG_HOME}/share/zookeeper" ]; then
> for f in ${PIG_HOME}/share/zookeeper/zookeeper-*.jar; do
> CLASSPATH=${CLASSPATH}:$f
> done
> fi
> {noformat}
> makes it impossible for pig to pick up ZK installation area
> unless the content of the binary tarballs gets massaged in a certain
> way.
> Would it be possible to have a more generic code in place that
> would, perhaps, pay attention to things like ZOOKEEPER_HOME ?
--
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