Unfortunately without the minimal code which can reproduce this I'm hard to
dig more.
I followed the path based on stack trace, and it would be
IllegalArgumentException, but it should have message which describes why it
is thrown.
Do you find more stack trace informations on that?

- Jungtaek Lim (HeartSaVioR)

2016년 9월 21일 (수) 오후 3:07, Chen Junfeng <darou...@live.com>님이 작성:

> I have tried on Storm 1.0.2, the same error occurs again:
>
>
>
> 4774 [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__7166$exec_fn__2466__auto__$reify__7195$fn__7196
> invoke nimbus.clj 1462]}]
>
> :trace
>
> [[org.apache.storm.daemon.nimbus$fn__7166$exec_fn__2466__auto__$reify__7195$fn__7196
> invoke nimbus.clj 1462]
>
>
> [org.apache.storm.daemon.nimbus$fn__7166$exec_fn__2466__auto__$reify__7195
> submitTopologyWithOpts nimbus.clj 1459]
>
>
> [org.apache.storm.daemon.nimbus$fn__7166$exec_fn__2466__auto__$reify__7195
> submitTopology nimbus.clj 1531]
>
>   [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 182]]}
>
> 4774 [main] ERROR o.a.s.s.o.a.z.s.NIOServerCnxnFactory - Thread
> Thread[main,5,main] died
>
> org.apache.storm.generated.InvalidTopologyException
>
>        at
> org.apache.storm.daemon.nimbus$fn__7166$exec_fn__2466__auto__$reify__7195$fn__7196.invoke(nimbus.clj:1462)
> ~[storm-core-1.0.2.jar:1.0.2]
>
>        at
> org.apache.storm.daemon.nimbus$fn__7166$exec_fn__2466__auto__$reify__7195.submitTopologyWithOpts(nimbus.clj:1459)
> ~[storm-core-1.0.2.jar:1.0.2]
>
>        at
> org.apache.storm.daemon.nimbus$fn__7166$exec_fn__2466__auto__$reify__7195.submitTopology(nimbus.clj:1531)
> ~[storm-core-1.0.2.jar:1.0.2]
>
>        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> ~[?:1.8.0_102]
>
>        at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> ~[?:1.8.0_102]
>
>        at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> ~[?:1.8.0_102]
>
>        at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_102]
>
>        at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93)
> ~[clojure-1.7.0.jar:?]
>
>        at clojure.lang.Reflector.invokeInstanceMethod(Reflector.java:28)
> ~[clojure-1.7.0.jar:?]
>
>        at
> org.apache.storm.testing$submit_local_topology.invoke(testing.clj:301)
> ~[storm-core-1.0.2.jar:1.0.2]
>
>        at
> org.apache.storm.LocalCluster$_submitTopology.invoke(LocalCluster.clj:49)
> ~[storm-core-1.0.2.jar:1.0.2]
>
>        at org.apache.storm.LocalCluster.submitTopology(Unknown Source)
> ~[storm-core-1.0.2.jar:1.0.2]
>
>        at MainTopology.main(MainTopology.java:182) ~[storm-dpi-0.0.1.jar:?]
>
> 4899 [timer] INFO  o.a.s.d.nimbus - Cleaning up api-6-1473314673
>
> 4916 [timer] INFO  o.a.s.d.nimbus -
> ExceptionKeyNotFoundException(msg:api-6-1473314673-stormjar.jar)
>
> 4928 [timer] INFO  o.a.s.d.nimbus -
> ExceptionKeyNotFoundException(msg:api-6-1473314673-stormconf.ser)
>
> 4935 [timer] INFO  o.a.s.d.nimbus -
> ExceptionKeyNotFoundException(msg:api-6-1473314673-stormcode.ser)
>
> 4935 [timer] INFO  o.a.s.d.nimbus - Cleaning up DPI-15-1473765913
>
> 4946 [timer] INFO  o.a.s.d.nimbus -
> ExceptionKeyNotFoundException(msg:DPI-15-1473765913-stormjar.jar)
>
> 4952 [timer] INFO  o.a.s.d.nimbus -
> ExceptionKeyNotFoundException(msg:DPI-15-1473765913-stormconf.ser)
>
> 4958 [timer] INFO  o.a.s.d.nimbus -
> ExceptionKeyNotFoundException(msg:DPI-15-1473765913-stormcode.ser)
>
> 4959 [timer] INFO  o.a.s.d.nimbus - Cleaning up DPI-13-1473749244
>
> 4968 [timer] INFO  o.a.s.d.nimbus -
> ExceptionKeyNotFoundException(msg:DPI-13-1473749244-stormjar.jar)
>
> 4975 [timer] INFO  o.a.s.d.nimbus -
> ExceptionKeyNotFoundException(msg:DPI-13-1473749244-stormconf.ser)
>
> 4981 [timer] INFO  o.a.s.d.nimbus -
> ExceptionKeyNotFoundException(msg:DPI-13-1473749244-stormcode.ser)
>
>
>
>
>
> *发件人: *Jungtaek Lim <kabh...@gmail.com>
> *发送时间: *2016年9月20日 16:38
> *收件人: *user@storm.apache.org
> *主题: *Re: Cannot submit topology in local mode on Storm 1.0.1
>
>
> 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
>>
>>
>>
>

Reply via email to