HDFS-16274. Improve error msg for FSNamesystem#startFileInt#3554
Merged
hemanthboyina merged 2 commits intoapache:trunkfrom Oct 15, 2021
Merged
HDFS-16274. Improve error msg for FSNamesystem#startFileInt#3554hemanthboyina merged 2 commits intoapache:trunkfrom
hemanthboyina merged 2 commits intoapache:trunkfrom
Conversation
|
💔 -1 overall
This message was automatically generated. |
|
🎊 +1 overall
This message was automatically generated. |
Contributor
Author
|
Hi @ferhui @ayushtkn @Hexiaoqiao @jojochuang @tasanuma , could you please review this PR. Thanks a lot. |
tasanuma
approved these changes
Oct 15, 2021
Contributor
Author
ayushtkn
approved these changes
Oct 15, 2021
Contributor
Author
|
Thanks @ayushtkn for your review. |
Contributor
|
+1 |
Contributor
|
Belated +1 (non-binding) |
Contributor
Author
|
Thanks @hemanthboyina @virajjasani for your review. |
HarshitGupta11
pushed a commit
to HarshitGupta11/hadoop
that referenced
this pull request
Nov 28, 2022
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
JIRA: HDFS-16274
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:

After the change:
