-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/40603/
-----------------------------------------------------------
Review request for Ambari and Dmitro Lisnichenko.
Bugs: AMBARI-14020
https://issues.apache.org/jira/browse/AMBARI-14020
Repository: ambari
Description
-------
Traceback (most recent call last):
File
"/var/lib/ambari-agent/cache/common-services/SPARK/1.2.0.2.2/package/scripts/spark_thrift_server.py",
line 79, in <module>
SparkThriftServer().execute()
File
"/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py",
line 218, in execute
method(env)
File
"/var/lib/ambari-agent/cache/common-services/SPARK/1.2.0.2.2/package/scripts/spark_thrift_server.py",
line 54, in start
spark_service('sparkthriftserver',action='start')
File
"/var/lib/ambari-agent/cache/common-services/SPARK/1.2.0.2.2/package/scripts/spark_service.py",
line 63, in spark_service
not_if=thriftserver_no_op_test
File "/usr/lib/python2.6/site-packages/resource_management/core/base.py",
line 154, in __init__
self.env.run()
File
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 158, in run
self.run_action(resource, action)
File
"/usr/lib/python2.6/site-packages/resource_management/core/environment.py",
line 121, in run_action
provider_action()
File
"/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py",
line 238, in action_run
tries=self.resource.tries, try_sleep=self.resource.try_sleep)
File
"/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 70,
in inner
result = function(command, **kwargs)
File
"/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 92,
in checked_call
tries=tries, try_sleep=try_sleep)
File
"/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 140,
in _call_wrapper
result = _call(command, **kwargs_copy)
File
"/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291,
in _call
raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of
'/usr/hdp/current/spark-thriftserver/sbin/start-thriftserver.sh
--properties-file
/usr/hdp/current/spark-thriftserver/conf/spark-thrift-sparkconf.conf ' returned
1. org.apache.spark.sql.hive.thriftserver.HiveThriftServer2 running as process
5314. Stop it first.
Diffs
-----
ambari-server/src/main/resources/common-services/SPARK/1.2.0.2.2/package/scripts/status_params.py
2272c72
ambari-server/src/test/python/stacks/2.3/SPARK/test_spark_thrift_server.py
20054bc
Diff: https://reviews.apache.org/r/40603/diff/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk