serialization - Apache Storm: Remembering old number of output fields for spout -
after changing spouts declaration single field output 2 cluster seems remember old declaration of output. example
declarer.declare(new fields("usertask"));
to
declarer.declare(new fields("tupletrackingid","usertask"));
this spout has serialized. remembered also.
the error in log states
tuple created wrong number of fields. expected 1 fields got 2 fields
but has new declaration.
questions there way clear history of storm cluster? or clear historically generated serialized object?
or if issue?
for sanity here spout output.
outputcollector.emit(new values(msgid, task), msgid);
thanks
nimbus buffers submitted topologies in storm.local.dir
. should able delete buffered topology there (ie, jar file). but careful: deleting "wrong" files interrupt running topologies!
Comments
Post a Comment