问题描述:
2018-05-14 17:27:50.704 o.a.s.d.supervisor [ERROR] Error on initialization of server mk-supervisor
java.io.FileNotFoundException: File ‘/hadoop/storm/supervisor/stormdist/WarningSimilar-8-1523505001/stormconf.ser’ does not exist
at org.apache.storm.shade.org.apache.commons.io.FileUtils.openInputStream(FileUtils.java:292)
at org.apache.storm.shade.org.apache.commons.io.FileUtils.readFileToByteArray(FileUtils.java:1815)
at org.apache.storm.config
readsupervisorstormconfgivenpath.invoke(config.clj:142)atorg.apache.storm.config
r
e
a
d
s
u
p
e
r
v
i
s
o
r
s
t
o
r
m
c
o
n
f
g
i
v
e
n
p
a
t
h
.
i
n
v
o
k
e
(
c
o
n
f
i
g
.
c
l
j
:
142
)
a
t
o
r
g
.
a
p
a
c
h
e
.
s
t
o
r
m
.
c
o
n
f
i
g
read_supervisor_storm_conf.invoke(config.clj:221)
at org.apache.storm.daemon.supervisor
addblobreferences.invoke(supervisor.clj:495)atorg.apache.storm.daemon.supervisor
a
d
d
b
l
o
b
r
e
f
e
r
e
n
c
e
s
.
i
n
v
o
k
e
(
s
u
p
e
r
v
i
s
o
r
.
c
l
j
:
495
)
a
t
o
r
g
.
a
p
a
c
h
e
.
s
t
o
r
m
.
d
a
e
m
o
n
.
s
u
p
e
r
v
i
s
o
r
fn__7833exec_fn__3537__auto____7834.invoke(supervisor.clj:795)
at clojure.lang.AFn.applyToHelper(AFn.java:160)
at clojure.lang.AFn.applyTo(AFn.java:144)
at clojure.core
exec_fn__3537__auto____7834.invoke(supervisor.clj:795) at clojure.lang.AFn.applyToHelper(AFn.java:160) at clojure.lang.AFn.applyTo(AFn.java:144) at clojure.core
apply.invoke(core.clj:630)
at org.apache.storm.daemon.supervisorfn__7833
fn__7833
mk_supervisor__7878.doInvoke(supervisor.clj:763)
at clojure.lang.RestFn.invoke(RestFn.java:436)
at org.apache.storm.daemon.supervisor
launch.invoke(supervisor.clj:1200)atorg.apache.storm.daemon.supervisor
l
a
u
n
c
h
.
i
n
v
o
k
e
(
s
u
p
e
r
v
i
s
o
r
.
c
l
j
:
1200
)
a
t
o
r
g
.
a
p
a
c
h
e
.
s
t
o
r
m
.
d
a
e
m
o
n
.
s
u
p
e
r
v
i
s
o
r
_main.invoke(supervisor.clj:1233)
at clojure.lang.AFn.applyToHelper(AFn.java:152)
at clojure.lang.AFn.applyTo(AFn.java:144)
at org.apache.storm.daemon.supervisor.main(Unknown Source)
2018-05-14 17:27:50.707 o.a.s.util [ERROR] Halting process: (“Error on initialization”)
java.lang.RuntimeException: (“Error on initialization”)
at org.apache.storm.util
exitprocessBANG.doInvoke(util.clj:341)atclojure.lang.RestFn.invoke(RestFn.java:423)atorg.apache.storm.daemon.supervisor
e
x
i
t
p
r
o
c
e
s
s
B
A
N
G
.
d
o
I
n
v
o
k
e
(
u
t
i
l
.
c
l
j
:
341
)
a
t
c
l
o
j
u
r
e
.
l
a
n
g
.
R
e
s
t
F
n
.
i
n
v
o
k
e
(
R
e
s
t
F
n
.
j
a
v
a
:
423
)
a
t
o
r
g
.
a
p
a
c
h
e
.
s
t
o
r
m
.
d
a
e
m
o
n
.
s
u
p
e
r
v
i
s
o
r
fn__7833mk_supervisor__7878.doInvoke(supervisor.clj:763)
at clojure.lang.RestFn.invoke(RestFn.java:436)
at org.apache.storm.daemon.supervisor
mk_supervisor__7878.doInvoke(supervisor.clj:763) at clojure.lang.RestFn.invoke(RestFn.java:436) at org.apache.storm.daemon.supervisor
_launch.invoke(supervisor.clj:1200)
at org.apache.storm.daemon.supervisor$_main.invoke(supervisor.clj:1233)
at clojure.lang.AFn.applyToHelper(AFn.java:152)
at clojure.lang.AFn.applyTo(AFn.java:144)
at org.apache.storm.daemon.supervisor.main(Unknown Source)
解决方案:
清空{storm.local.dir}配置目录下的内容;
重新启动supervisor