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

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

Deepak Sharma created RANGER-817:
------------------------------------

             Summary: [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)