hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Luke Lu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9784) Add builder in creating HttpServer
Date Wed, 31 Jul 2013 17:19:51 GMT

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

Luke Lu commented on HADOOP-9784:
---------------------------------

Do not delete but deprecate public methods, otherwise it'd be an incompatible change. It'd
be better to convert the deprecated usage instead of just adding suppression.
                
> Add builder in creating HttpServer
> ----------------------------------
>
>                 Key: HADOOP-9784
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9784
>             Project: Hadoop Common
>          Issue Type: Improvement
>    Affects Versions: 3.0.0
>            Reporter: Junping Du
>            Assignee: Junping Du
>         Attachments: HADOOP-9784.patch, HADOOP-9784-v2.patch
>
>
> There are quite a lot of constructors in class of HttpServer to create instance. Create
a builder class to abstract the building steps which helps to avoid more constructors in the
future.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message