From 05145404d54c6c3cc65833d317977ba12599514d Mon Sep 17 00:00:00 2001 From: Wei-Chiu Chuang Date: Mon, 24 Jun 2019 08:30:48 -0700 Subject: [PATCH] HDFS-14339. Inconsistent log level practices in RpcProgramNfs3.java. Contributed by Anuhan Torgonshar. --- .../java/org/apache/hadoop/hdfs/nfs/nfs3/RpcProgramNfs3.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/RpcProgramNfs3.java b/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/RpcProgramNfs3.java index ea5cdceffd9..cb46f449a1f 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/RpcProgramNfs3.java +++ b/hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/RpcProgramNfs3.java @@ -1836,7 +1836,7 @@ public class RpcProgramNfs3 extends RpcProgram implements Nfs3Interface { try { attr = writeManager.getFileAttr(dfsClient, childHandle, iug); } catch (IOException e) { - LOG.error("Can't get file attributes for fileId: {}", fileId, e); + LOG.info("Can't get file attributes for fileId: {}", fileId, e); continue; } entries[i] = new READDIRPLUS3Response.EntryPlus3(fileId, @@ -1853,7 +1853,7 @@ public class RpcProgramNfs3 extends RpcProgram implements Nfs3Interface { try { attr = writeManager.getFileAttr(dfsClient, childHandle, iug); } catch (IOException e) { - LOG.error("Can't get file attributes for fileId: {}", fileId, e); + LOG.info("Can't get file attributes for fileId: {}", fileId, e); continue; } entries[i] = new READDIRPLUS3Response.EntryPlus3(fileId,