DBILITY

ambari client 설치 본문

bigdata/ambari

ambari client 설치

DBILITY 2018. 5. 6. 00:23
반응형

복잡하구만~ㅎㅎ

아무래도 이건 HDP용이 되겠다.

설치해보니 HDP기준의 설정이 되어 있고, Cluster설정 후 새로 설치하게 되어 있다.

ambari-agent.ini안에 보니 headbeat섹션에 dirs가 명시되어 있다. 

그렇다면 ambari server에서 cluster설정 후 hadoop등을 설치하면 저 경로를 사용한다는 거네.

하루가까이 걸려 설치해 알게 된것은 HDP버전으로 설치하면 되겠다.

나중에 해보자.

 

[root@big-master apache-ambari-2.6.2-src]# scp ambari-agent/target/rpm/ambari-agent/RPMS/x86_64/ambari-agent-2.6.2.0-0.x86_64.rpm big-slave1:/root/
[root@big-master apache-ambari-2.6.2-src]# scp ambari-agent/target/rpm/ambari-agent/RPMS/x86_64/ambari-agent-2.6.2.0-0.x86_64.rpm big-slave2:/root/
[root@big-master apache-ambari-2.6.2-src]# scp ambari-agent/target/rpm/ambari-agent/RPMS/x86_64/ambari-agent-2.6.2.0-0.x86_64.rpm big-slave3:/root/
[root@big-master apache-ambari-2.6.2-src]# scp ambari-agent/target/rpm/ambari-agent/RPMS/x86_64/ambari-agent-2.6.2.0-0.x86_64.rpm big-slave4:/root/

#각서버에서
[root@big-slave2 ~]# ls
ambari-agent-2.6.2.0-0.x86_64.rpm  Ambari-DDL-MySQL-CREATE.sql  anaconda-ks.cfg
[root@big-slave2 ~]# yum localinstall ambari-agent-2.6.2.0-0.x86_64.rpm
Loaded plugins: fastestmirror
Examining ambari-agent-2.6.2.0-0.x86_64.rpm: ambari-agent-2.6.2.0-0.x86_64
Marking ambari-agent-2.6.2.0-0.x86_64.rpm to be installed
Resolving Dependencies
--> Running transaction check
---> Package ambari-agent.x86_64 0:2.6.2.0-0 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

======================================================================================================================
 Package                  Arch               Version                 Repository                                  Size
======================================================================================================================
Installing:
 ambari-agent             x86_64             2.6.2.0-0               /ambari-agent-2.6.2.0-0.x86_64             123 M

Transaction Summary
======================================================================================================================
Install  1 Package

Total size: 123 M
Installed size: 123 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
  Installing : ambari-agent-2.6.2.0-0.x86_64                                                                      1/1
  Verifying  : ambari-agent-2.6.2.0-0.x86_64                                                                      1/1

Installed:
  ambari-agent.x86_64 0:2.6.2.0-0

Complete!
[root@big-slave2 ~]#
[root@big-slave2 ~]# vi /etc/ambari-agent/conf/ambari-agent.ini
hostname=big-master
:wq!
[root@big-slave2 ~]# export buildNumber=2.6.2.0.0
[root@big-slave2 ~]# ambari-agent start
Verifying Python version compatibility...
Using python  /usr/bin/python
Checking for previously running Ambari Agent...
Checking ambari-common dir...
Starting ambari-agent
Verifying ambari-agent process status...
Ambari Agent successfully started
Agent PID at: /run/ambari-agent/ambari-agent.pid
Agent out at: /var/log/ambari-agent/ambari-agent.out
Agent log at: /var/log/ambari-agent/ambari-agent.log

 

반응형

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

ambari server 설치  (0) 2018.05.05
Comments