kevinwilfong requested code review of "
HIVE-2797 [jira] Make the IP address of a Thrift client available to HMSHandler.".
Created a new subclass of ThriftHiveMetastore.Processor which passes the IP address to the HMSHandler. Unsecure connections will use this processor. The IP address is stored in a thread local variable, so that multiple connections will each maintain there own IP address.
Currently, in unsecured mode, metastore Thrift calls are, from the HMSHandler's point of view, anonymous. If we expose the IP address of the Thrift client to the HMSHandler from the Processor, this will help to give some context, in particular for audit logging, of where the call is coming from.
MANAGE HERALD DIFFERENTIAL RULES
WHY DID I GET THIS EMAIL?
Tip: use the X-Herald-Rules header to filter Herald messages in your client.