[jira] [Updated] (HIVE-2797) Make the IP address of a Thrift client available to HMSHandler.

2012-03-25 Thread Ashutosh Chauhan (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashutosh Chauhan updated HIVE-2797:
---

   Resolution: Fixed
Fix Version/s: 0.9.0
   Status: Resolved  (was: Patch Available)

Thanks, Kevin for updating the patch. Committed to trunk.

> Make the IP address of a Thrift client available to HMSHandler.
> ---
>
> Key: HIVE-2797
> URL: https://issues.apache.org/jira/browse/HIVE-2797
> Project: Hive
>  Issue Type: Improvement
>  Components: Metastore
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Fix For: 0.9.0
>
> Attachments: HIVE-2797.7.patch, HIVE-2797.D1701.1.patch, 
> HIVE-2797.D1701.2.patch, HIVE-2797.D1701.3.patch, HIVE-2797.D1701.4.patch, 
> HIVE-2797.D1701.5.patch, HIVE-2797.D1701.6.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2797) Make the IP address of a Thrift client available to HMSHandler.

2012-03-24 Thread Kevin Wilfong (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Wilfong updated HIVE-2797:


Status: Patch Available  (was: Open)

> Make the IP address of a Thrift client available to HMSHandler.
> ---
>
> Key: HIVE-2797
> URL: https://issues.apache.org/jira/browse/HIVE-2797
> Project: Hive
>  Issue Type: Improvement
>  Components: Metastore
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Attachments: HIVE-2797.7.patch, HIVE-2797.D1701.1.patch, 
> HIVE-2797.D1701.2.patch, HIVE-2797.D1701.3.patch, HIVE-2797.D1701.4.patch, 
> HIVE-2797.D1701.5.patch, HIVE-2797.D1701.6.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2797) Make the IP address of a Thrift client available to HMSHandler.

2012-03-24 Thread Kevin Wilfong (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Wilfong updated HIVE-2797:


Attachment: HIVE-2797.7.patch

> Make the IP address of a Thrift client available to HMSHandler.
> ---
>
> Key: HIVE-2797
> URL: https://issues.apache.org/jira/browse/HIVE-2797
> Project: Hive
>  Issue Type: Improvement
>  Components: Metastore
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Attachments: HIVE-2797.7.patch, HIVE-2797.D1701.1.patch, 
> HIVE-2797.D1701.2.patch, HIVE-2797.D1701.3.patch, HIVE-2797.D1701.4.patch, 
> HIVE-2797.D1701.5.patch, HIVE-2797.D1701.6.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2797) Make the IP address of a Thrift client available to HMSHandler.

2012-03-22 Thread Phabricator (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Phabricator updated HIVE-2797:
--

Attachment: HIVE-2797.D1701.6.patch

kevinwilfong updated the revision "HIVE-2797 [jira] Make the IP address of a 
Thrift client available to HMSHandler.".
Reviewers: JIRA, njain, ashutoshc

  Ran updated my checkout.

REVISION DETAIL
  https://reviews.facebook.net/D1701

AFFECTED FILES
  
shims/src/common/java/org/apache/hadoop/hive/thrift/TUGIContainingTransport.java
  
metastore/src/test/org/apache/hadoop/hive/metastore/TestRemoteUGIHiveMetaStoreIpAddress.java
  metastore/src/test/org/apache/hadoop/hive/metastore/IpAddressListener.java
  
metastore/src/test/org/apache/hadoop/hive/metastore/TestRemoteHiveMetaStoreIpAddress.java
  metastore/src/java/org/apache/hadoop/hive/metastore/TUGIBasedProcessor.java
  
metastore/src/java/org/apache/hadoop/hive/metastore/TSetIpAddressProcessor.java
  metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java


> Make the IP address of a Thrift client available to HMSHandler.
> ---
>
> Key: HIVE-2797
> URL: https://issues.apache.org/jira/browse/HIVE-2797
> Project: Hive
>  Issue Type: Improvement
>  Components: Metastore
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Attachments: HIVE-2797.D1701.1.patch, HIVE-2797.D1701.2.patch, 
> HIVE-2797.D1701.3.patch, HIVE-2797.D1701.4.patch, HIVE-2797.D1701.5.patch, 
> HIVE-2797.D1701.6.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2797) Make the IP address of a Thrift client available to HMSHandler.

