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

HBase master start fails due to incorrect file creations

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.96.0
    • Fix Version/s: 0.98.8, 0.99.1
    • Component/s: master
    • Environment:

      Ubuntu

    • Tags:
      hbase-server

      Description

      • Start of HBase master fails due to the following error found in the log.

      2014-11-11 20:25:58,860 WARN org.apache.hadoop.hbase.backup.HFileArchiver:
      Failed to archive class org.apache.hadoop.hbase.backup.HFileArchiver$FileablePa
      th,file:hdfs://YYYY/hbase/.tmp/data/default/tbl/00820520f5cb7839395e83f40c8d97c2/e/52bf9eee7a27460c8d9e2a26fa43c918_SeqId_282271246_ on try #1
      org.apache.hadoop.security.AccessControlException: Permission denied:
      user=hbase,access=WRITE,inode="/hbase/.tmp/data/default/tbl/00820520f5cb7839395e83f40c8d97c2/e/52bf9eee7a27460c8d9e2a26fa43c918_SeqId_282271246_":devuser:supergroup:-rwxr-xr-x

      • All the files that hbase master was complaining about are created under an users user-id instead on "hbase" user resulting in incorrect access permission for the master to act on.
      • Looks like this was due to bulk load done using LoadIncrementalHFiles program.
      • HBASE-12052 is another scenario similar to this one.

        Attachments

          Activity

            People

            • Assignee:
              aliciashu Alicia Ying Shu
              Reporter:
              gsbiju Biju Nair
            • Votes:
              1 Vote for this issue
              Watchers:
              11 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: