HBase
  1. HBase
  2. HBASE-11311

Secure Bulk Load does not execute chmod 777 on the files

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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);
      
      1. HBASE-11311-v0.patch
        1.0 kB
        Matteo Bertozzi

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

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

              Dates

              • Created:
                Updated:
                Resolved:

                Development