2012-03-22 Thread Ashutosh Chauhan (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ashutosh Chauhan updated HIVE-2797:
---

Status: Open  (was: Patch Available)

Patch doesn't  apply cleanly. Needs a rebase.

> Make the IP address of a Thrift client available to HMSHandler.
> ---
>
> Key: HIVE-2797
> URL: https://issues.apache.org/jira/browse/HIVE-2797
> Project: Hive
>  Issue Type: Improvement
>  Components: Metastore
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Attachments: HIVE-2797.D1701.1.patch, HIVE-2797.D1701.2.patch, 
> HIVE-2797.D1701.3.patch, HIVE-2797.D1701.4.patch, HIVE-2797.D1701.5.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2797) Make the IP address of a Thrift client available to HMSHandler.

2012-03-20 Thread Kevin Wilfong (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Wilfong updated HIVE-2797:


Status: Patch Available  (was: Open)

> Make the IP address of a Thrift client available to HMSHandler.
> ---
>
> Key: HIVE-2797
> URL: https://issues.apache.org/jira/browse/HIVE-2797
> Project: Hive
>  Issue Type: Improvement
>  Components: Metastore
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Attachments: HIVE-2797.D1701.1.patch, HIVE-2797.D1701.2.patch, 
> HIVE-2797.D1701.3.patch, HIVE-2797.D1701.4.patch, HIVE-2797.D1701.5.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2797) Make the IP address of a Thrift client available to HMSHandler.

2012-03-20 Thread Phabricator (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Phabricator updated HIVE-2797:
--

Attachment: HIVE-2797.D1701.5.patch

kevinwilfong updated the revision "HIVE-2797 [jira] Make the IP address of a 
Thrift client available to HMSHandler.".
Reviewers: JIRA, njain, ashutoshc

  Really sorry about that Ashutosh.  The TUGIContainingTranspport does not 
extend TSocket, which caused the errors you saw.  I added a getSocket method to 
the class which returns the Socket object if the underlying TTransport is an 
instance of TSocket, otherwise null.  TUGIBasedProcessor's implementation of 
setIpAddress now uses this method and handles the case of null.

REVISION DETAIL
  https://reviews.facebook.net/D1701

AFFECTED FILES
  
shims/src/common/java/org/apache/hadoop/hive/thrift/TUGIContainingTransport.java
  
metastore/src/test/org/apache/hadoop/hive/metastore/TestRemoteUGIHiveMetaStoreIpAddress.java
  metastore/src/test/org/apache/hadoop/hive/metastore/IpAddressListener.java
  
metastore/src/test/org/apache/hadoop/hive/metastore/TestRemoteHiveMetaStoreIpAddress.java
  metastore/src/java/org/apache/hadoop/hive/metastore/TUGIBasedProcessor.java
  
metastore/src/java/org/apache/hadoop/hive/metastore/TSetIpAddressProcessor.java
  metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java


> Make the IP address of a Thrift client available to HMSHandler.
> ---
>
> Key: HIVE-2797
> URL: https://issues.apache.org/jira/browse/HIVE-2797
> Project: Hive
>  Issue Type: Improvement
>  Components: Metastore
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Attachments: HIVE-2797.D1701.1.patch, HIVE-2797.D1701.2.patch, 
> HIVE-2797.D1701.3.patch, HIVE-2797.D1701.4.patch, HIVE-2797.D1701.5.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2797) Make the IP address of a Thrift client available to HMSHandler.

2012-03-16 Thread Kevin Wilfong (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Wilfong updated HIVE-2797:


Status: Open  (was: Patch Available)

> Make the IP address of a Thrift client available to HMSHandler.
> ---
>
> Key: HIVE-2797
> URL: https://issues.apache.org/jira/browse/HIVE-2797
> Project: Hive
>  Issue Type: Improvement
>  Components: Metastore
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Attachments: HIVE-2797.D1701.1.patch, HIVE-2797.D1701.2.patch, 
> HIVE-2797.D1701.3.patch, HIVE-2797.D1701.4.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2797) Make the IP address of a Thrift client available to HMSHandler.

