> On Dec. 23, 2015, 2:12 p.m., Sumit Mohanty wrote:
> > ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py,
> >  line 171
> > <https://reviews.apache.org/r/41685/diff/1/?file=1175335#file1175335line171>
> >
> >     Why 65?

one try takes ~25(~15 seconds to execute command, and 10 seconds wait between 
retries) seconds here we have 27*60/(25) ~= 65 retries for 27 min wait


- Eugene


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


On Dec. 23, 2015, 12:50 p.m., Dmitro Lisnichenko wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/41685/
> -----------------------------------------------------------
> 
> (Updated Dec. 23, 2015, 12:50 p.m.)
> 
> 
> Review request for Ambari, Sumit Mohanty and Vitalyi Brodetskyi.
> 
> 
> Bugs: AMBARI-14479
>     https://issues.apache.org/jira/browse/AMBARI-14479
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> Issue
> Namenode safemode check timeout value of 30mins is more than the server 
> timeout of 20mins for a task. Hence, the server kills the namenode startup 
> script if it takes more than 20mins to get out of safemode.
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/metainfo.xml 
> b678e51 
>   
> ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py
>  52e098e 
>   
> ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py
>  13d1912 
>   ambari-server/src/test/python/stacks/2.0.6/HDFS/test_namenode.py 4be4fd4 
> 
> Diff: https://reviews.apache.org/r/41685/diff/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Dmitro Lisnichenko
> 
>

Reply via email to