You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "tomscut (Jira)" <ji...@apache.org> on 2021/10/14 15:58:00 UTC

[jira] [Created] (HDFS-16274) Improve log for FSNamesystem#startFileInt

tomscut created HDFS-16274:
------------------------------

             Summary: Improve log for FSNamesystem#startFileInt
                 Key: HDFS-16274
                 URL: https://issues.apache.org/jira/browse/HDFS-16274
             Project: Hadoop HDFS
          Issue Type: Improvement
            Reporter: tomscut
            Assignee: tomscut
         Attachments: image-2021-10-14-23-52-53-100.png, image-2021-10-14-23-55-04-133.png

When the blocksize of a file is smaller than dfs.namenode.fs-limits.min-block-size, an IOE will be thrown. In current exception messages, it is easy to confuse the value of blocksize with the value of dfs.namenode.fs-limits.min-block-size. 

Before the change:

!image-2021-10-14-23-55-04-133.png|width=678,height=111!

After the change:

!image-2021-10-14-23-52-53-100.png|width=710,height=63!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org