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