Support Questions

Find answers, ask questions, and share your expertise
Check out our newest addition to the community, the Cloudera Data Analytics (CDA) group hub.

Spark2 Thrift Server (HDP 3.0.1, Ambari 2.7.1)



After a fresh installation, I got the following error. Can anyone know how to resolve this issue?

Connection failed on host (Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/SPARK2/package/scripts/alerts/", line 147, in execute Execute(cmd, user=sparkuser, path=[beeline_cmd], timeout=CHECK_COMMAND_TIMEOUT_DEFAULT) File "/usr/lib/ambari-agent/lib/resource_management/core/


New Contributor

I also got the same error after fresh installation. Not sure if we can just go ahead with disabling the alert for time being , as we need thrift only to provide access to SparkSQL via JDBC /ODBC. For spark-submit and spark-shell it won't be needed.

New Contributor

Try opening port 10016 through iptables on the node where you have installed spark thrift client and then restart SPARK2 via ambari. It resolved this alert for me.

iptables -I INPUT -p tcp --dport 10016 -j ACCEPT

iptables -I OUTPUT -p tcp --dport 10016 -j ACCEPT

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.