Hadoop生態圈-Cloudera Manager的基本使用
作者:尹正傑
版權聲明:原創作品,謝絕轉載!否則將追究法律責任。
1>.ClouderaManager功能
1.1>.管理監控集群主機(主要監控硬件和軟件的信息);
1.2>.同一管理配置(主要是針對服務,比如hdfs,hbase等等);
1.3>.管理維護Hadoop平台系統;
2>.ClouderaManager的一些常見名詞
2.1>.主機-host
2.2>.機架-rack
2.3>.集群-cluster
2.4>.服務-service
2.5>.服務實例-service instance
2.6>.角色-role
2.7>.角色實例-role instance
2.8>.角色組-role group
2.9>.主機模板-host template
2.10>.parcle
2.11>.靜態服務池-static Server pool
2.12>.動態資源池-dynamic resource pool
3>.集群管理
3.1>.添加,刪除集群;
3.2>.啟動,停止,重啟集群;
3.3>.重命名集群;
3.4>.全體集群配置;
3.5>.移動主機;
4>.主機管理
4.1>.查看主機詳細;
4.2>.主機檢查;
4.3>.集群添加主機;
4.4>.分配支架;
4.5>.主機模板;
4.6>.維護模式;
4.7>.刪除主機;
5>.服務管理
5.1>.添加服務
5.2>.對比不同集群的服務配置
5.3>.啟動,停止,重啟服務
5.4>.滾動重啟
5.5>.終止客戶端正在執行的命令
5.6>.刪除服務
5.7>.重命名服務
5.8>.配置最大進程數(rlimit_fds)
6>.
7>.
8>.
二.添加服務案例
1>.點擊添加服務

2>.選擇你想要添加的服務

3>.將Hive添加到集群中

4>.數據庫設置
[root@node101 ~]# mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 23 Server version: 5.6.38 MySQL Community Server (GPL) Copyright (c) 2000, 2017, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> mysql> CREATE DATABASE hive DEFAULT CHARACTER SET utf8; Query OK, 1 row affected (0.09 sec) mysql> GRANT ALL ON hive.* TO 'hive'@'172.30.1.10%' IDENTIFIED BY 'yinzhengjie'; Query OK, 0 rows affected (0.14 sec) mysql> FLUSH PRIVILEGES; Query OK, 0 rows affected (0.04 sec) mysql>

5>.
6>.
7>.
8>.
9>.
