This is an automated email from the ASF dual-hosted git repository.

weichiu pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 0514540  HDFS-14339. Inconsistent log level practices in 
RpcProgramNfs3.java. Contributed by Anuhan Torgonshar.
0514540 is described below

commit 05145404d54c6c3cc65833d317977ba12599514d
Author: Wei-Chiu Chuang <weic...@apache.org>
AuthorDate: Mon Jun 24 08:30:48 2019 -0700

    HDFS-14339. Inconsistent log level practices in RpcProgramNfs3.java. 
Contributed by Anuhan Torgonshar.
---
 .../src/main/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 ea5cdce..cb46f44 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,


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to