2012-03-06 Thread Phabricator (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Phabricator updated HIVE-2797:
--

Attachment: HIVE-2797.D1701.3.patch

kevinwilfong updated the revision "HIVE-2797 [jira] Make the IP address of a 
Thrift client available to HMSHandler.".
Reviewers: JIRA, njain

REVISION DETAIL
  https://reviews.facebook.net/D1701

AFFECTED FILES
  metastore/src/test/org/apache/hadoop/hive/metastore/IpAddressListener.java
  
metastore/src/test/org/apache/hadoop/hive/metastore/TestRemoteHiveMetaStoreIpAddress.java
  metastore/src/java/org/apache/hadoop/hive/metastore/TUGIBasedProcessor.java
  
metastore/src/java/org/apache/hadoop/hive/metastore/TSetIpAddressProcessor.java
  metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java


> Make the IP address of a Thrift client available to HMSHandler.
> ---
>
> Key: HIVE-2797
> URL: https://issues.apache.org/jira/browse/HIVE-2797
> Project: Hive
>  Issue Type: Improvement
>  Components: Metastore
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Attachments: HIVE-2797.D1701.1.patch, HIVE-2797.D1701.2.patch, 
> HIVE-2797.D1701.3.patch, HIVE-2797.D1701.4.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2797) Make the IP address of a Thrift client available to HMSHandler.

2012-03-06 Thread Phabricator (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Phabricator updated HIVE-2797:
--

Attachment: HIVE-2797.D1701.4.patch

kevinwilfong updated the revision "HIVE-2797 [jira] Make the IP address of a 
Thrift client available to HMSHandler.".
Reviewers: JIRA, njain

  Ran svn up and resolved conflicts.

REVISION DETAIL
  https://reviews.facebook.net/D1701

AFFECTED FILES
  metastore/src/test/org/apache/hadoop/hive/metastore/IpAddressListener.java
  
metastore/src/test/org/apache/hadoop/hive/metastore/TestRemoteHiveMetaStoreIpAddress.java
  metastore/src/java/org/apache/hadoop/hive/metastore/TUGIBasedProcessor.java
  
metastore/src/java/org/apache/hadoop/hive/metastore/TSetIpAddressProcessor.java
  metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java


> Make the IP address of a Thrift client available to HMSHandler.
> ---
>
> Key: HIVE-2797
> URL: https://issues.apache.org/jira/browse/HIVE-2797
> Project: Hive
>  Issue Type: Improvement
>  Components: Metastore
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Attachments: HIVE-2797.D1701.1.patch, HIVE-2797.D1701.2.patch, 
> HIVE-2797.D1701.3.patch, HIVE-2797.D1701.4.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2797) Make the IP address of a Thrift client available to HMSHandler.

2012-03-06 Thread Kevin Wilfong (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Wilfong updated HIVE-2797:


Status: Patch Available  (was: Open)

> Make the IP address of a Thrift client available to HMSHandler.
> ---
>
> Key: HIVE-2797
> URL: https://issues.apache.org/jira/browse/HIVE-2797
> Project: Hive
>  Issue Type: Improvement
>  Components: Metastore
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Attachments: HIVE-2797.D1701.1.patch, HIVE-2797.D1701.2.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2797) Make the IP address of a Thrift client available to HMSHandler.

