From c64018026e66b437533d1fdea4b0d92a209e9054 Mon Sep 17 00:00:00 2001 From: Arpit Agarwal Date: Thu, 18 Oct 2018 11:51:16 -0700 Subject: [PATCH] HDDS-673. Suppress "Key not found" exception log with stack trace in OM. Contributed by Arpit Agarwal. --- .../main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java index af813ed2dc..340197f588 100644 --- a/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java +++ b/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/KeyManagerImpl.java @@ -370,7 +370,7 @@ public OmKeyInfo lookupKey(OmKeyArgs args) throws IOException { } return OmKeyInfo.getFromProtobuf(KeyInfo.parseFrom(value)); } catch (IOException ex) { - LOG.error("Get key failed for volume:{} bucket:{} key:{}", + LOG.debug("Get key failed for volume:{} bucket:{} key:{}", volumeName, bucketName, keyName, ex); throw new OMException(ex.getMessage(), OMException.ResultCodes.FAILED_KEY_NOT_FOUND);