[
https://issues.apache.org/jira/browse/HDFS-15658?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17222070#comment-17222070
]
Hadoop QA commented on HDFS-15658:
----------------------------------
| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Logfile || Comment ||
| {color:blue}0{color} | {color:blue} reexec {color} | {color:blue} 0m
0s{color} | | {color:blue} Docker mode activated. {color} |
| {color:red}-1{color} | {color:red} docker {color} | {color:red} 3m
54s{color} | | {color:red} Docker failed to build yetus/hadoop:06eafeedf12.
{color} |
\\
\\
|| Subsystem || Report/Notes ||
| JIRA Issue | HDFS-15658 |
| JIRA Patch URL |
https://issues.apache.org/jira/secure/attachment/13014273/HDFS-15658-branch-2.7.patch
|
| Console output |
https://ci-hadoop.apache.org/job/PreCommit-HDFS-Build/271/console |
| versions | git=2.17.1 |
| Powered by | Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org |
This message was automatically generated.
> Improve datanode capability balancing
> -------------------------------------
>
> Key: HDFS-15658
> URL: https://issues.apache.org/jira/browse/HDFS-15658
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs
> Reporter: chuanjie.duan
> Priority: Major
> Attachments: HDFS-15658-branch-2.7.patch
>
>
> How about adjust the order of choosing replication to deletion?
> Is there any other meaning, choosing "oldestHeartbeatStorage" first?
>
> public DatanodeStorageInfo chooseReplicaToDelete(
> Collection<DatanodeStorageInfo> moreThanOne,
> Collection<DatanodeStorageInfo> exactlyOne,
> final List<StorageType> excessTypes,
> Map<String, List<DatanodeStorageInfo>> rackMap) {
> ......
> final DatanodeStorageInfo storage;
> if (minSpaceStorage != null) {
> storage = minSpaceStorage;
> } else if (oldestHeartbeatStorage != null) {
> storage = oldestHeartbeatStorage;
> } else {
> return null;
> }
> excessTypes.remove(storage.getStorageType());
> return storage;
> }
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]