mysql
启动mysql
brew services start mysql
abc.ABC.123
集群搭建
按照上面文章的方式搭建,启动hdfs、yarn
1 | # 启动yarn |
hive
create user ‘hadoop‘@’%’ identified by ‘hadoop%HADOOP%123’;
grant all privileges on . to ‘hadoop‘@’%’ with grant option;
flush privileges;
flink on yarn
在flink lib下增加flink-hadoop兼容包Pre-bundled Hadoop 2.7.5
1 | 启动 |
搭建AthenaX
mac install kafka
1 | brew install zookeeper |
修改 /usr/local/etc/kafka/server.properties, 找到 listeners=PLAINTEXT://:9092 那一行,把注释取消掉。
1 | $ brew services start zookeeper |
创建topic
1 | /usr/local/bin/kafka-topics --create --zookeeper localhost:2181 --replication-factor 1 --partitions 1 --topic order-streaming-test |
清理topic
cd /usr/local/var/lib/kafka-logs