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

Fix the inconsistent permission checks for bulkloading.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 1.0.0, 0.98.10, 1.1.0
    • None
    • None
    • Incompatible change, Reviewed
    • Bulk load permissions are changed from requiring both C and W to only require C.

    Description

      Three checks(prePrepareBulkLoad, preCleanupBulkLoad, preBulkLoadHFile) are being done while performing secure bulk load, and it looks the former two checks for 'W', while the later checks for 'C'. After having offline chat with jdcryans, looks like the inconsistency among checks were unintended. So, we can address this multiple ways.

      • All checks should be for 'W'
      • All checks should be for 'C'
      • All checks should be for both 'W' and 'C'
        Posting the initial patch going by the first option. Open to discussion.

      Attachments

        1. HBASE-12774_v2.patch
          2 kB
          Srikanth Srungarapu
        2. HBASE-12774_v3.patch
          2 kB
          Enis Soztutar
        3. HBASE-12774_v3.patch
          2 kB
          Srikanth Srungarapu
        4. HBASE-12774.patch
          0.7 kB
          Srikanth Srungarapu

        Issue Links

          Activity

            People

              srikanth235 Srikanth Srungarapu
              srikanth235 Srikanth Srungarapu
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: