What happens if you run it in single / local mode on a supervisor? On Tue, Sep 20, 2016 at 1:37 AM, Jungtaek Lim <kabh...@gmail.com> wrote:
> Hi Chen, > > Could you try running your topology with Storm 1.0.2 in local mode? Since > it's in local mode you can easily try it out. > > Thanks, > Jungtaek Lim (HeartSaVioR) > > 2016년 9월 20일 (화) 오후 5:26, Chen Junfeng <k-2f...@hotmail.com>님이 작성: > >> My topology runs well in cluster mode but throws exceptions when it is >> submitted in local mode. It makes the debug work so tough. >> >> The error is: >> >> >> >> 4842 [main] INFO o.a.s.l.ThriftAccessLogger - Request ID: 1 access >> from: principal: operation: submitTopology >> >> 4857 [main] WARN o.a.s.d.nimbus - Topology submission exception. >> (topology name='DPI') #error { >> >> :cause nil >> >> :via >> >> [{:type org.apache.storm.generated.InvalidTopologyException >> >> :message nil >> >> :at >> [org.apache.storm.daemon.nimbus$fn__7064$exec_fn__2461__auto__$reify__7093$fn__7094 >> invoke nimbus.clj 1475]}] >> >> :trace >> >> [[org.apache.storm.daemon.nimbus$fn__7064$exec_fn__2461__auto__$reify__7093$fn__7094 >> invoke nimbus.clj 1475] >> >> [org.apache.storm.daemon.nimbus$fn__7064$exec_fn__2461__auto__$reify__7093 >> submitTopologyWithOpts nimbus.clj 1472] >> >> [org.apache.storm.daemon.nimbus$fn__7064$exec_fn__2461__auto__$reify__7093 >> submitTopology nimbus.clj 1544] >> >> [sun.reflect.NativeMethodAccessorImpl invoke0 >> NativeMethodAccessorImpl.java -2] >> >> [sun.reflect.NativeMethodAccessorImpl invoke >> NativeMethodAccessorImpl.java 62] >> >> [sun.reflect.DelegatingMethodAccessorImpl invoke >> DelegatingMethodAccessorImpl.java 43] >> >> [java.lang.reflect.Method invoke Method.java 498] >> >> [clojure.lang.Reflector invokeMatchingMethod Reflector.java 93] >> >> [clojure.lang.Reflector invokeInstanceMethod Reflector.java 28] >> >> [org.apache.storm.testing$submit_local_topology invoke testing.clj 301] >> >> [org.apache.storm.LocalCluster$_submitTopology invoke LocalCluster.clj >> 49] >> >> [org.apache.storm.LocalCluster submitTopology nil -1] >> >> [MainTopology main MainTopology.java 178]]} >> >> >> >> >> >> No detailed error message can be found in error log. >> >> >> >> Thanks. >> >> >> >> Regards, >> >> Junfeng Chen >> >> >> > -- 是故勝兵先勝而後求戰,敗兵先戰而後求勝。