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

Xiaoyu Yao commented on HDFS-9240:
----------------------------------

I just recheck the compatibility guideline. Since the BlockLocation class is 
annotated with Public/Stable, should we deprecate the telescope constructors 
instead of removing them completely so that this change won't break downstream 
projects that have dependency on it?

https://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/Compatibility.html#Policy

"Public-Stable API compatibility is required to ensure end-user programs and 
downstream projects continue to work without modification."

> Use Builder pattern for BlockLocation constructors
> --------------------------------------------------
>
>                 Key: HDFS-9240
>                 URL: https://issues.apache.org/jira/browse/HDFS-9240
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>            Reporter: Xiaoyu Yao
>            Assignee: Virajith Jalaparti
>            Priority: Minor
>         Attachments: HDFS-9240.001.patch, HDFS-9240.002.patch
>
>
> This JIRA is opened to refactor the 8 telescoping constructors of 
> BlockLocation class with Builder pattern.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to