Created 10-01-2015 02:31 PM
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
Created 10-02-2015 04:40 PM
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.
Created 10-02-2015 04:40 PM
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.
Created 10-05-2015 01:08 PM
good tips, thank you! I'll give this a go