Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-673

Suppress "Key not found" exception log with stack trace in OM

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.3.0, 0.4.0
    • None
    • None

    Description

      We have observed too many KNF exception stack trace from OM logs.

      	2018-10-16 21:20:40,248 ERROR org.apache.hadoop.ozone.om.KeyManagerImpl: Get key failed for volume:volume2 bucket:bucket2 key:testo3/.hive-staging_hive_2018-10-16_21-20-29_158_7074026959914132025-1
      	org.apache.hadoop.ozone.om.exceptions.OMException: Key not found
      	        at org.apache.hadoop.ozone.om.KeyManagerImpl.lookupKey(KeyManagerImpl.java:368)
      	        at org.apache.hadoop.ozone.om.OzoneManager.lookupKey(OzoneManager.java:881)
      	        at org.apache.hadoop.ozone.protocolPB.OzoneManagerProtocolServerSideTranslatorPB.lookupKey(OzoneManagerProtocolServerSideTranslatorPB.java:400)
      	        at org.apache.hadoop.ozone.protocol.proto.OzoneManagerProtocolProtos$OzoneManagerService$2.callBlockingMethod(OzoneManagerProtocolProtos.java:39299)
      	        at org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker.call(ProtobufRpcEngine.java:524)
      	        at org.apache.hadoop.ipc.RPC$Server.call(RPC.java:1025)
      	        at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:876)
      	        at org.apache.hadoop.ipc.Server$RpcCall.run(Server.java:822)
      	        at java.security.AccessController.doPrivileged(Native Method)
      	        at javax.security.auth.Subject.doAs(Subject.java:422)
      	        at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1730)
      	        at org.apache.hadoop.ipc.Server$Handler.run(Server.java:2682)
      

      Attachments

        1. HDDS-673.01.patch
          0.9 kB
          Arpit Agarwal

        Activity

          People

            arp Arpit Agarwal
            xyao Xiaoyu Yao
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: