You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ranger.apache.org by "Alok Lal (JIRA)" <ji...@apache.org> on 2016/01/25 21:12:39 UTC

[jira] [Issue Comment Deleted] (RANGER-817) [Ranger-hive] Update operation & select operation while export on partitioned table is not logged in audit log

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

Alok Lal updated RANGER-817:
----------------------------
    Comment: was deleted

(was: Both the issues lack of authorization and auditing have resolved themselves with the [Hive fix|https://issues.apache.org/jira/browse/HIVE-12875].  No code change needed for Ranger.  The solution, hence, is to patch Hive.

cc [~madhan.neethiraj] [~sushanth])

> [Ranger-hive] Update operation & select operation while export on partitioned table is not logged in audit log
> --------------------------------------------------------------------------------------------------------------
>
>                 Key: RANGER-817
>                 URL: https://issues.apache.org/jira/browse/RANGER-817
>             Project: Ranger
>          Issue Type: Bug
>          Components: Ranger
>    Affects Versions: 0.5.0
>            Reporter: Deepak Sharma
>            Assignee: Alok Lal
>            Priority: Critical
>             Fix For: 0.5.0
>
>
> Scenario:
> 1. create a partition table.
> create table exportPartitionTable (id int, name string) partitioned by (country string);
> 2. insert data into this partitioned table.
> insert into table exportPartitionTable PARTITION(country='india') values ( 7, 'ranger');
> 3. export this partitiontable to hdfs data store.
> export table exportPartitionTable to '/user/user1/exportDataStore';
> Defect:
> both insert and export (select is done in export) operation are successful but Both are not logged in audit log.
> same is working fine in case of non partition table.
> Note: select operation is logged if we do through command like select * from <tablename> but it is not logged if it is done as part of export,



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