[
https://issues.apache.org/jira/browse/PIG-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14104183#comment-14104183
]
Mark Grover commented on PIG-4133:
----------------------------------
Thanks, Mani. Should {{if [ -d "/usr/lib/hive-hcatalog" ]; then}} be an else if
instead?
> Need to update the default $HCAT_HOME dir in the PIG script.
> ------------------------------------------------------------
>
> Key: PIG-4133
> URL: https://issues.apache.org/jira/browse/PIG-4133
> Project: Pig
> Issue Type: Bug
> Components: grunt
> Affects Versions: 0.12.0
> Reporter: Manikandan Narayanaswamy
> Priority: Minor
> Fix For: 0.13.0
>
> Attachments: PIG-4133.patch
>
>
> Looks like we need to update the default HCAT_HOME in /bin/Pig to
> /usr/lib/hive-hcatalog.
> This is what it has currently.
> <snip>
> if [ "$HCAT_HOME" == "" ]; then
> if [ -d "/usr/lib/hcatalog" ]; then
> HCAT_HOME=/usr/lib/hcatalog
> else
> echo "Please initialize HCAT_HOME"
> exit -1
> fi
> fi
> </snip>
--
This message was sent by Atlassian JIRA
(v6.2#6252)