Member since
01-22-2018
6
Posts
1
Kudos Received
0
Solutions
03-06-2018
02:47 PM
Its working for me . followed below steps:- - add port for sandbox container 6188. follow document https://community.hortonworks.com/content/kbentry/65914/how-to-add-ports-to-the-hdp-25-virtualbox-sandbox.html - once the port is added. sandbox is up and running. login as admin/admin through ambari UI. - Click on Actions from All services -> click on Add service. - select "Ambari Metrics Service" - In configuration Setting change the heapsize as per the configuration in below reference. https://cwiki.apache.org/confluence/display/AMBARI/Configurations+-+Tuning - after deploying ambari metrics service succesfully. - from service start Ambari Infra-which will start solr - from services start atlas- there is some dependancy of solr- atlas-hbase-ams - click on Ambari Metrics- start. - if still not working then follow :- https://community.hortonworks.com/questions/15818/ambari-metrics-collector-now-starting.html?page=1&pageSize=10&sort=votes - API cmds to retrieve the data from ams - http://127.0.0.1:6188/ws/v1/timeline/metrics/hosts - http://127.0.0.1:6188/ws/v1/timeline/metrics/metadata - http://127.0.0.1:6188/ws/v1/timeline/metrics?metricNames=regionserver.Server.totalRequestCount._rate,regionserver.Server.writeRequestCount._max&appId=ams-hbase - follow document for more details https://cwiki.apache.org/confluence/display/AMBARI/Metrics+Collector+API+Specification
... View more
03-05-2018
04:09 PM
1 Kudo
Hi , i am trying to add service Ambari metric Service for hdp2.6.3. - got 1 alert PFA. hbase-alert.png - i was able to start AMS service -so i tried to acess http:127.0.0.1:6188 got below logs from "/var/log/ambari-metrics-monitor/ambari-metrics-monitor.out" 2018-03-05 16:05:55,395 [INFO] emitter.py:154 - Calculated collector shard based on hostname : sandbox-hdp.hortonworks.com
2018-03-05 16:05:55,399 [WARNING] emitter.py:146 - Error sending metrics to server. [Errno 111] Connection refused
2018-03-05 16:05:55,399 [WARNING] emitter.py:111 - Retrying after 5 ...
2018-03-05 16:06:00,400 [WARNING] emitter.py:146 - Error sending metrics to server. [Errno 111] Connection refused
2018-03-05 16:06:00,401 [WARNING] emitter.py:111 - Retrying after 5 ...
2018-03-05 16:06:05,403 [WARNING] emitter.py:146 - Error sending metrics to server. [Errno 111] Connection refused
2018-03-05 16:06:05,403 [WARNING] emitter.py:111 - Retrying after 5 ...
2018-03-05 16:06:10,405 [WARNING] emitter.py:120 - Metric collector host sandbox-hdp.hortonworks.com was blacklisted.
2018-03-05 16:06:10,405 [INFO] emitter.py:96 - No valid collectors found... - got few refernces fro whitelisting https://cwiki.apache.org/confluence/display/AMBARI/Ambari+Metrics+-+Whitelisting but it is for whitelisting apps not the hosts or ip address. Thanks , Sharda
... View more
Labels:
- Labels:
-
Apache Ambari
01-23-2018
02:24 PM
Hi , i was trying to work on hdp services just to try for a long time i was trying to check whether curl is working or not hdp 2.6.3 + hdp2.5 i tried random commands to check network connectivity. below are the command which i tried :- [root@sandbox-hdp knox-server]# curl localhost curl localhost
curl: (7) couldn't connect to host [root@sandbox-hdp knox-server]# curl 127.0.0.1
curl: (7) couldn't connect to host [root@sandbox-hdp knox-server]# curl google.com <HTML><HEAD><meta http-equiv="content-type" content="text/html;charset=utf-8">
<TITLE>302 Moved</TITLE></HEAD><BODY>
<H1>302 Moved</H1>
The document has moved
<A HREF="http://www.google.co.in/?gfe_rd=cr&dcr=0&ei=UTFnWsWoD8-L8Qes5J3IBw">here</A>.
</BODY></HTML> How to resolve curl localhost for hdp or is it intentionally kept it that way.? ping is working for localhost and private ip addresses but curl is not working for localhost and private ip addresses in the hdp host-vm network.
... View more
Labels:
- Labels:
-
Hortonworks Data Platform (HDP)