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

--insert_inherit_permissions option has no effect on INSERT OVERWRITE

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • Impala 2.0
    • None
    • Frontend

    Description

      From http://community.cloudera.com/t5/Interactive-Short-cycle-SQL/insert-inherit-permissions-has-no-effect-on-quot-insert/m-p/39270#M1612, it appears that --insert_inherit_permissions is not observed when doing an INSERT OVERWRITE:

      Came across an interesting behavior with insert_inherit_permissions param.

      Doing a bunch of "insert into" table x, hdfs file persmissions are as expected as shown below.

      drwxrwxrwt - impala hive 0 2015-01-06 10:39 /user/hive/warehouse/rt_test/year=2015/month=1/adate=6/hour=10/min=39

      Then I did an "insert overwrite" on the same table and found that the hdfs file persmissions got reset as shown below:

      drwxr-xr-x - impala hive 0 2015-01-06 10:43 /user/hive/warehouse/rt_test/year=2015/month=1/adate=6/hour=10/min=39

      I am on impala 2.0....
      Is this a bug?

      Attachments

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            skye Skye Wanderman-Milne

            Dates

              Created:
              Updated:

              Slack

                Issue deployment