Andrew Onischuk created AMBARI-5352:
---------------------------------------

             Summary: PIG_OPTS should be appended instead of being over written
                 Key: AMBARI-5352
                 URL: https://issues.apache.org/jira/browse/AMBARI-5352
             Project: Ambari
          Issue Type: Bug
            Reporter: Andrew Onischuk
            Assignee: Andrew Onischuk
             Fix For: 1.5.1


When tez is enabled the following code is executed in pig-env.sh

    
    
    if [ -d "/usr/lib/tez" ]; then
      PIG_OPTS="-Dmapreduce.framework.name=yarn"
    fi
    

We should be appending to PIG_OPTS and not overwriting it.





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

Reply via email to