code: private static ThriftServerConfig getServerConfig(Configuration conf) {
      ThriftServerConfig serverConfig = new ThriftServerConfig();
      serverConfig.setPort(conf.getInt(StorageServiceConfigKeys.PROXY_THRIFT_PORT_KEY,
          StorageServiceConfigKeys.PROXY_THRIFT_PORT_DEFAULT));
      return serverConfig;
    }
docs: Translates Hadoop's Configuration into Thrift's server config