> On 九月 14, 2016, 5:36 p.m., Alejandro Fernandez wrote:
> > ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py,
> >  line 283
> > <https://reviews.apache.org/r/49802/diff/2/?file=1498248#file1498248line283>
> >
> >     Why would the json data be None?

Rebalance HDFS in the host web view, it will not show the Rebalance HDFS dialog 
to fill the disk capacity value, so the default threshold should be the default 
value, but the namenode.py not given a default value, so rebalance hdfs wil 
fail. It would be difficult to change from fore-end, moreover, the change may 
not fit into fore-end's design ,and I sense the bug is a serious issue, so I 
think it is better to give it the default value in the namenode.py .


- wang


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


On 九月 14, 2016, 8:07 a.m., wang yaoxin wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/49802/
> -----------------------------------------------------------
> 
> (Updated 九月 14, 2016, 8:07 a.m.)
> 
> 
> Review request for Ambari, Alejandro Fernandez, JaimejucoummaUW 
> JaimejucoummaUW, Zhe (Joe) Wang, Kuldeep Mishra, and Yusaku Sako.
> 
> 
> Bugs: AMBARI-17546
>     https://issues.apache.org/jira/browse/AMBARI-17546
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> the host view ,excute namenode rebalance HDFS, json none lead fail
> 
> Rebalance HDFS in the host web view , it will not show the Rebalance HDFS 
> dialog to fill the disk capacity value, so rebalance hdfs wil fail. It would 
> be difficult to change from fore-end, moreover, the change may not fit into 
> fore-end's design ,and I sense the bug is a serious issue, so I think it is 
> better to give it the default value in the namenode.py .
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py
>  df02311 
> 
> Diff: https://reviews.apache.org/r/49802/diff/
> 
> 
> Testing
> -------
> 
> done
> 
> 
> Thanks,
> 
> wang yaoxin
> 
>

Reply via email to