Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

Can't start SPARK2 THRIFT SERVER on ambari

avatar
New Contributor

When I try to start SPARK2 THRIFT SERVER on ambari , I got the following wrong message:

 

Traceback (most recent call last): File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/check_process_status.py", line 57, in check_process_status sudo.kill(pid, 0) File "/usr/lib/ambari-agent/lib/resource_management/core/sudo.py", line 180, in kill os.kill(pid, signal) OSError: [Errno 3] No such process The above exception was the cause of the following exception: Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/SPARK2/package/scripts/spark_thrift_server.py", line 85, in SparkThriftServer().execute() File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 352, in execute method(env) File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/SPARK2/package/scripts/spark_thrift_server.py", line 53, in start spark_service('sparkthriftserver', upgrade_type=upgrade_type, action='start') File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/SPARK2/package/scripts/spark_service.py", line 191, in spark_service check_process_status(status_params.spark_thrift_server_pid_file) File "/usr/lib/ambari-agent/lib/resource_management/libraries/functions/check_process_status.py", line 61, in check_process_status raise ComponentIsNotRunning() resource_management.core.exceptions.ComponentIsNotRunning

 

How to solve it? Thank you!

1 REPLY 1

avatar
Contributor

@Frey679  This seems to be upgrade step where STS is not starting in this case you need to look at the spark-thrift server logs for exact cause (under /var/log/spark2/)