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

Ayush Saxena commented on HDFS-14577:
-------------------------------------

The code change seems quite straightforward.
But I can't comment about its usability without seeing the related code where 
it will be used.
Usually we make the utils or changes to the utils, where they are used. To 
basically avoid chances of these being left unused.


> RBF: FederationUtil#newInstance should allow constructor without context
> ------------------------------------------------------------------------
>
>                 Key: HDFS-14577
>                 URL: https://issues.apache.org/jira/browse/HDFS-14577
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: CR Hota
>            Assignee: CR Hota
>            Priority: Major
>         Attachments: HDFS-14577-HDFS-13891.001.patch
>
>
> FederationUtil#newInstance either works for empty constructor or constructor 
> with conf and context class. More use cases are coming along where conf is 
> the only param needed to construct objects.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to