[
https://issues.apache.org/jira/browse/HDFS-14577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16865980#comment-16865980
]
Íñigo Goiri commented on HDFS-14577:
------------------------------------
It seems reasonable.
My only concern is with the consitency with ReflecitonUtils.
Over there, they try to use setConf().
Can we double check the signature for those?
BTW, where do you want to use this?
> 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]