kudu master: edphost2~4
kudu-tserver: edphost2~6
1. kudu安装
kudu最新安装包
https://github.com/MartinWeindel/kudu-rpm/releases/download/v1.7.0-1/kudu-1.7.0-1.x86_64.rpm
yum localinstall /app/kudu-1.7.0-1.x86_64.rpm -y
2. kudu配置
master各节点服务默认配置
vim /etc/kudu/conf/master.gflagfile
--master_addresses=edphost2:7051, edphost3:7051, edphost4:7051
--log_dir=/data4/kudu/master/logs
--fs_wal_dir=/data4/kudu/master/wal
--fs_data_dirs=/data4/kudu/master/data
--unlock_unsafe_flags=true
--allow_unsafe_replication_factor=true
--default_num_replicas=3
--rpc_negotiation_timeout_ms=300000
--rpc-encryption=disabled
--rpc_authentication=disabled
--use_hybrid_clock=false
tserver各节点服务默认配置
vim /etc/kudu/conf/tserver.gflagfile
--tserver_master_addrs=edphost2:7051, edphost3:7051, edphost4:7051
--log_dir=/data4/kudu/tserver/logs
--fs_wal_dir=/data4/kudu/tserver/wal
--fs_data_dirs=/data4/kudu/tserver/data
--unlock_unsafe_flags=true
--allow_unsafe_replication_factor=true
--default_num_replicas=3
--rpc_negotiation_timeout_ms=300000
--rpc-encryption=disabled
--rpc_authentication=disabled
--use_hybrid_clock=false
目录需要提前创建并授权
mkdir -p /data4/kudu/master/logs
mkdir -p /data4/kudu/master/wal
mkdir -p /data4/kudu/master/data
mkdir -p /data4/kudu/tserver/logs
mkdir -p /data4/kudu/tserver/wal
mkdir -p /data4/kudu/tserver/data
chown -R kudu:kudu /data4/kudu
3. 启动
kudu-master节点启动kudu-master
systemctl start kudu-master
kudu-tserver节点启动kudu-tserver
systemctl start kudu-tserver
4. 端口
master tcp端口:7051
master http端口:7050
tserver tcp端口:8051
tserver http端口:8050
网友评论