@Override
  public void process(final TProtocol in, final TProtocol out) throws TException {
   setIpAddress(in);

   super.process(in, out);
  }
TSetIpAddressProcessor passes the IP address of the Thrift client to the HMSHandler.
standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/TSetIpAddressProcessor.java