Aaron Gresch created STORM-3079:
-----------------------------------

             Summary: improve getMessage support for ThriftExceptions
                 Key: STORM-3079
                 URL: https://issues.apache.org/jira/browse/STORM-3079
             Project: Apache Storm
          Issue Type: Bug
    Affects Versions: 2.0.0
            Reporter: Aaron Gresch
            Assignee: Aaron Gresch


I've seen error callstacks similar to this and been confused as to the null 
message.  The generated thrift code does not support getMessage().  We should 
try and improve the log messages.

 
2018-05-16 21:15:04.596 o.a.s.d.n.Nimbus timer [INFO] Exception {}
org.apache.storm.generated.KeyNotFoundException: null        at 
org.apache.storm.blobstore.LocalFsBlobStore.getStoredBlobMeta(LocalFsBlobStore.java:258)
 ~[storm-server-2.0.0.y.jar:2.0.0.y]
        at 
org.apache.storm.blobstore.LocalFsBlobStore.getBlob(LocalFsBlobStore.java:393) 
~[storm-server-2.0.0.y.jar:2.0.0.y]
        at org.apache.storm.blobstore.BlobStore.readBlobTo(BlobStore.java:310) 
~[storm-client-2.0.0.y.jar:2.0.0.y]
        at org.apache.storm.blobstore.BlobStore.readBlob(BlobStore.java:339) 
~[storm-client-2.0.0.y.jar:2.0.0.y]
        at 
org.apache.storm.daemon.nimbus.TopoCache.readTopology(TopoCache.java:67) 
~[storm-server-2.0.0.y.jar:2.0.0.y]
        at 
org.apache.storm.daemon.nimbus.Nimbus.readStormTopologyAsNimbus(Nimbus.java:670)
 ~[storm-server-2.0.0.y.jar:2.0.0.y]
        at 
org.apache.storm.daemon.nimbus.Nimbus.rmDependencyJarsInTopology(Nimbus.java:2333)
 ~[storm-server-2.0.0.y.jar:2.0.0.y]
        at org.apache.storm.daemon.nimbus.Nimbus.doCleanup(Nimbus.java:2387) 
~[storm-server-2.0.0.y.jar:2.0.0.y]
        at 
org.apache.storm.daemon.nimbus.Nimbus.lambda$launchServer$37(Nimbus.java:2674) 
~[storm-server-2.0.0.y.jar:2.0.0.y]
        at org.apache.storm.StormTimer$1.run(StormTimer.java:111) 
~[storm-client-2.0.0.y.jar:2.0.0.y]
        at org.apache.storm.StormTimer$StormTimerTask.run(StormTimer.java:227) 
~[storm-client-2.0.0.y.jar:2.0.0.y]



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to