hive-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Eric Lin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HIVE-14537) Please add HMS audit logs for ADD and CHANGE COLUMN operations
Date Mon, 15 Aug 2016 00:01:34 GMT
Eric Lin created HIVE-14537:
-------------------------------

             Summary: Please add HMS audit logs for ADD and CHANGE COLUMN operations
                 Key: HIVE-14537
                 URL: https://issues.apache.org/jira/browse/HIVE-14537
             Project: Hive
          Issue Type: Improvement
            Reporter: Eric Lin
            Priority: Minor


Currently if you ALTER TABLE test ADD COLUMNS (c int), the only audit log we can see is:

{code}
2016-08-09T13:29:56,411 INFO  [pool-6-thread-2]: metastore.HiveMetaStore (HiveMetaStore.java:logInfo(754))
- 2: source:127.0.0.1 alter_table: db=default tbl=test newtbl=test
{code}

This is not enough to tell which columns are added or changed. It would be useful to add such
information.

Ideally we could see:

{code}
2016-08-09T13:29:56,411 INFO  [pool-6-thread-2]: metastore.HiveMetaStore (HiveMetaStore.java:logInfo(754))
- 2: source:127.0.0.1 alter_table: db=default tbl=test newtbl=test newCol=c[int]
{code}



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

Mime
View raw message