Tag Archives: Ambari

Ambari failed to monitor yarn ResourceManager, restart invalid

Question:

Yarn ResourceManager restart is invalid.

analysis:

It could be Hadoop yarn monitored by ambari- resourcemanager.pid The file does not properly record the process ID of ResourceManager.

solve:

    enter the directory/var/run/Hadoop yarn/yarn; view Hadoop yarn- resourcemanager.pid The process ID of ResourceManager recorded in; JPS view the ID number of ResourceManager running; if it is not equal, copy and fill in the process ID of ResourceManager viewed by JPS to Hadoop yarn- resourcemanager.pid Wait a few seconds, cluster ambari The display is normal;

Ambari OpenSSL version problem: sslerror: failed to connect. Please check OpenSSL library versions

centos使用Ambari搭建Hadoop集群
ambari --Confirm Hosts报错
 
Command start time 2018-08-13 10:32:23
bash: /var/lib/ambari-agent/bin/ambari-agent: Is a directory
('INFO 2018-08-10 11:03:19,614 NetUtil.py:70 - Connecting to https://node-1:8440/ca
ERROR 2018-08-10 11:03:19,618 NetUtil.py:96 - EOF occurred in violation of protocol (_ssl.c:579)
ERROR 2018-08-10 11:03:19,618 NetUtil.py:97 - SSLError: Failed to connect. Please check openssl library versions. 

solution:

1. Check if OS openssl is the latest version, if not, please update.

[root@node-1 ~]# rpm -qa | grep openssl 
openssl-1.0.1e-57.el6.x86_64
openssl-devel-1.0.1e-57.el6.x86_64

更新openssl
[root@node-1 ~]# yum update openssl

重启ambari-server
[root@node-1 ~]#  ambari-server restart

2. If not possible, modify /etc/pyth/cert-verification. CFG configuration file

verify=disable

modify /etc/ambari-agent/conf/ambari-agent.ini and add the following

in [security]

force_https_protocol=PROTOCOL_TLSv1_2

restart ambari-agent

[root@node-1 ~]#  ambari-agent restart

reference:

https://community.hortonworks.com/questions/145/openssl-error-upon-host-registration.html

Ambari shield big data components

article directory

  • 1. Question:
  • 2. If the Ambari cluster has been successfully deployed, the operation steps are as follows:
  • 3. If the Ambari cluster has not been deployed, the steps are as follows:

1. Question:

  • in the Ambari page, shielding the big data component, make it on the installation page, big data component is not visible to the user, can not be installed.

2. If the Ambari cluster has been successfully deployed, the steps are as follows:

In

  1. /var/lib/ambari - server/resources/sports/HDP/3.1/services directory, delete all the big data component directory and the directory content; Ambari-agent cache: rm-rf /var/lib/ambari-agent/cache/*
  2. restart all ambari-agent nodes: ambari-agent restart

3. If the Ambari cluster has not been deployed, follow these steps:

  1. modify the Ambari source code, in Ambari \ambari-server\ SRC \main\resources\ HDP\3.1\services directory, delete the big data component directory and all contents under the directory;
  2. recompile Ambari source code;
  3. unified deployment of Ambari cluster;