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

Lei (Eddy) Xu commented on HADOOP-14384:
----------------------------------------

Hi, [~anu] 

bq. Why make this private if we are not planning to ship this ?

Yes, {{Builder}} interface will be shipped later, with some modifications. In 
the current form, we think it is not ready to be consumed by HDFS users in 
either trunk and branch-2.

bq. Given the comments on the original JIRA, I would presume that this is going 
to be reworked to an extent ?

Yes, the following sub-tasks of this umbrella JIRA (HADOOP-14365) will re-work 
on the Builder interface.

bq. Are you concerned that someone might use this accidentally ? What evil are 
we trying to prevent by making this private ?

As there is several releases planned in short term, this Builder interface, 
which will be an public interface eventually, like {{FileSystem}}, should not 
be consumable for the projects outside of HDFS.  Releasing the current form as 
one of public {{FileSystem}} API is not desired and not advocated.  

Do the above answer your questions, [~anu].

I don't have strong preference about either 1) marking the API as private today 
or 2) pulling it out of {{FileSystem}} and keeping it in 
{{DistributedFileSystem}} for today.  [~Sammi] could you share your opinions? 
Thanks.


> Reduce the visibility of {{FileSystem#newFSDataOutputStreamBuilder}} before 
> the API becomes stable
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-14384
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14384
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs
>    Affects Versions: 2.9.0
>            Reporter: Lei (Eddy) Xu
>            Assignee: Lei (Eddy) Xu
>            Priority: Minor
>         Attachments: HADOOP-14384.00.patch, HADOOP-14384.01.patch
>
>
> Before {{HADOOP-14365}} finishes, we should limit the this API within Hadoop 
> project to prevent it being used by end users or other projects.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-issues-h...@hadoop.apache.org

Reply via email to