尝试获取纱线统计信息时运行curl时出现问题

时间:2018-11-28 14:11:38

标签: hadoop curl yarn centos7 metrics

我已经在笔记本电脑上设置了VM,并尝试连接到正在运行ambari的主机。我正在尝试运行curl命令以获取纱线统计信息,但是在运行该命令时遇到问题。

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"
* 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

我什至用主机名替换了IP,但是没有运气。

0 个答案:

没有答案