Repository: ambari
Updated Branches:
  refs/heads/branch-2.2 9b42aeba1 -> 685319d38


AMBARI-14400. Spark server restart failed (java.lang.NumberFormatException) 
causing express upgrade to fail. (aonishuk)


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

Branch: refs/heads/branch-2.2
Commit: 685319d38665993c5cef5fb13efd6c34fa69bbad
Parents: 9b42aeb
Author: Andrew Onishuk <[email protected]>
Authored: Wed Dec 16 20:11:36 2015 +0200
Committer: Andrew Onishuk <[email protected]>
Committed: Wed Dec 16 20:11:36 2015 +0200

----------------------------------------------------------------------
 .../common-services/SPARK/1.2.0.2.2/package/scripts/params.py | 1 -
 .../services/SPARK/configuration/spark-hive-site-override.xml | 7 +++++++
 2 files changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/685319d3/ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/params.py
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/params.py
 
b/ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/params.py
index c4bbdc1..82ea855 100644
--- 
a/ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/params.py
+++ 
b/ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/params.py
@@ -157,7 +157,6 @@ if 'spark-thrift-sparkconf' in config['configurations']:
       # update default metastore client properties (async wait for metastore 
component) it is useful in case of
       # blueprint provisioning when hive-metastore and spark-thriftserver is 
not on the same host.
       spark_hive_properties.update({
-        'hive.metastore.client.connect.retry.delay' : 
config['configurations']['hive-site']['hive.metastore.client.connect.retry.delay'],
         'hive.metastore.connect.retries' : 
config['configurations']['hive-site']['hive.metastore.connect.retries'],
         'hive.metastore.client.socket.timeout' : 
config['configurations']['hive-site']['hive.metastore.client.socket.timeout']
       })

http://git-wip-us.apache.org/repos/asf/ambari/blob/685319d3/ambari-server/src/main/resources/stacks/HDP/2.3/services/SPARK/configuration/spark-hive-site-override.xml
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.3/services/SPARK/configuration/spark-hive-site-override.xml
 
b/ambari-server/src/main/resources/stacks/HDP/2.3/services/SPARK/configuration/spark-hive-site-override.xml
index 54df516..d65c8b1 100644
--- 
a/ambari-server/src/main/resources/stacks/HDP/2.3/services/SPARK/configuration/spark-hive-site-override.xml
+++ 
b/ambari-server/src/main/resources/stacks/HDP/2.3/services/SPARK/configuration/spark-hive-site-override.xml
@@ -19,6 +19,13 @@ limitations under the License.
 
 <configuration supports_final="true">
   <property>
+       <name>hive.metastore.client.connect.retry.delay</name>
+       <value>5</value>
+    <description>
+      Expects a time value - number of seconds for the client to wait between 
consecutive connection attempts
+    </description>     
+  </property>
+  <property>
     <name>hive.server2.thrift.port</name>
     <value>10015</value>
     <description>

Reply via email to