Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Ambari Views Connection Errors in Multi-Homed Network

avatar

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

avatar

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.

View solution in original post

2 REPLIES 2

avatar

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.

avatar

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