Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Error occurred while hbase shell was performing table creation

2025-03-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Hbase (main): 003 create 0 > test','cf'

ERROR: org.apache.hadoop.hbase.ipc.ServerNotRunningYetException: Server is not running yet

At org.apache.hadoop.hbase.ipc.RpcServer$Handler.run (RpcServer.java:1879)

Look at the log file in the.. / hbase0962/logs/ directory and find that the error message is

[hadoop@master hbase0962] $tail logs/hbase-hadoop-master-master.gzcd.com.log

2015-04-27 14 util.FSUtils 08 INFO 53330 [master:master:60000] Waiting for dfs to exit safe mode...

2015-04-27 14 util.FSUtils 09 util.FSUtils 03336 INFO [master:master:60000] Waiting for dfs to exit safe mode...

2015-04-27 14 util.FSUtils 09 INFO 13 345 [master:master:60000] util.FSUtils: Waiting for dfs to exit safe mode...

2015-04-27 14 util.FSUtils 09 util.FSUtils 23355 INFO [master:master:60000] Waiting for dfs to exit safe mode...

This is due to the fact that hadoop startup is still in safe mode.

[hadoop@master logs] $cd / app/hadoop/hadoop220/bin/hadoop dfsadmin-safemode get

-bash: cd: / app/hadoop/hadoop220/bin/hadoop: Not a directory

[hadoop@master logs] $/ app/hadoop/hadoop220/bin/hadoop dfsadmin-safemode get

DEPRECATED: Use of this script to execute hdfs command is deprecated.

Instead use the hdfs command for it.

Safe mode is ON

Just turn off safe mode:

[hadoop@master logs] $/ app/hadoop/hadoop220/bin/hadoop dfsadmin-safemode leave

DEPRECATED: Use of this script to execute hdfs command is deprecated.

Instead use the hdfs command for it.

Safe mode is OFF

Re-enter hbase shell, execute the command again, and no longer report an error!

Reference link to this article: http://www.2cto.com/database/201304/206119.html

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report