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

Add write permissions check before any hbck run that modifies hdfs.

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.6, 0.92.2, 0.94.0, 0.95.2
    • 0.94.2
    • hbck
    • None
    • Reviewed

    Description

      We encoutered a situation where hbck was run by an under-privileged user that was unable to write/modify/merge regions due to hdfs perms. Unfortunately, this user was alerted of this after several minutes of read-only operations. hbck should fail early by having a write perm check and providing actionable advice to the hbase admin.

      Maybe something like: "Current user yy does not have write perms to <hbase home>. Please run hbck as hdfs user xxx"

      Attachments

        1. hbase-5714-94.patch
          7 kB
          Jonathan Hsieh
        2. hbase-5714-92.patch
          7 kB
          Jonathan Hsieh
        3. hbase-5714-90.patch
          8 kB
          Jonathan Hsieh
        4. HBASE-5628.patch.v2
          7 kB
          Liang Xie
        5. HBASE-5628.patch
          7 kB
          Liang Xie

        Issue Links

          Activity

            People

              xieliang007 Liang Xie
              jmhsieh Jonathan Hsieh
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: