ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vitalyi Brodetskyi" <vbrodets...@hortonworks.com>
Subject Re: Review Request 39052: Ambari-server upgrade and RU update hbase bucket cache setting incorrectly
Date Wed, 07 Oct 2015 11:54:52 GMT


> On Жов. 6, 2015, 11:53 після полудня, Sid Wagle wrote:
> > ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog213.java,
line 149
> > <https://reviews.apache.org/r/39052/diff/1/?file=1091895#file1091895line149>
> >
> >     How is MaxDirectSize added with this patch? Is it present in the stack def?

MaxDirectSize logic is available in hbase-env(in "content" property) from ambari 2.1 version.
Problem was in fact that we didn't update "content" property for hbase-env during upgrade.


- Vitalyi


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


On Жов. 7, 2015, 11:48 до полудня, Vitalyi Brodetskyi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/39052/
> -----------------------------------------------------------
> 
> (Updated Жов. 7, 2015, 11:48 до полудня)
> 
> 
> Review request for Ambari, Dmitro Lisnichenko, Jonathan Hurley, Myroslav Papirkovskyy,
Sumit Mohanty, and Sid Wagle.
> 
> 
> Bugs: AMBARI-13325
>     https://issues.apache.org/jira/browse/AMBARI-13325
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> PROBLEM: Ambari update the below setting in hbase-site:
> hbase.bucketcache.ioengine=offheap
> hbase.bucketcache.percentage.in.combinedcache= 
> hbase.bucketcache.size=10240
> But there is no setting in hbase-env for 
> -XX:MaxDirectMemorySize
> so when restart HBase Region server, it fails
> 
> 
> Diffs
> -----
> 
>   ambari-server/src/main/java/org/apache/ambari/server/state/ConfigHelper.java 62c3b61

>   ambari-server/src/main/java/org/apache/ambari/server/upgrade/AbstractUpgradeCatalog.java
62cd868 
>   ambari-server/src/main/java/org/apache/ambari/server/upgrade/UpgradeCatalog213.java
dcdbb85 
>   ambari-server/src/test/java/org/apache/ambari/server/upgrade/UpgradeCatalog213Test.java
a54dee2 
> 
> Diff: https://reviews.apache.org/r/39052/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Vitalyi Brodetskyi
> 
>


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