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 94dec5a916
commit 66b46d0885
2 changed files with 3 additions and 7 deletions

View File

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

View File

@ -471,13 +471,6 @@ public class NameNode implements NameNodeStatusMXBean {
return DFSUtilClient.getNNAddress(addr); 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. // Common NameNode methods implementation for the active name-node role.
// //