[
https://issues.apache.org/jira/browse/HDFS-13667?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16507205#comment-16507205
]
Bharat Viswanadham edited comment on HDFS-13667 at 6/9/18 11:52 PM:
--------------------------------------------------------------------
I have committed this to trunk, branch-2.9, branch-3.0 and branch-3.1.
Thank You [~nandakumar131] for fixing the issue, [~shashikant] for review and
[~jojochuang] for reporting it.
was (Author: bharatviswa):
Thank You [~nandakumar131] for fixing the issue, [~shashikant] for review and
[~jojochuang] for reporting it.
> Typo: Marking all "datandoes" as stale
> --------------------------------------
>
> Key: HDFS-13667
> URL: https://issues.apache.org/jira/browse/HDFS-13667
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: namenode
> Reporter: Wei-Chiu Chuang
> Assignee: Nanda kumar
> Priority: Trivial
> Fix For: 3.2.0, 3.1.1, 2.9.2, 3.0.4
>
> Attachments: HDFS-13667.000.patch
>
>
> {code:title=DatanodeManager#markAllDatanodesStale}
> public void markAllDatanodesStale() {
> LOG.info("Marking all datandoes as stale");
> synchronized (this) {
> for (DatanodeDescriptor dn : datanodeMap.values()) {
> for(DatanodeStorageInfo storage : dn.getStorageInfos()) {
> storage.markStaleAfterFailover();
> }
> }
> }
> }
> {code}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]