[
https://issues.apache.org/jira/browse/HDFS-527?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz Wo (Nicholas), SZE updated HDFS-527:
----------------------------------------
Attachment: h527_20090804b.patch
> Removed DFSClient(Configuration conf). It is not very useful. Only
> NamenodeFsck and a few tests use it.
Oops, we should deprecate it first.
> Changed DFSClient(InetSocketAddress nameNodeAddr, Configuration conf,
> FileSystem.Statistics stats) to package private.
We cannot change it to package private since it is a public API.
h527_20090804b.patch:
- deprecated DFSClient(Configuration conf)
- kept DFSClient(InetSocketAddress nameNodeAddr, Configuration conf,
FileSystem.Statistics stats) public.
Then, this is no longer an incompatible change. Note that removing public
DFSClient(ClientProtocol namenode, ClientProtocol rpcNamenode, Configuration
conf, FileSystem.Statistics stats) is fine since it is not yet released.
> Refactor DFSClient constructors
> -------------------------------
>
> Key: HDFS-527
> URL: https://issues.apache.org/jira/browse/HDFS-527
> Project: Hadoop HDFS
> Issue Type: Improvement
> Components: hdfs client
> Reporter: Tsz Wo (Nicholas), SZE
> Attachments: h527_20090804.patch, h527_20090804b.patch
>
>
> There are 5 constructors in DFSClient. It seems unnecessary.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.