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 web UI not working

I am accessing spark2 history server we b ui but I am getting the below error : Failed on local exception: Couldn't setup connection for spark-clustername@SOLON.PRD to FQDN/ip:8020; Host Details : local host is: "FQDN/IP"; destination host is: "FQDN":8020; 
	at org.apache.hadoop.ipc.Client.getRpcResponse(
	at org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(
	at com.sun.proxy.$Proxy10.setSafeMode(Unknown Source)
	at org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.setSafeMode(
	at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(

Caused by: GSS initiate failed [Caused by GSSException: No valid credentials provided (Mechanism level: Failed to find any Kerberos tgt)]

	at org.apache.hadoop.ipc.Client$Connection.setupSaslConnection(
	at org.apache.hadoop.ipc.Client$Connection.access$2000(
	at org.apache.hadoop.ipc.Client$Connection$
	at org.apache.hadoop.ipc.Client$Connection$
	at Method)
	at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(

Super Mentor

@Anurag Mishra

If you are using Firefox "about:config" and then search for the following two properties and set the values to the hostname/domain that are secured: (Please use your own Spark2 UI hostname/domain name here),,

Here you need to define the hostname/domain that you are using.

Now get the keytab on your local machine (laptop) where browser is running and then do the kinit. Then refresh the browser. Example:

kinit  -t /PATH/TO/spark.service.keytab spark/

. Here you will need to do kinit with your own keytab. In above example i am using spark service keytab (just for example)

I am using google chrome

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