Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-1476

Hive's metastore when run as a thrift service creates directories as the service user instead of the real user issuing create table/alter table etc.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.6.0, 0.7.0
    • None
    • Metastore, Security
    • None

    Description

      If the thrift metastore service is running as the user "hive" then all table directories as a result of create table are created as that user rather than the user who actually issued the create table command. This is different semantically from non-thrift mode (i.e. local mode) when clients directly connect to the metastore. In the latter case, directories are created as the real user. The thrift mode should do the same.

      Attachments

        1. HIVE-1476.patch
          51 kB
          Sushanth Sowmyan
        2. HIVE-1476.patch.2
          43 kB
          Sushanth Sowmyan

        Issue Links

          Activity

            People

              Unassigned Unassigned
              pkamath Pradeep Kamath
              Votes:
              1 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated: