- Flamingo 개요
- CentOS에서 Flamingo 설치
- 참고 문헌
하둡 관리 도구인 Flamingo를 정리 합니다.
홈페이지 : http://sourceforge.net/projects/hadoop-manager/, http://wiki.opencloudengine.org/pages/viewpage.action?pageId=819212
다운로드 :
라이선스 : GNU GPLv2
플랫폼 : Java
Flamingo 개요
CentOS에서 Flamingo 설치
Flamingo 설치
wget http://jaist.dl.sourceforge.net/project/hadoop-manager/1.1%20GA/flamingo-web-services-1.1-GA_korean.tar.gz
tar xvfz flamingo-web-services-1.1-GA_korean.tar.gz
chmod -R hduser:hdgroup flamingo-web-services-1.1-GA_korean
mv flamingo-web-services-1.1-GA_korean /nas/appl/flamingoWeb
wget http://jaist.dl.sourceforge.net/project/hadoop-manager/1.1%20GA/flamingo-workflow-engine-1.1-GA_korean.tar.gz
tar xvfz flamingo-workflow-engine-1.1-GA_korean.tar.gz
chmod -R hduser:hdgroup flamingo-workflow-engine-1.1-GA_korean
mv flamingo-workflow-engine-1.1-GA_korean /nas/appl/flamingoEngine
Database 생성
createDatabase flamingo flamingo flamingo demo1234 demo1234
mysql -uflamingo -pdemo1234 flamingo
source /nas/appl/flamingoWeb/database/flamingo.sql
source /nas/appl/flamingoEngine/database/flamingo.sql
INSERT INTO HADOOP_CLUSTER VALUES (1, 'node201 Cluster', 'node201.hadoop.com', 9000, 'hdfs://node201.hadoop.com:9000', 'node201.hadoop.com', 9001, 'http://node201.hadoop.com:50070', 'http://node201.hadoop.com:50030', 50070, 50030);
INSERT INTO HIVE_SERVER VALUES (1, 'node201 Server', 'org.gjt.mm.mysql.Driver', 'jdbc:mysql://localhost:3306/hive?useUnicode=true&characterEncoding=UTF-8', 'hive', 'demo1234', 'thrift://node201.hadoop.com:10000', 'jdbc:mysql://localhost:3306/hive?useUnicode=true&characterEncoding=UTF-8', 'hive');
INSERT INTO ENGINE VALUES (1, 'node201 Server', 'node201.hadoop.com', '8082', 1, 1);
commit
exit
cp mysql-connector-java-5.1.27-bin.jar /nas/appl/flamingoWeb/webapps/ROOT/WEB-INF/lib
cp mysql-connector-java-5.1.27-bin.jar /nas/appl/flamingoEngine/webapps/ROOT/WEB-INF/lib
Flamingo 환경 설정
vi /nas/appl/flamingoWeb/conf/server.xml
#--- 8080 port를 8081 port로 변경
cd /nas/appl/flamingoWeb/webapps/ROOT/WEB-INF
vi config-dev.properties config-prd.properties
#--- DB 설정 정보 변경
vi /nas/appl/flamingoEngine/conf/server.xml
#--- 8080 port를 8082 port로 변경
cd /nas/appl/flamingoEngine/webapps/ROOT/WEB-INF
vi config-dev.properties config-prd.properties
#--- DB 설정 정보 변경
Flamingo 기동/종료
cd /nas/appl/flamingoWeb/bin
./startup.sh
./shutdown.sh
cd /nas/appl/flamingoEngine/bin
./startup.sh
./shutdown.sh
Flamingo 접속
http://node201.hadoop.com:8081/, admin/amdin
http://node201.hadoop.com:8082/, admin/admin
참고 문헌
분류: BigData
최종 수정일: 2024-09-30 12:26:18
이전글 :
다음글 :