Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-28081

Snapshot working dir does not retain ACLs after snapshot commit phase

    XMLWordPrintableJSON

Details

    • Reviewed

    Description

      TestSnapshotScannerHDFSAclController is failing 100% on flaky dashboard.

       

      After snapshot is committed from working dir to final destination (under /.hbase-snapshot dir), if the operation was atomic rename, the working dir (e.g. /hbase/.hbase-snapshot/.tmp) no longer preserves ACLs that were derived from snapshot parent dir (e.g. /hbase/.hbase-snapshot) while creating first working snapshot dir. Hence, for new working dir, we should ensure that we preserve ACLs from snapshot parent dir.

      This would ensure that final snapshot commit dir has the expected ACLs regardless of whether we perform atomic rename of non-atomic copy operation in the snapshot commit phase.

       

      Attachments

        Issue Links

          Activity

            People

              vjasani Viraj Jasani
              zhangduo Duo Zhang
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: