AccessControlException: getBlockLocalPathInfo() authorization Error

to create new topics or reply. | New User Registration

This topic contains 0 replies, has 1 voice, and was last updated by  Rupert Bailey 1 year, 3 months ago.

  • Creator
    Topic
  • #51824

    Rupert Bailey
    Participant

    I’ve run this as “user” and “hbase” but I still can’t get it to pump some data to a hbase table.
    hbase org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles /user/user/hbase_text.hfile table2
    sudo -u hbase hbase org.apache.hadoop.hbase.mapreduce.LoadIncrementalHFiles /user/hbase/hbase_text.hfile table2

    The Hbase spits me out with a Short Circuit access error:
    14/04/18 21:28:36 WARN hdfs.DFSClient: Short circuit access failed
    org.apache.hadoop.security.AccessControlException: org.apache.hadoop.security.AccessControlException: Can’t continue with getBlockLocalPathInfo() authorization. The user hbase is not allowed to call getBlockLocalPathInfo

    The guide requires the hbase user provided by $HBASE_USER to be in the dfs.block.local-path-access.user key/value pair on /etc/hadoop/conf/hdfs-site.xml
    http://docs.hortonworks.com/HDPDocuments/HDP1/HDP-1.2.4/bk_using_Ambari_book/content/ambari-chap5-3-17.html

    However neither this or adding my own user, as a comma separated group “hbase,user”, or running this hbase process as a hbase/hive user helps.
    Using HDP 1.3.2 Centos 6.5

    Ideas?

You must be to reply to this topic. | Create Account

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.