【发布时间】:2016-08-31 15:49:36
【问题描述】:
我正在使用 hortonworks 上的 Storm 在 Hbase 和 Hive 中进行实时数据摄取,并且我开发了 Storm 拓扑以从 kafka 代理接收数据,拓扑已提交我可以看到我的 kafkaspout 和我的两个螺栓,但是,我不知道为什么我的kafkaSpout 不使用来自 Kafka Brokers 的消息,但是当我可视化拓扑时:0% 数据已被消耗!!
我的hdfsbolt 也有错误:
java.lang.RuntimeException: Error preparing HdfsBolt: Permission denied: user=storm, access=WRITE, inode="/infos-cliens-v4/staging/infosClientshdfsBolt-4-0-1462472414665.txt":hdfs:hdfs:drwxr-xr-x at
我的@ip 是192.168.1.78
我想我必须修复属性文件,但我不知道如何:
#Broker host
kafka.zookeeper.host.port=localhost
#Kafka topic to consume.
kafka.topic=TOPICINFORMATIONSCLIENTS
#Location in ZK for the Kafka spout to store state.
kafka.zkRoot=/infos_clients_sprout
#Kafka Spout Executors.
spout.thread.count=1
#hdfs bolt settings
hdfs.path=/infos-cliens-v4
hdfs.url=hdfs://sandbox.hortonworks.com:8020
hdfs.file.prefix=infosClients
#data will be moved from hdfs to the hive partition
#on the first write after the 1st minute.
hdfs.file.rotation.time.minutes=1
#hbase bolt settings
hbase.persist.all.events=false
PLZ Help me
【问题讨论】:
标签: java hive hbase apache-kafka apache-storm