Hello Current status - I am trying to pull all yarn metrics data via curl on the HDP machine that is set up on 2.6.3 on VM i am trying to run the curl command on the same host machine. however, my curl command is failing. i tried using hostname and same issue but curl -v <ip> works. Goal - I want to use this data to plot graphs/ patterns that can reflect the usage of the cluster and suggest improvements. My curl command - curl -v "http://192.168.56.101:6188/ws/v1/timeline/metrics?metricNames=bytes_in._rate._avg&hostname=&appId=HOST&instanceId=&startTime=1451630974&endTime=1519110315" Error message - * About to connect() to 192.168.56.101 port 6188 (#0)
* Trying 192.168.56.101...
* Connection refused
* Failed connect to 192.168.56.101:6188; Connection refused
* Closing connection 0
curl: (7) Failed connect to 192.168.56.101:6188; Connection refused Query - Is my port incorrect ? what is the best command to pull yarn metrics . Has anyone tried working on curl on VM and successfully able to pull data from yarn api can someone share me any pointers that can be helpful here. Reference - I referred to one of the posts and picked up the command.
... View more