[ 
https://issues.apache.org/jira/browse/HDFS-7866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15171367#comment-15171367
 ] 

Kai Zheng commented on HDFS-7866:
---------------------------------

bq. The methods in INodeFileAttributes are all public so not sure why it's 
complaining the public is redundant.
Methods defined in Java interface are public by default, that's why it 
complains. I guess you can remove all the modifier to fix it.
bq. One way may be to make all the tests get the EC policy from 
StripedFileTestUtil, which in turn picks a policy randomly from all system 
policies. This can be done in a separate JIRA of course.
Sounds good to update tests separately. We may also need to consider this per 
test: 1) the system default policy should be ensured to get tested in all 
cases; 2) some tests may consider multiple policies co-existing or co-working 
together.


> Erasure coding: NameNode manages multiple erasure coding policies
> -----------------------------------------------------------------
>
>                 Key: HDFS-7866
>                 URL: https://issues.apache.org/jira/browse/HDFS-7866
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Kai Zheng
>            Assignee: Rui Li
>         Attachments: HDFS-7866-v1.patch, HDFS-7866-v2.patch, 
> HDFS-7866-v3.patch, HDFS-7866.4.patch, HDFS-7866.5.patch, HDFS-7866.6.patch, 
> HDFS-7866.7.patch, HDFS-7866.8.patch, HDFS-7866.9.patch
>
>
> This is to extend NameNode to load, list and sync predefine EC schemas in 
> authorized and controlled approach. The provided facilities will be used to 
> implement DFSAdmin commands so admin can list available EC schemas, then 
> could choose some of them for target EC zones.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to