FAQ
Balancer utilization classification is not complete
---------------------------------------------------

Key: HDFS-1748
URL: https://issues.apache.org/jira/browse/HDFS-1748
Project: Hadoop HDFS
Issue Type: Bug
Components: balancer
Reporter: Tsz Wo (Nicholas), SZE
Attachments: h1748_20110310.patch

{code}
//Balancer.java
/* Return true if the given datanode is overUtilized */
private boolean isOverUtilized(BalancerDatanode datanode) {
return datanode.utilization > (avgUtilization+threshold);
}

/* Return true if the given datanode is above average utilized
* but not overUtilized */
private boolean isAboveAvgUtilized(BalancerDatanode datanode) {
return (datanode.utilization <= (avgUtilization+threshold))
&& (datanode.utilization > avgUtilization);
}

/* Return true if the given datanode is underUtilized */
private boolean isUnderUtilized(BalancerDatanode datanode) {
return datanode.utilization < (avgUtilization-threshold);
}

/* Return true if the given datanode is below average utilized
* but not underUtilized */
private boolean isBelowAvgUtilized(BalancerDatanode datanode) {
return (datanode.utilization >= (avgUtilization-threshold))
&& (datanode.utilization < avgUtilization);
}
{code}
Where is {{datanode.utilization == avgUtilization}}?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouphdfs-dev @
categorieshadoop
postedMar 10, '11 at 11:44p
activeMar 10, '11 at 11:44p
posts1
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Tsz Wo (Nicholas), SZE (JIRA): 1 post

People

Translate

site design / logo © 2022 Grokbase