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

LoadTestTool should grant READ permission for the users that are given READ access for specific cells

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.98.2
    • Fix Version/s: 0.99.0, 0.98.3
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      In 0.98.2 onwards the AccessControlFilter

      case CHECK_CELL_FIRST: {
              LOG.info("Am coming here for cell first strategy");
              if (authManager.authorize(user, table, cell, Permission.Action.READ) &&
                  authManager.authorize(user, table, family, qualifier, Permission.Action.READ)) {
                LOG.info("Returning include");
                return ReturnCode.INCLUDE;
              }
      

      expects a READ permission on the table for those Users that are granted READ permission on the cell level.
      In 0.98.1

      if (authManager.authorize(user, table, cell, cellFirstStrategy, Permission.Action.READ)) {
            return ReturnCode.INCLUDE;
          }
      

      So from 0.98.2 onwards IntegrationTestIngestWithACL was failing. Hence this JIRA is targeted to correct the behaviour and make the IT work again.

        Attachments

        1. HBASE-11251_0.98_1.patch
          3 kB
          ramkrishna.s.vasudevan
        2. HBASE-11251_0.98.patch
          3 kB
          ramkrishna.s.vasudevan
        3. HBASE-11251_trunk_1.patch
          2 kB
          ramkrishna.s.vasudevan
        4. HBASE-11251_trunk.patch
          3 kB
          ramkrishna.s.vasudevan
        5. HBASE-11251-addendum-0.98.patch
          7 kB
          Andrew Kyle Purtell
        6. HBASE-11251-addendum-trunk.patch
          7 kB
          Andrew Kyle Purtell

          Activity

            People

            • Assignee:
              ram_krish ramkrishna.s.vasudevan
              Reporter:
              ram_krish ramkrishna.s.vasudevan
            • Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: