Home Forums HBase Cannot create 'data' table

This topic contains 2 replies, has 2 voices, and was last updated by  Gregory Hart 3 months, 2 weeks ago.

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

Viewing 2 replies - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

  • Author
    Replies
  • #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.

    Collapse
    #51583

    Enis Soztutar
    Participant

    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!

    Collapse
Viewing 2 replies - 1 through 2 (of 2 total)