启动命令
kafka
bin/kafka-server-start.sh config/server.properties &
Hbase
bin/hbase-daemon.sh start master bin/hbase-daemon.sh start regionserver
Hbase 默认端口
16010
s
bin/kafka-topics.sh --zookeeper hadoop.slave01:2181 --create --topic ct --partitions 3 --replication-factor 2 java -jar ct_product.jar /opt/module/data/contact.log /opt/module/data/call.log bin/kafka-console-consumer.sh --zookeeper hadoop.slave01:2181 --topic ct bin/flume-ng agent -c conf/ -n a1 -f job/flume-kafka.conf
hbase
ln -s /usr/local/hadoop/hadoop-2.7.6/etc/hadoop/core-site.xml /opt/module/hbase/hbase-1.3.1/conf/core-site.xml