}
ClientDatanodeProtocol datanode = null;
try {
datanode =(ClientDatanodeProtocol)RPC.getProxy(ClientDatanodeProtocol.class,
ClientDatanodeProtocol.versionID, addr, conf);
datanode.refreshNamenodes();
return 0;
} finally {
if (Proxy.isProxyClass(datanode.getClass())) {
RPC.stopProxy(datanode);
}