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

Secure Bulk Load does not execute chmod 777 on the files

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.99.0, 0.98.2
    • Fix Version/s: 0.99.0, 0.98.4
    • Component/s: security
    • Labels:
      None

      Description

      With HBASE-10902 we lost the setPermission() on the hfiles that we are moving, resulting in a Permission denied when we try to remove the file

      Permission denied: user=hbase, access=WRITE, inode="/hbase/.../3de9fdb2a99e4ef9937b4622317d10e0_SeqId_2_":testuser:hadoop:-rwxr-xr-x
      
       for(Pair<byte[], String> el: familyPaths) {
      -   Path p = new Path(el.getSecond());
      -   LOG.trace("Setting permission for: " + p);
      -   fs.setPermission(p, PERM_ALL_ACCESS);
      

        Attachments

        1. HBASE-11311-v0.patch
          1.0 kB
          Matteo Bertozzi

          Issue Links

            Activity

              People

              • Assignee:
                mbertozzi Matteo Bertozzi
                Reporter:
                mbertozzi Matteo Bertozzi
              • Votes:
                0 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: