HDFS-9101. Remove deprecated NameNode.getUri() static helper method. Contributed by Mingliang Liu.
This commit is contained in:
parent
b70c7b0e51
commit
41f1f1aabf
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
//
|
||||
|
|
Loading…
Reference in New Issue