stormconf.ser does not exist

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。

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:
 
 
Let me know how it goes.

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

可以手动解决:

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

原文地址:https://www.cnblogs.com/yunkong/p/4475434.html