Hive / HCatalog Forum

AccessControlException: getBlockLocalPathInfo() authorization Error

  • #51824
    Rupert Bailey

    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 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

    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


to create new topics or reply. | New User Registration

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

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

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.