错误信息

2017-11-13 21:27:30.623 o.a.s.d.worker main [ERROR] Error on initialization of server mk-worker
java.lang.ExceptionInInitializerError: null
at java.nio.file.FileSystems.getDefault(FileSystems.java:176) ~[?:1.8.0_141]
at java.nio.file.Paths.get(Paths.java:84) ~[?:1.8.0_141]
at org.apache.storm.util$is_absolute_path_QMARK_.invoke(util.clj:68) ~[storm-core-1.1.1.jar:1.1.1]
at org.apache.storm.config$absolute_storm_local_dir.invoke(config.clj:94) ~[storm-core-1.1.1.jar:1.1.1]
at org.apache.storm.config$worker_root.invoke(config.clj:293) ~[storm-core-1.1.1.jar:1.1.1]
at org.apache.storm.config$worker_root.invoke(config.clj:295) ~[storm-core-1.1.1.jar:1.1.1]
at org.apache.storm.config$worker_pids_root.invoke(config.clj:299) ~[storm-core-1.1.1.jar:1.1.1]
at org.apache.storm.config$worker_pid_path.invoke(config.clj:307) ~[storm-core-1.1.1.jar:1.1.1]
at org.apache.storm.daemon.worker$fn__5528$exec_fn__1370__auto____5529.invoke(worker.clj:594) ~[storm-core-1.1.1.jar:1.1.1]
at clojure.lang.AFn.applyToHelper(AFn.java:178) ~[clojure-1.7.0.jar:?]
at clojure.lang.AFn.applyTo(AFn.java:144) ~[clojure-1.7.0.jar:?]
at clojure.core$apply.invoke(core.clj:630) ~[clojure-1.7.0.jar:?]
at org.apache.storm.daemon.worker$fn__5528$mk_worker__5619.doInvoke(worker.clj:585) [storm-core-1.1.1.jar:1.1.1]
at clojure.lang.RestFn.invoke(RestFn.java:512) [clojure-1.7.0.jar:?]
at org.apache.storm.daemon.worker$main.invoke(worker.clj:769) [storm-core-1.1.1.jar:1.1.1]
at clojure.lang.AFn.applyToHelper(AFn.java:165) [clojure-1.7.0.jar:?]
at clojure.lang.AFn.applyTo(AFn.java:144) [clojure-1.7.0.jar:?]
at org.apache.storm.daemon.worker.main(Unknown Source) [storm-core-1.1.1.jar:1.1.1]
Caused by: java.security.PrivilegedActionException
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_141]
at java.nio.file.FileSystems$DefaultFileSystemHolder.defaultFileSystem(FileSystems.java:96) ~[?:1.8.0_141]
at java.nio.file.FileSystems$DefaultFileSystemHolder.(FileSystems.java:90) ~[?:1.8.0_141]
... 18 more
Caused by: sun.nio.fs.UnixException: No such file or directory
at sun.nio.fs.UnixNativeDispatcher.getcwd(Native Method) ~[?:1.8.0_141]
at sun.nio.fs.UnixFileSystem.(UnixFileSystem.java:67) ~[?:1.8.0_141]
at sun.nio.fs.LinuxFileSystem.(LinuxFileSystem.java:39) ~[?:1.8.0_141]
at sun.nio.fs.LinuxFileSystemProvider.newFileSystem(LinuxFileSystemProvider.java:46) ~[?:1.8.0_141]
at sun.nio.fs.LinuxFileSystemProvider.newFileSystem(LinuxFileSystemProvider.java:39) ~[?:1.8.0_141]
at sun.nio.fs.UnixFileSystemProvider.(UnixFileSystemProvider.java:56) ~[?:1.8.0_141]
at sun.nio.fs.LinuxFileSystemProvider.(LinuxFileSystemProvider.java:41) ~[?:1.8.0_141]
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) ~[?:1.8.0_141]
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62) ~[?:1.8.0_141]
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45) ~[?:1.8.0_141]
at java.lang.reflect.Constructor.newInstance(Constructor.java:423) ~[?:1.8.0_141]
at java.lang.Class.newInstance(Class.java:442) ~[?:1.8.0_141]
at sun.nio.fs.DefaultFileSystemProvider.createProvider(DefaultFileSystemProvider.java:48) ~[?:1.8.0_141]
at sun.nio.fs.DefaultFileSystemProvider.create(DefaultFileSystemProvider.java:63) ~[?:1.8.0_141]
at java.nio.file.FileSystems$DefaultFileSystemHolder.getDefaultProvider(FileSystems.java:108) ~[?:1.8.0_141]
at java.nio.file.FileSystems$DefaultFileSystemHolder.access$000(FileSystems.java:89) ~[?:1.8.0_141]
at java.nio.file.FileSystems$DefaultFileSystemHolder$1.run(FileSystems.java:98) ~[?:1.8.0_141]
at java.nio.file.FileSystems$DefaultFileSystemHolder$1.run(FileSystems.java:96) ~[?:1.8.0_141]
at java.security.AccessController.doPrivileged(Native Method) ~[?:1.8.0_141]
at java.nio.file.FileSystems$DefaultFileSystemHolder.defaultFileSystem(FileSystems.java:96) ~[?:1.8.0_141]
at java.nio.file.FileSystems$DefaultFileSystemHolder.(FileSystems.java:90) ~[?:1.8.0_141]
... 18 more
2017-11-13 21:27:30.835 o.a.s.util main [ERROR] Halting process: ("Error on initialization")
java.lang.RuntimeException: ("Error on initialization")
at org.apache.storm.util$exit_process_BANG
.doInvoke(util.clj:341) [storm-core-1.1.1.jar:1.1.1]
at clojure.lang.RestFn.invoke(RestFn.java:423) [clojure-1.7.0.jar:?]
at org.apache.storm.daemon.worker$fn__5528$mk_worker__5619.doInvoke(worker.clj:585) [storm-core-1.1.1.jar:1.1.1]
at clojure.lang.RestFn.invoke(RestFn.java:512) [clojure-1.7.0.jar:?]
at org.apache.storm.daemon.worker$_main.invoke(worker.clj:769) [storm-core-1.1.1.jar:1.1.1]
at clojure.lang.AFn.applyToHelper(AFn.java:165) [clojure-1.7.0.jar:?]
at clojure.lang.AFn.applyTo(AFn.java:144) [clojure-1.7.0.jar:?]
at org.apache.storm.daemon.worker.main(Unknown Source) [storm-core-1.1.1.jar:1.1.1]

推测及解决

1)运行程序的时候,我的虚拟机集群正在快速的生产数据(Kafka),导致网络被打满。
2)网络被打满导致访问storm ui http://node01:8080/ 都失败了。
3)既然是找不到文件的错误,我尝试查看了/export/data/storm/supervisor/stormdist目录,发现并没有我上传的jar包。
于是,我关闭了kafka的生产者,集群恢复正常。
一些建议:
1)建议关闭掉其他耗性能的服务,或者重启虚拟机。这种诡异的问题,应该是supervisor在拉取用户的jar包网络中断产生的。

标签: none

相关文章推荐

添加新评论,含*的栏目为必填