storm '*/stormconf.ser' does not exist 问题

来源:互联网 发布:java访问oracle数据库 编辑:程序博客网 时间:2024/04/30 11:09

storm 测试集群上一个supervisor 挂掉,查看日志发现:

java.io.FileNotFoundException: File '/home/q/storm/storm-data/supervisor/stormdist/Track_NotFind-66-1372059953/stormconf.ser' does not exist
        at org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:137)
        at org.apache.commons.io.FileUtils.readFileToByteArray(FileUtils.java:1135)

        ……

重启依然会出错,导致重启不了


到网上查了一下,发现是storm本身的bug。


Nathan Marz
2月19日
Re: [storm-user] Re: Storm 0.8.2 - stormconf.ser does not exist
将帖子翻译为中文  
Hi Michael,

I believe I've now fixed this bug. Try out 0.9.0-wip16 and let me know how it goes. Alternatively you can apply this patch to 0.8.2 and build your own release with only this change:

https://github.com/nathanmarz/storm/commit/414af600ab08c4cdd7cefc0205ac95036af64c1e

Let me know how it goes.

目前我所使用的是 0.8.1 版本,storm的作者说在 0.9.0-wip16 这个版本修改了这个bug


可以手动解决:

           将 { storm.local.dir } 目录下的文件清空,重启就好了。

原创粉丝点击