티스토리 뷰

Bigdata/ambari

ambari metric collector Not running

hellotheresy 2017. 2. 9. 14:34


version : HDP 2.3  / ambari 2.1.2 



ambari metric collector Not running


ambari를 통한 운영을 하다면 Metric Collect가 눈에 띄인다. Metric데이터를 보여주는 tool인데.. 은근히 상태 모니터링에 사용하기에 괜찮다 






문제는 Collector가 가끔 오동작 or Running되지 않는 경우가  종종있다 관련 document를 살펴보자 


http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.2.0/bk_ambari_reference_guide/content/ams_collector_modes.html


The Metrics Collector is built using Hadoop technologies such as HBase, Phoenix, and ATS. The Collector can store metrics data on the local filesystem, referred to as "embedded mode" or use an external HDFS, referred to as "distributed mode". By default, the Collector runs in embedded mode. In embedded mode, the Collector will capture and write metrics to the local file system on the host where the Collector is running. As well, all the Collector runs in a single process on that host.



즉 mode가 아래와 같이 2개로 구분되어 운영할 수 있다. 


  • Embedded 
  • Distributed 






디폴트가 embedded이므로, Standalone hbase가 동작 중이고, 이로 인해 에러가 발생할 수 있다. 

결론적으로 해당 모드에 따른 셋팅을 다시 확인해야한다. 


  • zookeeper 
  • hbase
  • ambari-agent ( mornitor ) 


위의 3개를 확인해야 collector가 정상적으로 수행할 수 있다. 

실제로 문제가 된 부분은 zookeeper 클러스터에 대한 설정 문제였다 





별 어려움은 없었지만 , 해당 되는 부분에 대해 설정값 및 동작원리를 살펴볼필요가 있다. 




'Bigdata > ambari' 카테고리의 다른 글

ambari agent Memory Leak ( ambari-17539 )  (0) 2017.03.06
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함