HDFS-9101. Remove deprecated NameNode.getUri() static helper method. Contributed by Mingliang Liu.

This commit is contained in:
Haohui Mai 2015-09-18 18:23:53 -07:00
parent b70c7b0e51
commit 41f1f1aabf
2 changed files with 3 additions and 7 deletions

View File

@ -587,6 +587,9 @@ Release 2.8.0 - UNRELEASED
HDFS-5802. NameNode does not check for inode type before traversing down a
path. (Xiao Chen via Yongjun Zhang)
HDFS-9101. Remove deprecated NameNode.getUri() static helper method.
(Mingliang Liu via wheat9)
OPTIMIZATIONS
HDFS-8026. Trace FSOutputSummer#writeChecksumChunks rather than

View File

@ -471,13 +471,6 @@ public class NameNode implements NameNodeStatusMXBean {
return DFSUtilClient.getNNAddress(addr);
}
@Deprecated
/**
* @deprecated Use {@link DFSUtilClient#getNNUri(InetSocketAddress)} instead.
*/
public static URI getUri(InetSocketAddress namenode) {
return DFSUtilClient.getNNUri(namenode);
}
//
// Common NameNode methods implementation for the active name-node role.
//