DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Related

  • Building Centralized Master Data Hub: Architecture, APIs, and Governance
  • Keeping Two Multi-Master Databases Aligned With a Vector Clock
  • Establishing a Highly Available Kubernetes Cluster on AWS With Kops
  • Recovering an MS SQL Database From Suspect Mode: Step-By-Step Guide

Trending

  • Testing AI-Infused Apps: A Dual-Layer Framework for AI Quality Assurance
  • Compliance Automated Standard Solution (COMPASS), Part 11: Compliance as Code, the OSCAL MCP Server Way
  • Beyond Manual Annotation: Engineering Self-Correcting Pseudo-Labeling Pipelines
  • How SaaS Architectures Break at Scale — and the Engineering Decisions That Prevent It
  1. DZone
  2. Data Engineering
  3. Databases
  4. Hbase Error: Region is not online: -ROOT-„0

Hbase Error: Region is not online: -ROOT-„0

By 
George London user avatar
George London
·
Feb. 07, 13 · Interview
Likes (0)
Comment
Save
Tweet
Share
12.8K Views

Join the DZone community and get the full member experience.

Join For Free

If you are running HBase and commands are giving you an error that looks like this:

Fri Oct 05 21:45:02 UTC 2012, org.apache.hadoop.hbase.client.ScannerCallable@74f2db2d, org.apache.hadoop.hbase.NotServingRegionException: org.apache.hadoop.hbase.NotServingRegionException: Region is not online: -ROOT-„0

at org.apache.hadoop.hbase.regionserver.HRegionServer.getRegion(HRegionServer.java:2859)

at org.apache.hadoop.hbase.regionserver.HRegionServer.openScanner(HRegionServer.java:2071)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:364)

at org.apache.hadoop.hbase.ipc.

HBaseServer$Handler.run(HBaseServer.java:1345)

Your HBase master is failing to start because Zookeeper is giving it an incorrect location for where the -ROOT- table is located. If you go into the HBase webui, you’ll see “Assigning ROOT region” as the status of the master node on startup.

To fix this:

$ hbase zkcli

zookeeper_cli> rmr /hbase/root-region-server

Then restart your master node, and you should be fine.

master Database Command (computing)

Published at DZone with permission of George London. See the original article here.

Opinions expressed by DZone contributors are their own.

Related

  • Building Centralized Master Data Hub: Architecture, APIs, and Governance
  • Keeping Two Multi-Master Databases Aligned With a Vector Clock
  • Establishing a Highly Available Kubernetes Cluster on AWS With Kops
  • Recovering an MS SQL Database From Suspect Mode: Step-By-Step Guide

Partner Resources

×

Comments

The likes didn't load as expected. Please refresh the page and try again.

  • RSS
  • X
  • Facebook

ABOUT US

  • About DZone
  • Support and feedback
  • Community research

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 215
  • Nashville, TN 37211
  • [email protected]

Let's be friends:

  • RSS
  • X
  • Facebook