> On Червень 14, 2017, 6:46 після полудня, Alejandro Fernandez wrote:
> > ambari-server/src/main/resources/stacks/HDP/2.0.6/configuration/cluster-env.xml
> > Lines 329 (patched)
> > <https://reviews.apache.org/r/59648/diff/4/?file=1751332#file1751332line329>
> >
> >     Is there any way we can recommend a higher value for larger clusters 
> > with a bigger FS image?
> >     
> >     Perhaps this is something we can calculate on-the-fly

The goal of this jira was to give ability for user set custom timeout for 
rolling restart and exit from NN safemode, and now user can do that via API or 
configs.sh (to update cluster-env). I think it will be hard to calculate how 
much time NN needs to exit safemode on current cluster. Sid said that it takes 
40-60 minutes for large clusters on customer side, so i set max value. If 
that's not enough user can change it. To my mind it will be enough for almost 
all users.


- Vitalyi


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


On Червень 14, 2017, 6:22 після полудня, Vitalyi Brodetskyi wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/59648/
> -----------------------------------------------------------
> 
> (Updated Червень 14, 2017, 6:22 після полудня)
> 
> 
> Review request for Ambari, Dmytro Sen, Sumit Mohanty, and Sid Wagle.
> 
> 
> Bugs: AMBARI-21148
>     https://issues.apache.org/jira/browse/AMBARI-21148
> 
> 
> Repository: ambari
> 
> 
> Description
> -------
> 
> If restart is rolling stack script should wait for NN to be out of safemode 
> with large timeout.
> Rolling indicates its an HDFS level restart so NN restart needs to be up and 
> accepting requests before we move on.
> 
> 
> Diffs
> -----
> 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariCustomCommandExecutionHelper.java
>  07f6e30 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/AmbariManagementControllerImpl.java
>  8d262e2 
>   
> ambari-server/src/main/java/org/apache/ambari/server/controller/internal/UpgradeResourceProvider.java
>  60665f7 
>   ambari-server/src/main/java/org/apache/ambari/server/utils/StageUtils.java 
> 9930148 
>   
> ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py
>  aa34dc0 
>   
> ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/namenode.py
>  65cd378 
>   
> ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/params_linux.py
>  e88dbdd 
>   
> ambari-server/src/main/resources/common-services/HDFS/3.0.0.3.0/package/scripts/hdfs_namenode.py
>  a0ed658 
>   
> ambari-server/src/main/resources/common-services/HDFS/3.0.0.3.0/package/scripts/namenode.py
>  a42ca79 
>   
> ambari-server/src/main/resources/common-services/HDFS/3.0.0.3.0/package/scripts/params_linux.py
>  58bb65f 
>   
> ambari-server/src/main/resources/stacks/HDP/2.0.6/configuration/cluster-env.xml
>  733b10d 
>   
> ambari-server/src/main/resources/stacks/HDP/3.0/configuration/cluster-env.xml 
> a79e904 
> 
> 
> Diff: https://reviews.apache.org/r/59648/diff/4/
> 
> 
> Testing
> -------
> 
> mvn clean test
> 
> 
> Thanks,
> 
> Vitalyi Brodetskyi
> 
>

Reply via email to