[
https://issues.apache.org/jira/browse/PIG-2327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Roman Shaposhnik updated PIG-2327:
----------------------------------
Affects Version/s: 0.10
I'm attaching a trivial patch. If it looks good, can it be, please, included in
0.10 ?
> 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, 0.10
> 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