[
https://issues.apache.org/jira/browse/PIG-4133?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14104586#comment-14104586
]
Mark Grover commented on PIG-4133:
----------------------------------
But, if {{/usr/lib/hcatalog}} already exists, should we still go through this
check? What should happen in the corner case where both {{/usr/lib/hcatalog}}
and {{/usr/lib/hive-hcatalog}} exist (say because 2 versions of HCatalog are
installed, one from pre-hive times and one from after the project was merged
into Hive?
> 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)