Home Forums Hive / HCatalog AccessControlException: getBlockLocalPathInfo() authorization Error

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

  • Creator
  • #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
    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


    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


You must be logged in to reply to this topic.