You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by Dmytro Sen <ds...@hortonworks.com> on 2015/08/17 12:11:33 UTC

Review Request 37525: RU: HS2 fails to start with invalid maximum heap size

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

Review request for Ambari, Andrew Onischuk, Myroslav Papirkovskyy, and Vitalyi Brodetskyi.


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


Repository: ambari


Description
-------

After upgrading from Ambari 1.7 to Ambari 2.1 and HDP 2.2.0 to HDP 2.3, Hive fails to start after upgrade during rolling upgrade due to hive-env.sh having HADOOP_HEAPSIZE=512*m*. The HADOOP_CLIENT_OPTS assumes it’s an int and tacts on an additional “m” so it ends up setting the -Xmx to 512mm instead of -Xmx to 512m


Diffs
-----

  ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog210.java c4a08d9 

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


Testing
-------

Unit tests passed


Thanks,

Dmytro Sen


Re: Review Request 37525: RU: HS2 fails to start with invalid maximum heap size

Posted by Artem Baranchuk <ab...@hortonworks.com>.
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/37525/#review95584
-----------------------------------------------------------

Ship it!


Ship It!

- Artem Baranchuk


On Авг. 17, 2015, 10:11 д.п., Dmytro Sen wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/37525/
> -----------------------------------------------------------
> 
> (Updated Авг. 17, 2015, 10:11 д.п.)
> 
> 
> Review request for Ambari, Andrew Onischuk, Myroslav Papirkovskyy, and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-12784
>     https://issues.apache.org/jira/browse/AMBARI-12784
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> After upgrading from Ambari 1.7 to Ambari 2.1 and HDP 2.2.0 to HDP 2.3, Hive fails to start after upgrade during rolling upgrade due to hive-env.sh having HADOOP_HEAPSIZE=512*m*. The HADOOP_CLIENT_OPTS assumes it’s an int and tacts on an additional “m” so it ends up setting the -Xmx to 512mm instead of -Xmx to 512m
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog210.java c4a08d9 
> 
> Diff: https://reviews.apache.org/r/37525/diff/
> 
> 
> Testing
> -------
> 
> Unit tests passed
> 
> 
> Thanks,
> 
> Dmytro Sen
> 
>