Fang-Yu Rao has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/14410


Change subject: IMPALA-9021: Fix the field of client's IP sent to Ranger
......................................................................

IMPALA-9021: Fix the field of client's IP sent to Ranger

Currently on a Ranger-enabled Impala minicluster, the value produced for the
field of client's IP in the audit logs sent to Ranger is not in the form of IP
address. This patch fixes the issue.

Testing:
- Manually verified that the client's IP passed to RangerBufferAuditHandler()
  is an IP address
- Ran exhaustive tests

Change-Id: I661ca4bb978d497df1fcf2765739cb8b4734d776
---
M 
fe/src/main/java/org/apache/impala/authorization/ranger/RangerAuthorizationChecker.java
M fe/src/main/java/org/apache/impala/util/TSessionStateUtil.java
M fe/src/test/java/org/apache/impala/testutil/TestUtils.java
3 files changed, 17 insertions(+), 3 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/10/14410/2
--
To view, visit http://gerrit.cloudera.org:8080/14410
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I661ca4bb978d497df1fcf2765739cb8b4734d776
Gerrit-Change-Number: 14410
Gerrit-PatchSet: 2
Gerrit-Owner: Fang-Yu Rao <[email protected]>
Gerrit-Reviewer: Fang-Yu Rao <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>

Reply via email to