pig-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Manikandan Narayanaswamy (JIRA)" <j...@apache.org>
Subject [jira] [Created] (PIG-4133) Need to update the default $HCAT_HOME dir in the PIG script.
Date Tue, 19 Aug 2014 22:39:18 GMT
Manikandan Narayanaswamy created PIG-4133:
---------------------------------------------

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


Looks like we need to update the default HCAT_HOME in /bin/Pig to /usr/lib/hive-hcatalog.

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



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message