[
https://issues.apache.org/jira/browse/HDFS-6801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14100929#comment-14100929
]
Jing Zhao edited comment on HDFS-6801 at 8/18/14 5:47 PM:
----------------------------------------------------------
Thanks Vinay for the review! The patch also looks great to me. +1
Since the pending issues either are small or can be addressed in separate
jiras, I upload a patch with small changes to address the first comment from
[~vinayrpet]. Another small change in the patch is to use
HdfsFileStatus#getStoragePolicy and remove getBlockStoragePolicyId. I've
created HDFS-6863 and HDFS-6864 for the remaining issues: 1) support migration
for specified/snapshot paths, and 2) documentation.
I will commit the patch shortly.
was (Author: jingzhao):
Thanks Vinay for the review! The patch also looks great to me. +1
Since the pending issues either are small or can be addressed in separate
jiras, I upload a patch with small changes to address the first comment from
[~vinayrpet]. Another small change in the patch is to use
HdfsFileStatus#getStoragePolicy and remove getBlockStoragePolicyId. I've
created HDFS-6863 and HDFS-6864 from the remaining issues: 1) support migration
for specified/snapshot paths, and 2) documentation.
I will commit the patch shortly.
> Archival Storage: Add a new data migration tool
> ------------------------------------------------
>
> Key: HDFS-6801
> URL: https://issues.apache.org/jira/browse/HDFS-6801
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Components: balancer, namenode
> Reporter: Tsz Wo Nicholas Sze
> Assignee: Tsz Wo Nicholas Sze
> Attachments: h6801_20140813.patch, h6801_20140814.patch,
> h6801_20140814b.patch, h6801_20140817.patch, h6801_20140818.patch
>
>
> The tool is similar to Balancer. It periodic scans the blocks in HDFS and
> uses path and/or other meta data (e.g. mtime) to determine if a block should
> be cooled down (i.e. hot => warm, or warm => cold) or warmed up (i.e. cold =>
> warm, or warm => hot). In contrast to Balancer, the migration tool always
> move replicas to a different storage type. Similar to Balancer, the replicas
> are moved in a way that the number of racks the block does not decrease.
--
This message was sent by Atlassian JIRA
(v6.2#6252)