Fix a compilation problem introduced by HDFS-2496.
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.23-PB@1229902 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
a511422efd
commit
e5a96843b9
|
@ -683,9 +683,6 @@ public class DFSUtil {
|
||||||
throws IOException {
|
throws IOException {
|
||||||
InetSocketAddress addr = NetUtils.createSocketAddr(datanodeid.getHost()
|
InetSocketAddress addr = NetUtils.createSocketAddr(datanodeid.getHost()
|
||||||
+ ":" + datanodeid.getIpcPort());
|
+ ":" + datanodeid.getIpcPort());
|
||||||
if (ClientDatanodeProtocol.LOG.isDebugEnabled()) {
|
|
||||||
ClientDatanodeProtocol.LOG.info("ClientDatanodeProtocol addr=" + addr);
|
|
||||||
}
|
|
||||||
return (ClientDatanodeProtocol) RPC.getProxy(ClientDatanodeProtocol.class,
|
return (ClientDatanodeProtocol) RPC.getProxy(ClientDatanodeProtocol.class,
|
||||||
ClientDatanodeProtocol.versionID, addr,
|
ClientDatanodeProtocol.versionID, addr,
|
||||||
UserGroupInformation.getCurrentUser(), conf,
|
UserGroupInformation.getCurrentUser(), conf,
|
||||||
|
|
Loading…
Reference in New Issue