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

HBase Forum

Cannot create 'data' table

  • #51582
    Gregory Hart
    Participant

    I noticed that in the Hortonworks Sandbox 2.0 virtual machine, I cannot create a table in HBase named ‘data’. The other tables names that I’ve tried have worked fine. I’m not sure if this is a bug for Apache HBase or just Hortonworks HBase, so I wanted to see if anybody could help by testing on their machines?

    To reproduce, I just run “hbase shell” and type in:
    create ‘data’, ‘cf’

    I see this error message on the region server:
    2014-04-15 17:18:20,334 INFO [Priority.RpcServer.handler=4,port=60020] regionserver.HRegionServer: Open data,,1397607500120.eeb4db6dcc5606cef034531f8048db27.
    2014-04-15 17:18:20,334 WARN [Priority.RpcServer.handler=4,port=60020] regionserver.HRegionServer: Failed opening region data,,1397607500120.eeb4db6dcc5606cef034531f8048db27.
    java.io.IOException: No descriptor found for non table = data
    at org.apache.hadoop.hbase.util.FSTableDescriptors.get(FSTableDescriptors.java:154)
    at org.apache.hadoop.hbase.regionserver.HRegionServer.openRegion(HRegionServer.java:3506)
    at org.apache.hadoop.hbase.protobuf.generated.AdminProtos$AdminService$2.callBlockingMethod(AdminProtos.java:19795)
    at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2146)
    at org.apache.hadoop.hbase.ipc.RpcServer$Handler.run(RpcServer.java:1851)

    The master server just reports the error message from the region server:
    2014-04-15 17:18:20,378 INFO [MASTER_TABLE_OPERATIONS-sandbox:60000-0] master.AssignmentManager: Unable to communicate with sandbox.hortonworks.com,60020,13976
    06978485 in order to assign regions,
    java.io.IOException: java.io.IOException: No descriptor found for non table = data
    at org.apache.hadoop.hbase.util.FSTableDescriptors.get(FSTableDescriptors.java:154)
    at org.apache.hadoop.hbase.regionserver.HRegionServer.openRegion(HRegionServer.java:3506)
    at org.apache.hadoop.hbase.protobuf.generated.AdminProtos$AdminService$2.callBlockingMethod(AdminProtos.java:19795)
    at org.apache.hadoop.hbase.ipc.RpcServer.call(RpcServer.java:2146)
    at org.apache.hadoop.hbase.ipc.RpcServer$Handler.run(RpcServer.java:1851)

  • Author
    Replies
  • #51583
    Enis Soztutar
    Moderator

    Thanks Gregory for reporting this. It looks like a valid bug in apache hbase as well. I can reproduce this in the trunk code. There has been a change in the directory layout in HBase 0.96 for introducing namespaces. The HBase root directory now keeps all table data under the sub-directory “data”. I suspect the error is somewhere there.

    If you prefer, you can open an issue to track this in Jira https://issues.apache.org/jira/browse/HBASE, or we can create the issue for you. Thanks for letting us know!

    #51625
    Gregory Hart
    Participant

    Thanks for the help, Enis! I opened issue HBASE-11006. Please take a look and add anything I may have missed.

The forum ‘HBase’ 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.