2012-03-06 Thread Phabricator (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Phabricator updated HIVE-2797:
--

Attachment: HIVE-2797.D1701.2.patch

kevinwilfong updated the revision "HIVE-2797 [jira] Make the IP address of a 
Thrift client available to HMSHandler.".
Reviewers: JIRA, njain

  Added a test case to check that the IP address is set for remote metastores.

REVISION DETAIL
  https://reviews.facebook.net/D1701

AFFECTED FILES
  metastore/src/test/org/apache/hadoop/hive/metastore/IpAddressListener.java
  
metastore/src/test/org/apache/hadoop/hive/metastore/TestRemoteHiveMetaStoreIpAddress.java
  metastore/src/java/org/apache/hadoop/hive/metastore/TUGIBasedProcessor.java
  
metastore/src/java/org/apache/hadoop/hive/metastore/TSetIpAddressProcessor.java
  metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java


> Make the IP address of a Thrift client available to HMSHandler.
> ---
>
> Key: HIVE-2797
> URL: https://issues.apache.org/jira/browse/HIVE-2797
> Project: Hive
>  Issue Type: Improvement
>  Components: Metastore
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Attachments: HIVE-2797.D1701.1.patch, HIVE-2797.D1701.2.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2797) Make the IP address of a Thrift client available to HMSHandler.

2012-03-06 Thread Kevin Wilfong (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Wilfong updated HIVE-2797:


Status: Open  (was: Patch Available)

> Make the IP address of a Thrift client available to HMSHandler.
> ---
>
> Key: HIVE-2797
> URL: https://issues.apache.org/jira/browse/HIVE-2797
> Project: Hive
>  Issue Type: Improvement
>  Components: Metastore
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Attachments: HIVE-2797.D1701.1.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2797) Make the IP address of a Thrift client available to HMSHandler.

2012-02-10 Thread Kevin Wilfong (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Wilfong updated HIVE-2797:


Assignee: Kevin Wilfong
  Status: Patch Available  (was: Open)

> Make the IP address of a Thrift client available to HMSHandler.
> ---
>
> Key: HIVE-2797
> URL: https://issues.apache.org/jira/browse/HIVE-2797
> Project: Hive
>  Issue Type: Improvement
>  Components: Metastore
>Reporter: Kevin Wilfong
>Assignee: Kevin Wilfong
> Attachments: HIVE-2797.D1701.1.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2797) Make the IP address of a Thrift client available to HMSHandler.

2012-02-10 Thread Kevin Wilfong (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kevin Wilfong updated HIVE-2797:


Component/s: Metastore

> Make the IP address of a Thrift client available to HMSHandler.
> ---
>
> Key: HIVE-2797
> URL: https://issues.apache.org/jira/browse/HIVE-2797
> Project: Hive
>  Issue Type: Improvement
>  Components: Metastore
>Reporter: Kevin Wilfong
> Attachments: HIVE-2797.D1701.1.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira




[jira] [Updated] (HIVE-2797) Make the IP address of a Thrift client available to HMSHandler.

2012-02-10 Thread Phabricator (Updated) (JIRA)

 [ 
https://issues.apache.org/jira/browse/HIVE-2797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Phabricator updated HIVE-2797:
--

Attachment: HIVE-2797.D1701.1.patch

kevinwilfong requested code review of "HIVE-2797 [jira] Make the IP address of 
a Thrift client available to HMSHandler.".
Reviewers: JIRA

  https://issues.apache.org/jira/browse/HIVE-2797

  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.

TEST PLAN
  EMPTY

REVISION DETAIL
  https://reviews.facebook.net/D1701

AFFECTED FILES
  metastore/src/java/org/apache/hadoop/hive/metastore/TUGIBasedProcessor.java
  
metastore/src/java/org/apache/hadoop/hive/metastore/TSetIpAddressProcessor.java
  metastore/src/java/org/apache/hadoop/hive/metastore/HiveMetaStore.java

MANAGE HERALD DIFFERENTIAL RULES
  https://reviews.facebook.net/herald/view/differential/

WHY DID I GET THIS EMAIL?
  https://reviews.facebook.net/herald/transcript/3633/

Tip: use the X-Herald-Rules header to filter Herald messages in your client.


> Make the IP address of a Thrift client available to HMSHandler.
> ---
>
> Key: HIVE-2797
> URL: https://issues.apache.org/jira/browse/HIVE-2797
> Project: Hive
>  Issue Type: Improvement
>Reporter: Kevin Wilfong
> Attachments: HIVE-2797.D1701.1.patch
>
>
> 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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira