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

Secure Bulk Load does not execute chmod 777 on the files

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.99.0, 0.98.2
    • 0.99.0, 0.98.4
    • security
    • 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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment