ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Onischuk" <aonis...@hortonworks.com>
Subject Review Request 20031: PIG_OPTS should be appended instead of being over written
Date Fri, 04 Apr 2014 17:32:12 GMT

-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/20031/
-----------------------------------------------------------

Review request for Ambari and Dmytro Sen.


Bugs: AMBARI-5352
    https://issues.apache.org/jira/browse/AMBARI-5352


Repository: ambari


Description
-------

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.


Diffs
-----

  ambari-server/src/main/resources/stacks/HDP/2.0.6/services/PIG/package/templates/pig-env.sh.j2
6e82ef2 

Diff: https://reviews.apache.org/r/20031/diff/


Testing
-------


Thanks,

Andrew Onischuk


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message