Skip to content
This repository was archived by the owner on Mar 7, 2021. It is now read-only.

Conversation

@kavnsir
Copy link

@kavnsir kavnsir commented Dec 12, 2017

…ltiple disk data on a datanode

What changes were proposed in this pull request?

This PR proposes to support Hadoop 2.6+ for volume rebalancing

Since HDFS-6482, HDFS use the two-level directory structure for block storing, that is {subdir0 ~ subdir255} / {subdir0 ~ subdir255}, so we can move the same subdir between two volumes.

How was this patch tested?

This script has been used in product environment for volume rebalancing, and has a good performance.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant