Browse Source

HDFS-14340. Lower the log level when can't get postOpAttr. Contributed by Anuhan Torgonshar.

Wei-Chiu Chuang 5 years ago
parent
commit
098c325a78

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs-nfs/src/main/java/org/apache/hadoop/hdfs/nfs/nfs3/RpcProgramNfs3.java

@@ -1037,7 +1037,7 @@ public class RpcProgramNfs3 extends RpcProgram implements Nfs3Interface {
           dirWcc = Nfs3Utils.createWccData(Nfs3Utils.getWccAttr(preOpDirAttr),
               dfsClient, dirFileIdPath, iug);
         } catch (IOException e1) {
-          LOG.error("Can't get postOpDirAttr for dirFileId: {}",
+          LOG.info("Can't get postOpDirAttr for dirFileId: {}",
               dirHandle.getFileId(), e1);
         }
       }