drill-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Khurram Faraaz (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DRILL-6308) Exception handling - OOM
Date Wed, 04 Apr 2018 21:31:00 GMT
Khurram Faraaz created DRILL-6308:

             Summary: Exception handling - OOM
                 Key: DRILL-6308
                 URL: https://issues.apache.org/jira/browse/DRILL-6308
             Project: Apache Drill
          Issue Type: Bug
          Components: Execution - Flow
    Affects Versions: 1.14.0
            Reporter: Khurram Faraaz
            Assignee: Sorabh Hamirwasia

For RpcHandlers in Drill, when there is an OutOfMemory condition ,then all the handlers call
OutOfMemoryHandler with the caught exception. Every channel, except for DataServer the default
instance of MemoryHandler is used which throws UnsupportedOperationException. This is misleading
since actual exception is for OutOfMemory not UnsupportedOperationException.


Here is an example where it is not handled the right way.
Caused by: java.lang.UnsupportedOperationException: null
        at org.apache.drill.exec.rpc.OutOfMemoryHandler$1.handle(OutOfMemoryHandler.java:25)
        at org.apache.drill.exec.rpc.SaslEncryptionHandler.encode(SaslEncryptionHandler.java:170)
        at org.apache.drill.exec.rpc.SaslEncryptionHandler.encode(SaslEncryptionHandler.java:44)
        at io.netty.handler.codec.MessageToMessageEncoder.write(MessageToMessageEncoder.java:88)
        ... 25 common frames omitted{noformat}

This message was sent by Atlassian JIRA

View raw message