List of usage examples for org.apache.hadoop.ipc Server getRemoteAddress
public static String getRemoteAddress()
From source file:common.NameNode.java
License:Apache License
private static String getClientMachine() { String clientMachine = Server.getRemoteAddress(); if (clientMachine == null) { clientMachine = ""; }//from w w w . j av a 2 s. c om return clientMachine; }