You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@ambari.apache.org by Ajit Kumar <aj...@hortonworks.com> on 2016/04/20 23:41:12 UTC

Review Request 45592: Fix bad entry in hbase-env.sh that were added as part of 2.2.0-2.2.1.1 upgrade

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

Review request for Ambari, Alejandro Fernandez, Jayush Luniya, and Sumit Mohanty.


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


Repository: ambari


Description
-------

Ambari upgrades, 2.2.0-2.2.1.1 adds a bad entry to the hbase-env
{code}export HBASE_OPTS="-Djava.io.tmpdir={{java_io_tmpdir}}\""{code}

With broken hbase-env user cannot run any mapreduce services for hbase. Currently it needs to be fixed manually.
{code}
export HBASE_OPTS="${HBASE_OPTS} -Djava.io.tmpdir={{java_io_tmpdir}}"
{code}
 It will be good if just upgrading to 2.2.2 fixes this issue rather than mucking around with configs.


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog222.java f988a7a 
  ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog222Test.java f0158fd 

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


Testing
-------

Unit tests


Thanks,

Ajit Kumar