[
https://issues.apache.org/jira/browse/HDFS-11060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15614946#comment-15614946
]
ASF GitHub Bot commented on HDFS-11060:
---------------------------------------
GitHub user LantaoJin opened a pull request:
https://github.com/apache/hadoop/pull/148
HDFS-11060. Make DEFAULT_MAX_CORRUPT_FILEBLOCKS_RETURNED configurable
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/LantaoJin/hadoop trunk
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/hadoop/pull/148.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #148
----
commit 22f84270cb3df968a3bb1513d31f37bdb5671339
Author: LantaoJin <[email protected]>
Date: 2016-10-28T09:48:38Z
HDFS-11060. Make DEFAULT_MAX_CORRUPT_FILEBLOCKS_RETURNED configurable
----
> make DEFAULT_MAX_CORRUPT_FILEBLOCKS_RETURNED configurable
> ---------------------------------------------------------
>
> Key: HDFS-11060
> URL: https://issues.apache.org/jira/browse/HDFS-11060
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs
> Reporter: Lantao Jin
> Priority: Minor
>
> Current, the easiest way to determine which blocks is missing is using NN web
> UI or JMX. Unfortunately, because the
> DEFAULT_MAX_CORRUPT_FILEBLOCKS_RETURNED=100 is hard code in FSNamesystem,
> only 100 missing blocks can be return by UI and JMX. Even the result of URL
> "https://nn:50070/fsck?listcorruptfileblocks=1&path=%2F" is limited by this
> hard code value too.
> I did know FSCK can return more than 100 result but due to the security
> reason(with kerberos), it is very hard to involve to costumer programs and
> scripts.
> So I think it should add a configurable var "maxCorruptFileBlocksReturned" to
> fix above case.
> If community also think it's worth to do, I will patch this. If not, please
> feel free to tell me the reason.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]