tianhang tang created HBASE-27873:
-------------------------------------

             Summary: Asyncfs may print too many WARN logs when replace writer
                 Key: HBASE-27873
                 URL: https://issues.apache.org/jira/browse/HBASE-27873
             Project: HBase
          Issue Type: Improvement
            Reporter: tianhang tang
            Assignee: tianhang tang
         Attachments: image-2023-05-18-15-51-33-823.png

When we use Asyncfs for WAL, could see many WARN logs like this:

!image-2023-05-18-15-51-33-823.png!

namenode#complete is a relatively heavy operation, and sometimes it takes 
seconds.

So we can reduce this log, just as what 
[DFSOutputStream#completeFile|[http://example.com|https://github.com/apache/hadoop/blob/706d88266abcee09ed78fbaa0ad5f74d818ab0e9/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DFSOutputStream.java#L975]]
 do.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to