Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-28369

LLAP proactive eviction fails with NullPointerException

    XMLWordPrintableJSON

Details

    Description

      When hive.llap.io.encode.enabled is false, LLAP proactive eviction fails with NullPointerException as follows:

      java.lang.NullPointerException: null
        at org.apache.hadoop.hive.llap.io.api.impl.LlapIoImpl.evictEntity(LlapIoImpl.java:313) ~[hive-llap-server-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
        at org.apache.hadoop.hive.llap.daemon.impl.LlapProtocolServerImpl.evictEntity(LlapProtocolServerImpl.java:365) ~[hive-llap-server-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
        at org.apache.hadoop.hive.llap.daemon.rpc.LlapDaemonProtocolProtos$LlapManagementProtocol$2.callBlockingMethod(LlapDaemonProtocolProtos.java:33214) ~[hive-exec-4.1.0-SNAPSHOT.jar:4.1.0-SNAPSHOT]
        at org.apache.hadoop.ipc.ProtobufRpcEngine$Server.processCall(ProtobufRpcEngine.java:484) ~[hadoop-common-3.3.6.jar:?]
        at org.apache.hadoop.ipc.ProtobufRpcEngine2$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine2.java:595) ~[hadoop-common-3.3.6.jar:?]
      ...

       

      In fact,  3 caches used by LlapIoImpl.evictEntity() may be null or throw UnsupportedOperationException, so we should check whether it is safe to call markBuffersForProactiveEviction() or not.

      Attachments

        Issue Links

          Activity

            People

              seonggon Seonggon Namgung
              seonggon Seonggon Namgung
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: