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

Drop Table doesn't log error

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • Impala 2.2
    • None
    • Clients
    • cdh5.3.3

    Description

      A customer created a directory `child` under `parent`. `child` was given the requisite ACLs to allow Impala to modify it, `parent` was not.

      After this, they issued a "CREATE TABLE .. LOCATION `child` AS SELECT .." statement, which executed fine. And Impala was able to query and add data to this directory.

      When they issued a "DROP TABLE", impala did drop the table in the metastore but was not able to delete the `child` directory as it did not have write privs for `parent`. I was unable to find logging to indicate this error - we looked in all Hive logs, and all Impala logs.

      We tracked it down eventually by manually deleting the `child` directory, and then issued the CREATE, at which point we got an error back for the missing privs. It was also logged in the Catalog server logs.

      Attachments

        Activity

          People

            Unassigned Unassigned
            prungta_impala_1124 Prateek Rungta
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: