You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by WSJian <52...@qq.com> on 2021/02/23 05:44:22 UTC
hdfs file exception:kylin_metadata/stream/kafka_Streaming_cube/xxxxxxxxxxxxxxx_xxxxxxxxxxxxxx does not exist
KYLIN 3.1.1
KAFKA 2.4.0
启动kylin.sh验证环境通过,按照官方的步骤进行设置
http://kylin.apache.org/docs/tutorial/realtime_olap.html
经过操作之后,同时也启动了Receiver Process,由于端口号9090冲突,我将其kylin.stream.node修改为9094,然后启动命令:
sh bin/kylin.sh streaming start启动成功,按照教程添加Streaming,第一次成功运行,也可以通过sql查询查到该表信息。
但是在服务器上挂了一晚上之后,发现monitor显示构建error,在第一步显示
hdfs file exception:kylin_metadata/stream/kafka_Streaming_cube/xxxxxxxxxxxxxxx_xxxxxxxxxxxxxx does not exist这个错误。
进入hue查看,果然没有该文件夹和文件。
首先拷贝一份该cube,然后删除该buile和该cube,发现hdfs下的kafka_Streaming_cube文件夹消失。
重新enable该cube,发现System处的Streaming没有反应。sql查询也没有数据,按理应该执行了。Segment也没有信息显示。
按照官方教程
If you find you have messed up and want to clean up, please remove streaming metadata in Zookeeper.
This can be done by executing in shell. By default, the root dir of streaming metadata is under + + .
For example, if you set to , set to , you should delete path .rmr PATH_TO_DELETEzookeeper-clientkylin.env.zookeeper-base-pathkylin.metadata.url/streamky但是进入zookeeper客户端zkCli.sh后
ls /只显示自己配置的zookeeper path,如何删除该path,不太明白。
现在是只能全部删除然后重建吗?