The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

HDP on Linux – Installation Forum

HBase causes errors in Namenode logs

  • #26335
    Francois BORIE


    First of all, thanks for developing Ambari and HDP. We greatly appreciate the work done.

    I have those frequent error messages in the namenode logs, on 2 different clusters deployed with HDP 1.2 and Ambari – version of hbase is hbase-

    2013-05-27 00:00:00,910 WARN got exception trying to get groups for user hbase
    org.apache.hadoop.util.Shell$ExitCodeException: id: hbase: No such user

    at org.apache.hadoop.util.Shell.runCommand(
    at org.apache.hadoop.util.Shell$ShellCommandExecutor.execute(
    at org.apache.hadoop.util.Shell.execCommand(
    at org.apache.hadoop.util.Shell.execCommand(
    at org.apache.hadoop.hdfs.server.namenode.FSPermissionChecker.(
    at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getPermissionChecker(
    at org.apache.hadoop.hdfs.server.namenode.FSNamesystem.getFileInfo(
    at org.apache.hadoop.hdfs.server.namenode.NameNode.getFileInfo(
    at sun.reflect.GeneratedMethodAccessor49.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.apache.hadoop.ipc.RPC$
    at org.apache.hadoop.ipc.Server$Handler$
    at org.apache.hadoop.ipc.Server$Handler$
    at Method)
    at org.apache.hadoop.ipc.Server$
    2013-05-27 00:00:00,912 WARN No groups available for user hbase

    I know the error is really explicit and looks easy to fix, but as my cluster has been deployed with Ambari, it looks like a deployment bug.

    Any idea ?

    Best regards,


  • Author
  • #26416
    Larry Liu

    Hi, Francois

    The warning seems complaining user hbase.

    2013-05-27 00:00:00,912 WARN No groups available for user hbase

    Can you check user hbase on your box? THe username should exist in group hadoop.


    Francois BORIE

    Hi Larry,

    Thanks for your answer.

    Indeed, the user hbase has not been created in the /etc/passwd file on my namenode box, because no
    hmaster / hregionserver is deployed on this specific box (7 nodes cluster)

    But the user hbase is deployed on all other boxes where either hmaster or hregionserver is deployed (thanks to Puppet :)

    [root@namenode_box ~]# cat /etc/passwd | grep -i hbase
    [root@namenode_box ~]# cat /etc/group | grep -i hadoop
    [hdfs@namenode_box ~]#
    -bash-4.1$ hadoop fs -lsr /
    drwxr-xr-x – hdfs hdfs 0 2013-05-23 14:54 /apps
    drwxr-xr-x – hdfs hdfs 0 2013-05-23 15:54 /apps/hbase
    drwx—— – hbase hdfs 0 2013-05-23 17:29 /apps/hbase/data

    I think the problem is present when you deploy your namenode independently from hbase services.

    What is your advice on that point ?




    Hi Francois,

    This does look like a deployment bug, and should be easy for us to fix in an upcoming release. I’ll make sure that it gets logged.


The forum ‘HDP on Linux – Installation’ is closed to new topics and replies.

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.