Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Spark2 Thrift Server (HDP 3.0.1, Ambari 2.7.1)

Highlighted

Spark2 Thrift Server (HDP 3.0.1, Ambari 2.7.1)

New Contributor

Hi,

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

Connection failed on host hadoo.domain.com:10016 (Traceback (most recent call last): File "/var/lib/ambari-agent/cache/stacks/HDP/3.0/services/SPARK2/package/scripts/alerts/alert_spark2_thrift_port.py", 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/base.py...

2 REPLIES 2

Re: Spark2 Thrift Server (HDP 3.0.1, Ambari 2.7.1)

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.

Re: Spark2 Thrift Server (HDP 3.0.1, Ambari 2.7.1)

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

Don't have an account?
Coming from Hortonworks? Activate your account here