Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-18659 Use HDFS ACL to give user the ability to read snapshot directly on HDFS
  3. HBASE-22842

Tmp directory should not be deleted when master restart used for user scan snapshot feature

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-alpha-1, 2.3.0
    • None
    • None

    Description

      When create table, table directories are firstly created in tmp directory and then move to data directory. So HDFS ACLs are set at the following tmp directories used for ACLs inherited:

      {hbase-rootdir}/.tmp/data
      {hbase-rootdir}/.tmp/data/{namespace}
      {hbase-rootdir}/.tmp/data/{namespace}/{table}
      

      When master restart, it will delete tmp directory and this will break this feature.

       

      Attachments

        Issue Links

          Activity

            People

              meiyi Yi Mei
              meiyi Yi Mei
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: