[
https://issues.apache.org/jira/browse/HDFS-14226?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16761397#comment-16761397
]
Ayush Saxena commented on HDFS-14226:
-------------------------------------
Regarding file is OK. But what say about the directories. I am getting little
confused because at start only when there is a mount point /src whatever be the
order it can have multiple destinations /dst1 /dst2 and so on. If I call set Ec
policy on /src . According to me it should set on all /dst1 /dst2 and all. If
we go the way of invokeSeq then in case of HASH it will set on say only one
/dst1. The other destinations won’t follow up EC policy. File should be one
for HASH . But what about the mount . In case of MULTI destinations
irrespective of the order mount will have multiple destinations for which
concurrent seems the alt to me.
Pls correct if missing something
> RBF: Setting attributes should set on all subclusters' directories.
> -------------------------------------------------------------------
>
> Key: HDFS-14226
> URL: https://issues.apache.org/jira/browse/HDFS-14226
> Project: Hadoop HDFS
> Issue Type: Sub-task
> Reporter: Takanobu Asanuma
> Priority: Major
> Labels: RBF
> Attachments: HDFS-14226-HDFS-13891-01.patch
>
>
> Only one subcluster is set now.
> {noformat}
> // create a mount point of multiple subclusters
> hdfs dfsrouteradmin -add /all_data ns1 /data1
> hdfs dfsrouteradmin -add /all_data ns2 /data2
> hdfs ec -Dfs.defaultFS=hdfs://router:8888 -setPolicy -path /all_data -policy
> RS-3-2-1024k
> Set RS-3-2-1024k erasure coding policy on /all_data
> hdfs ec -Dfs.defaultFS=hdfs://router:8888 -getPolicy -path /all_data
> RS-3-2-1024k
> hdfs ec -Dfs.defaultFS=hdfs://ns1-namenode:8020 -getPolicy -path /data1
> RS-3-2-1024k
> hdfs ec -Dfs.defaultFS=hdfs://ns2-namenode:8020 -getPolicy -path /data2
> The erasure coding policy of /data2 is unspecified
> {noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]