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



ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
<https://reviews.apache.org/r/33100/#comment129367>

    More logging to the stack advisor output



ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
<https://reviews.apache.org/r/33100/#comment129366>

    Additional safety check to prevent this dictionary errors.



ambari-server/src/main/resources/stacks/HDP/2.2/services/stack_advisor.py
<https://reviews.apache.org/r/33100/#comment129365>

    validateHBASEConfigurations is called for hbase-site, so it should not 
validate an hbase-env property using its own recommended set.


- Alejandro Fernandez


On April 11, 2015, 2:13 a.m., Alejandro Fernandez wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/33100/
> -----------------------------------------------------------
> 
> (Updated April 11, 2015, 2:13 a.m.)
> 
> 
> Review request for Ambari, Dmitro Lisnichenko, Gautam Borad, Myroslav 
> Papirkovskyy, Srimanth Gunturi, and Sid Wagle.
> 
> 
> Bugs: AMBARI-10451
>     https://issues.apache.org/jira/browse/AMBARI-10451
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> In Ambari 2.0.0 with HDP 2.2.0.0, HBase has these two properties in hbase-env,
> hbase_master_heapsize
> hbase_regionserver_heapsize
> If a user attempts to add them to hbase-site, then saving the configs will 
> fail.
> Today, the hbase-site validator checks both hbase-site and hbase-env using 
> the recommended properties for hbase-site. This causes a failure because the 
> properties will exist in the hbase-site configs, but not in the recommended 
> params for it.
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/api/services/stackadvisor/StackAdvisorRunner.java
>  191aeed 
>   ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py 
> 08badf8 
>   ambari-server/src/main/resources/stacks/HDP/2.2/services/stack_advisor.py 
> 3a42a3d 
> 
> Diff: https://reviews.apache.org/r/33100/diff/
> 
> 
> Testing
> -------
> 
> Reproduced the issue on a live cluster and verified that the following works.
>  A. hbase-env hbase_master_heapsize set to 512 fails
>  B. hbase-env hbase_master_heapsize set to 1024 passes
>  C. Scenario B + hbase-site hbase_master_heapsize set 512 passes since that 
> property is not checked
>  D. Introduced an error in the stack_validation.py on purpose to test the 
> error message in the dialog box
> 
> Unit tests are in progress.
> 
> 
> Thanks,
> 
> Alejandro Fernandez
> 
>

Reply via email to