hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hadoop QA (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-5757) refreshNodes with many nodes at the same time could slow down NN
Date Sat, 02 May 2015 05:06:12 GMT

    [ https://issues.apache.org/jira/browse/HDFS-5757?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14524995#comment-14524995
] 

Hadoop QA commented on HDFS-5757:
---------------------------------

\\
\\
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
| {color:red}-1{color} | patch |   0m  0s | The patch command could not apply the patch during
dryrun. |
\\
\\
|| Subsystem || Report/Notes ||
| Patch URL | http://issues.apache.org/jira/secure/attachment/12685508/HDFS-5757.patch |
| Optional Tests | javadoc javac unit findbugs checkstyle |
| git revision | trunk / f1a152c |
| Console output | https://builds.apache.org/job/PreCommit-HDFS-Build/10685/console |


This message was automatically generated.

> refreshNodes with many nodes at the same time could slow down NN
> ----------------------------------------------------------------
>
>                 Key: HDFS-5757
>                 URL: https://issues.apache.org/jira/browse/HDFS-5757
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>            Reporter: Ming Ma
>            Assignee: Ming Ma
>         Attachments: HDFS-5757.patch
>
>
> Sometimes we need to decomm a whole rack of nodes at the same time. When the decomm is
in process; NN is slow.
> The reason is when DecommissionManager checks the decomm status, it acquires namesystem's
writer lock and iterates through all DNs; for each DN that is in decommissioning state, it
check if replication is done for all the blocks on the machine via blockManager.isReplicationInProgress;
for large cluster; the number of blocks on the machine could be big.
> The fix could be to have DecommissionManager check for several decomm-in-progress nodes
each time it aquires namesystem's writer lock.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message