Support Questions
Find answers, ask questions, and share your expertise

HDFS Web UI connection timed out in Ambari console ??

Highlighted

HDFS Web UI connection timed out in Ambari console ??

Super Collaborator

Hi Team,

i have successfully installed HDP 2.4.2 with Amabari 2.2.2 in Ubuntu14.04 and passed all service run checks. But in ambari WebUI it's showing below warnings:

4567-namanode-web-ui.png

in the ambari server i am able to do wget http://ambariagent14://50070

can any body help me to solve this issue

3 REPLIES 3
Highlighted

Re: HDFS Web UI connection timed out in Ambari console ??

@subhash parise

This might be related to -https://hortonworks.jira.com/browse/BUG-47724

I faced same issue, I resolved it by modifying connection.timeout value for alerts. PLs check this blog -

https://community.hortonworks.com/content/kbentry/33564/how-to-modify-ambari-alert-using-postput-act...

Let me know if it helps.

Highlighted

Re: HDFS Web UI connection timed out in Ambari console ??

Super Collaborator

Hi Sagar,

i have gone through your url but there is no "check.command.timeout' json value in the "http://localhost:1021/api/v1/clusters/ambari_cluster/alert_definitions/45" output.

please find the below output.

"AlertDefinition" : { "cluster_name" : "ambari_cluster", "component_name" : "DATANODE", "description" : "This host-level alert is triggered if the DataNode Web UI is unreachable.", "enabled" : true, "id" : 45, "ignore_host" : false, "interval" : 1, "label" : "DataNode Web UI", "name" : "datanode_webui", "scope" : "HOST", "service_name" : "HDFS", "source" : { "reporting" : { "ok" : { "text" : "HTTP {0} response in {2:.3f}s" }, "warning" : { "text" : "HTTP {0} response from {1} in {2:.3f}s ({3})" }, "critical" : { "text" : "Connection failed to {1} ({3})" } }, "type" : "WEB", "uri" : { "http" : "{{hdfs-site/dfs.datanode.http.address}}", "https" : "{{hdfs-site/dfs.datanode.https.address}}", "https_property" : "{{hdfs-site/dfs.http.policy}}", "https_property_value" : "HTTPS_ONLY", "kerberos_keytab" : "{{hdfs-site/dfs.web.authentication.kerberos.keytab}}", "kerberos_principal" : "{{hdfs-site/dfs.web.authentication.kerberos.principal}}", "default_port" : 0.0, "connection_timeout" : 5.0 } } } }

Re: HDFS Web UI connection timed out in Ambari console ??

Explorer

change the

"connection_timeout": 5.0

field in the alert definition using a put call. Thats present in your json as well