[
https://issues.apache.org/jira/browse/HDFS-13667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bharat Viswanadham updated HDFS-13667:
--------------------------------------
Resolution: Fixed
Fix Version/s: 3.0.4
2.9.2
3.1.1
3.2.0
Status: Resolved (was: Patch Available)
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]