2017-01-12 3 views

답변

9

당신은 사육사가 들어있는 REPO를 추가해야합니다. 다음과 같이 할 수 있습니다 :

yum install https://archive.cloudera.com/cdh5/one-click-install/redhat/7/x86_64/cloudera-cdh-5-0.x86_64.rpm 

이후 사육사를 정상적으로 설치할 수 있습니다.

여기 문서를 참조하십시오 : 당신은 클라우 데라에서 타사의 repo를 설치하지 않으려는 경우

http://www.cloudera.com/documentation/enterprise/5-8-x/topics/cdh_ig_zookeeper_package_install.html http://www.cloudera.com/documentation/enterprise/5-8-x/topics/cdh_ig_cdh5_install.html

5

또 다른 대답은 당신이 Apache Bigtop REPO를 사용할 수 있습니다. 아파치는 사육사의 실제 관리자입니다. 그것을 작성으로

단순히 yum install zookeeper을 실행하여 CentOS는 7

이것은 당신이 사육사를 설치하게됩니다에 this repo file입니다.

불행히도이 패키지에는 systemd 서비스 파일이 포함되어 있지 않으므로 직접 작성해야하지만 매우 어렵지는 않습니다.

[Unit] 
Description=Zookeeper 
After=syslog.target 

[Service] 
SyslogIdentifier=zookeeper 
TimeoutStartSec=10min 
Type=forking 
ExecStart=/usr/lib/zookeeper/bin/zkServer.sh start 
ExecStop=/usr/lib/zookeeper/bin/zkServer.sh stop 

[Install] 
WantedBy=multi-user.target