Uploaded image for project: 'IMPALA'
  1. IMPALA
  2. IMPALA-5318

Impala does not always generated fully qualified table names in audit events

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: Impala 2.9.0
    • Component/s: Frontend
    • Labels:
      None

      Description

      Impala sometimes will generate an entry in the audit log that doesn't contain fully qualified table names, thereby breaking Navigator as it always expects fully qualified names.

      To reproduce:

      hive> create table foo (a int, b date) stored as avro; <--- table that can't be loaded in Impala and results in a TableLoadingException
      impala> invalidate table foo;
      impala> drop table foo;
      

        Activity

        Hide
        dtsirogiannis Dimitris Tsirogiannis added a comment -

        Change-Id: Icd63f7e4accc7fda9719e13059fa8d432981618a
        Reviewed-on: http://gerrit.cloudera.org:8080/6879
        Reviewed-by: Alex Behm <alex.behm@cloudera.com>
        Tested-by: Impala Public Jenkins

        M fe/src/main/java/org/apache/impala/analysis/DropTableOrViewStmt.java
        M fe/src/main/java/org/apache/impala/analysis/TableDef.java
        M fe/src/test/java/org/apache/impala/analysis/AuditingTest.java
        3 files changed, 16 insertions, 3 deletions

        Approvals:
        Impala Public Jenkins: Verified
        Alex Behm: Looks good to me, approved

        Show
        dtsirogiannis Dimitris Tsirogiannis added a comment - Change-Id: Icd63f7e4accc7fda9719e13059fa8d432981618a Reviewed-on: http://gerrit.cloudera.org:8080/6879 Reviewed-by: Alex Behm <alex.behm@cloudera.com> Tested-by: Impala Public Jenkins — M fe/src/main/java/org/apache/impala/analysis/DropTableOrViewStmt.java M fe/src/main/java/org/apache/impala/analysis/TableDef.java M fe/src/test/java/org/apache/impala/analysis/AuditingTest.java 3 files changed, 16 insertions , 3 deletions Approvals: Impala Public Jenkins: Verified Alex Behm: Looks good to me, approved

          People

          • Assignee:
            dtsirogiannis Dimitris Tsirogiannis
            Reporter:
            dtsirogiannis Dimitris Tsirogiannis
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development