hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abdelrahman Shettia (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HIVE-9779) ATSHook does not log the end user if doAs=false (it logs the hs2 server user)
Date Tue, 24 Feb 2015 23:39:04 GMT

    [ https://issues.apache.org/jira/browse/HIVE-9779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14335673#comment-14335673
] 

Abdelrahman Shettia commented on HIVE-9779:
-------------------------------------------

Hi, 

I am attaching a patch called 9979.001.patch and the build was successful. 

{code}
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] Hive .............................................. SUCCESS [  3.914 s]
[INFO] Hive Shims Common ................................. SUCCESS [  4.288 s]
[INFO] Hive Shims 0.20S .................................. SUCCESS [  1.105 s]
[INFO] Hive Shims 0.23 ................................... SUCCESS [  3.423 s]
[INFO] Hive Shims Scheduler .............................. SUCCESS [  0.766 s]
[INFO] Hive Shims ........................................ SUCCESS [  0.838 s]
[INFO] Hive Common ....................................... SUCCESS [  5.020 s]
[INFO] Hive Serde ........................................ SUCCESS [  6.324 s]
[INFO] Hive Metastore .................................... SUCCESS [ 16.112 s]
[INFO] Hive Ant Utilities ................................ SUCCESS [  0.426 s]
[INFO] Spark Remote Client ............................... SUCCESS [  5.445 s]
[INFO] Hive Query Language ............................... SUCCESS [ 43.637 s]
[INFO] Hive Service ...................................... SUCCESS [  3.268 s]
[INFO] Hive Accumulo Handler ............................. SUCCESS [  1.568 s]
[INFO] Hive JDBC ......................................... SUCCESS [  6.045 s]
[INFO] Hive Beeline ...................................... SUCCESS [  1.164 s]
[INFO] Hive CLI .......................................... SUCCESS [  1.062 s]
[INFO] Hive Contrib ...................................... SUCCESS [  1.150 s]
[INFO] Hive HBase Handler ................................ SUCCESS [  3.252 s]
[INFO] Hive HCatalog ..................................... SUCCESS [  0.339 s]
[INFO] Hive HCatalog Core ................................ SUCCESS [  1.757 s]
[INFO] Hive HCatalog Pig Adapter ......................... SUCCESS [  1.115 s]
[INFO] Hive HCatalog Server Extensions ................... SUCCESS [  0.829 s]
[INFO] Hive HCatalog Webhcat Java Client ................. SUCCESS [  0.743 s]
[INFO] Hive HCatalog Webhcat ............................. SUCCESS [  4.511 s]
[INFO] Hive HCatalog Streaming ........................... SUCCESS [  0.911 s]
[INFO] Hive HWI .......................................... SUCCESS [  0.678 s]
[INFO] Hive ODBC ......................................... SUCCESS [  0.429 s]
[INFO] Hive Shims Aggregator ............................. SUCCESS [  0.083 s]
[INFO] Hive TestUtils .................................... SUCCESS [  0.176 s]
[INFO] Hive Packaging .................................... SUCCESS [  0.668 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:02 min
{code}

Thanks
-Rahman

> ATSHook does not log the end user if doAs=false (it logs the hs2 server user)
> -----------------------------------------------------------------------------
>
>                 Key: HIVE-9779
>                 URL: https://issues.apache.org/jira/browse/HIVE-9779
>             Project: Hive
>          Issue Type: Bug
>          Components: HiveServer2
>    Affects Versions: 0.13.0, 0.14.0
>            Reporter: Abdelrahman Shettia
>            Assignee: Abdelrahman Shettia
>
> When doAs=false, ATSHook should log the end username in ATS instead of logging the hiveserver2
user's name.
> The way things are, it is not possible for an admin to identify which query is being
run by which user. The end user information is already available in the HookContext.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message