AMBARI-18786. HDP Upgrade fails when the cluster size is large (dlysnichenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/ba5cbf42
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/ba5cbf42
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/ba5cbf42

Branch: refs/heads/branch-dev-patch-upgrade
Commit: ba5cbf428194733b93ff122dbe4b66706f75e676
Parents: 43a181a
Author: Lisnichenko Dmitro <[email protected]>
Authored: Thu Nov 3 17:32:17 2016 +0200
Committer: Lisnichenko Dmitro <[email protected]>
Committed: Thu Nov 3 17:32:52 2016 +0200

----------------------------------------------------------------------
 .../HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py                | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/ba5cbf42/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py
 
b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py
index db52ee1..b7735f4 100644
--- 
a/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py
+++ 
b/ambari-server/src/main/resources/common-services/HDFS/2.1.0.2.0/package/scripts/hdfs_namenode.py
@@ -510,7 +510,7 @@ def is_namenode_bootstrapped(params):
   return marked
 
 
-@retry(times=5, sleep_time=5, backoff_factor=2, err_class=Fail)
+@retry(times=125, sleep_time=5, backoff_factor=2, err_class=Fail)
 def is_this_namenode_active():
   """
   Gets whether the current NameNode is Active. This function will wait until 
the NameNode is

Reply via email to