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

Tsz Wo Nicholas Sze commented on HDFS-8156:
-------------------------------------------

> Doing so we have to duplicate codes in initWith in the first constructor. I 
> thought something like initWith is a typical pratice to share codes among 
> constructors. ...

Why the code have to be duplicated?  No duplication if the code is well 
organized.   Adding another method (initWith) is unnecessary.

> Add/implement necessary APIs even we just have the system default schema
> ------------------------------------------------------------------------
>
>                 Key: HDFS-8156
>                 URL: https://issues.apache.org/jira/browse/HDFS-8156
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Kai Zheng
>            Assignee: Kai Zheng
>         Attachments: HDFS-8156-v1.patch, HDFS-8156-v2.patch, 
> HDFS-8156-v3.patch, HDFS-8156-v4.patch, HDFS-8156-v5.patch
>
>
> According to the discussion here, this issue was repurposed and modified.
> This is to add and implement some necessary APIs even we just have the system 
> default schema, to resolve some TODOs left for HDFS-7859 and HDFS-7866 as 
> they're still subject to further discussion.



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

Reply via email to