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.

Ambari Views Connection Errors in Multi-Homed Network

SOLVED Go to solution
Highlighted

Ambari Views Connection Errors in Multi-Homed Network

Hi everyone,

Is there any advice on configuring Ambari views when you have a multi-homed network?

We've got an issue where a newly configured Tez View is throwing this error:

error code: 500, message: Server Error java.net.ConnectException: Connection refused Could not retrieve expected data from Timeline Server @ https://HOSTNAME:8190/ws/v1/timeline/TEZ_DAG_ID 

Looking through yarn-site, I can see that various properties like yarn.resourcemanager.webapp.address, yarn.timeline-service.bind-host, yarn.timeline-service.webapp.address and yarn.timeline-service.webapp.https.address are set to 0.0.0.0:PORT.

Question - is this valid configuration? Is the multi-homing affecting the Tez View and if so what is the recommended configuration?

-- Ana

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Ambari Views Connection Errors in Multi-Homed Network

Guru

Your best bet will be to SSH into the server hosting ATS and do a netstat -natp | grep 8190. Based on the output you can identify which specific IP it is binding to, or if it's binding to 0.0.0.0 it should be available and listening on all IP's associated with that host. However, if you don't see 0.0.0.0, and see a specific IP address, you'll want to update the view to use that specific IP address when connecting to ATS.

2 REPLIES 2

Re: Ambari Views Connection Errors in Multi-Homed Network

Guru

Your best bet will be to SSH into the server hosting ATS and do a netstat -natp | grep 8190. Based on the output you can identify which specific IP it is binding to, or if it's binding to 0.0.0.0 it should be available and listening on all IP's associated with that host. However, if you don't see 0.0.0.0, and see a specific IP address, you'll want to update the view to use that specific IP address when connecting to ATS.

Re: Ambari Views Connection Errors in Multi-Homed Network

good tips, thank you! I'll give this a go