Browse Source

[spark] Bumping Spark create session timeout to 2 minutes

Romain Rigaux 10 years ago
parent
commit
747c924
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apps/spark/src/spark/models.py

+ 1 - 1
apps/spark/src/spark/models.py

@@ -279,7 +279,7 @@ class SparkApi():
     status = api.get_session(response['id'])
     count = 0
 
-    while status['state'] == 'starting' and count < 60:
+    while status['state'] == 'starting' and count < 120:
       status = api.get_session(response['id'])
       count += 1
       time.sleep(1)