Su Ralph created EAGLE-471:
------------------------------

             Summary: AlertBolt introduce un-serializble member 
                 Key: EAGLE-471
                 URL: https://issues.apache.org/jira/browse/EAGLE-471
             Project: Eagle
          Issue Type: Bug
    Affects Versions: v0.5.0
            Reporter: Su Ralph
            Assignee: Zeng, Bryant
            Priority: Blocker


AlerBolt.executors  

2016-08-16 16:13:32,994 INFO [main] runner.UnitTopologyRunner[160]: Set 
topology.message.timeout.secs as 3600
Exception in thread "main" java.lang.RuntimeException: 
java.io.NotSerializableException: java.util.concurrent.ThreadPoolExecutor
   at 
backtype.storm.serialization.DefaultSerializationDelegate.serialize(DefaultSerializationDelegate.java:43)
    at backtype.storm.utils.Utils.serialize(Utils.java:85)
    at 
backtype.storm.topology.TopologyBuilder.createTopology(TopologyBuilder.java:106)
    at 
org.apache.eagle.alert.engine.runner.UnitTopologyRunner.buildTopology(UnitTopologyRunner.java:144)
    at 
org.apache.eagle.alert.engine.runner.UnitTopologyRunner.run(UnitTopologyRunner.java:168)
    at 
org.apache.eagle.alert.engine.runner.UnitTopologyRunner.run(UnitTopologyRunner.java:193)
    at 
org.apache.eagle.alert.engine.UnitTopologyMain.main(UnitTopologyMain.java:65)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
Caused by: java.io.NotSerializableException: 
java.util.concurrent.ThreadPoolExecutor
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1184)
    at 
java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1548)
    at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1509)
    at 
java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1432)
    at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1178)
    at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:348)
    at 
backtype.storm.serialization.DefaultSerializationDelegate.serialize(DefaultSerializationDelegate.java:39)[4:15]
  
idea里跑UnitTopologyMain



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to