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)

Reply via email to