1. 程式人生 > >hbase資料庫錯誤總結

hbase資料庫錯誤總結

問題1:slf4j-log4j12-1.6.4.jar包衝突

[[email protected] ~]$ hbase shell
HBase Shell; enter 'help' for list of supported commands.
Type "exit" to leave the HBase Shell
Version 0.98.9-hadoop2, r96878ece501b0643e879254645d7f3a40eaf101f, Mon Dec 15 23:00:20 PST 2014

hbase(main):001:0> create 't','a','b'
SLF4J: Class path contains multiple SLF4J bindings.


SLF4J: Found binding in [jar:file:/usr/local/hbase-0.98.9-hadoop2/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/local/hadoop-2.6.0/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings
for an explanation.
2015-01-08 16:41:05,209 WARN  [main] util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
0 row(s) in 7.2240 seconds

解決方法:
 [[email protected] ~]$[[email protected] ~]$ su - root
[[email protected] conf]# mv /usr/local/hbase-0.98.9-hadoop2/lib/slf4j-log4j12-1.6.4.jar  /home/    --是jar包衝突了

[[email protected] conf]# su - hadoop

[[email protected] ~]$ hbase shell
2015-01-08 17:06:21,384 INFO  [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
2015-01-08 17:06:21,418 INFO  [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
2015-01-08 17:06:21,435 INFO  [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
2015-01-08 17:06:21,451 INFO  [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
2015-01-08 17:06:21,466 INFO  [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
HBase Shell; enter 'help' for list of supported commands.
Type "exit" to leave the HBase Shell
Version 0.98.9-hadoop2, r96878ece501b0643e879254645d7f3a40eaf101f, Mon Dec 15 23:00:20 PST 2014

hbase(main):001:0>

 
問題2:在hadoop-2.6.0版本中廢棄hadoop.native.lib連結庫

[[email protected] ~]$ hbase shell
2015-01-08 17:06:21,384 INFO  [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
2015-01-08 17:06:21,418 INFO  [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
2015-01-08 17:06:21,435 INFO  [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
2015-01-08 17:06:21,451 INFO  [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
2015-01-08 17:06:21,466 INFO  [main] Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
HBase Shell; enter 'help' for list of supported commands.
Type "exit" to leave the HBase Shell
Version 0.98.9-hadoop2, r96878ece501b0643e879254645d7f3a40eaf101f, Mon Dec 15 23:00:20 PST 2014

hbase(main):001:0>

解決方法:
[[email protected] ~]$ vim /usr/local/hadoop-2.6.0/etc/hadoop/core-site.xml

   hadoop.native.lib          --將hadoop.native.lib修改為io.native.lib.available
   true

相關推薦

hbase資料庫錯誤總結 ——ERROR: Can't get master address from ZooKeeper; znode data == null

執行hbase shell時報錯: hbase(main):001:0> list ERROR: Can't get master address from ZooKeeper; znode data == null Here is some help for th

hbase資料庫錯誤總結

問題1:slf4j-log4j12-1.6.4.jar包衝突 [[email protected] ~]$ hbase shellHBase Shell; enter 'help' for list of supported commands.Type "exit

Hbase 常見錯誤總結——摘自忘了

cti status 不同步 fat reducer led cep issue html 一、執行$ hbase hbck 命令時,出現以下提示: Invalid maximum heap size: -Xmx4096m The specified size excee

無法連線MySQL資料庫錯誤總結

1、可能密碼不對 [[email protected] mysql3311]# mysql -uroot -P3311 -h192.168.60.162 -p123 mysql: [Warning] Using a password on the command

Hbase錯誤總結Hbase連線不上Zookeeper

錯誤資訊: Could not start ZK at requested port of 2181. ZK was started at port: 2182. Aborting as clients (e.g. shell) will not be able to find this ZK

Hbase錯誤總結Hbase未正常關閉啟動報錯

錯誤資訊: org.apache.hadoop.hbase.NotServingRegionException: Region is not online 2018-10-24 17:20:02,554 INFO [node1:16000.activeMasterManager] zooke

kylin調優,專案中錯誤總結,知識點總結,kylin jdbc driver + 資料庫連線池druid + Mybatis專案中的整合,shell指令碼執行kylin restapi 案例

關於本篇文章的說明: 本篇文章為筆者辛苦勞作用了一整天總結出來的文件,大家閱讀轉發的時候請不要吝嗇寫上筆者:塗作權 和 原文地址。 由於筆者所在環境沒有人用過kylin,筆者也是自學官網,閱讀書籍 將kylin用於實際專案,期間遇到了很多很多關於kylin使用的問題。為了讓後面的人在

Java備份mysql資料庫錯誤總結

今天給專案加了個數據庫自動備份功能,免得以後都要用工具手動備份挺麻煩的。沒用做過相關的,於是上網找下這種的一些解決方案,發現大都大同小異,都是使用Runtime.getRuntime().exec(command),引數傳入的是mysql的備份命令,用的是mysql自帶的

jdbc連線資料庫基本步驟以及錯誤總結

連線資料庫的基本步驟:import java.sql.Connection; import java.sql.DriverManager; import java.sql.PreparedStatement; import java.sql.ResultSet; impor

Oracle資料庫常見錯誤總結(一)

實際專案實踐過程中,經常會遇到一些形如“ORA-XXXX”的Oracle錯誤提示,此時,我們便會開啟百度、Google,搜尋相關技術解決方案。本系列博文的目的就在於,對常見的Oracle錯誤提示進行總結,不斷完善。 ORA-12560 ORA-1

asp連線access資料庫時發生的'80004005'錯誤總結

我們經常會遇到以下錯誤: Microsoft JET Database Engine 錯誤 '80004005' 上下文無效或關閉。還有類似的不可識別格式的資料庫等錯誤提示。 原因是:當你的access資料庫是採用asp字尾的時候,在上傳到空間的時候,極有可能被哪裡的伺服器加

Eclipse和MyEclipse常出現的錯誤總結

導包 ren project 支持 pro mil cli lib prop 1. Myeclipse中導入的項目中按住快捷鍵(ctrl)鍵進行聯想時,無法聯想。解決方案:(1)可能缺少jar包,導包;(2)找.project文件,在其中加入如下代碼: Java代碼 收藏

使用SSH框架遇到的錯誤總結

frame lex utf name ssi 主鍵生成器 color factory creating 1、org.hibernate.exception.ConstraintViolationException: could not insert: 如果是主鍵是自增序列,

Nginx 500錯誤總結

響應 lpad 文件 增加 url 重新啟動 狀態 查看 暫時 Nginx 500錯誤總結 500(服務器內部錯誤) 服務器遇到錯誤,無法完成請求。 501(尚未實施) 服務器不具備完成請求的功能。例如,當服務器無法識別請求方法時,服務器可能會返回此代碼。

xcode工程編譯錯誤:一般錯誤總結

content 增加 style csdn val 解決 environ 方框 ron 1.Apple LLVM 8.0 Error Group /’all-product-headers.yaml’ not found 最近升級了xcode打包後出現了個BUG,記錄解

最近遇到的異常與錯誤總結

reference dstat 異常 總結 ria num 空指針 格式化 first 異常 NumberFormatException 數字格式化異常 ArithmeticException 算術異常 ArrayIndexOutOfBoundsException 數組

第一次課、課後作業錯誤總結

錯誤 size code mic 作業 問題 font int char 由於先前對Java語法知識 的欠缺,而且這學期數據結構課之中一直采用C語言,因而在Java編程過程之中犯了許多錯誤,特別是直接套用C語言的語法導致錯誤的,還有就是由於C語言的自帶功能比較少,因此在編程

zabbix錯誤總結:ZBX_NOTSUPPORTED: Unsupported item key.

zabbix key大家在使用Zabbix的時候往往會自定義Item。但是經常會遇到自定義的Item動不動就Not Supported了。其實原因很簡單。Zabbix Agent默認的超時時間是3秒。往往我們自定義的Item由於各種原因返回時間會比較長。所以建議統一修改一個適合自己實際的值。vim /e

Xcode出現( linker command failed with exit code 1)錯誤總結

name 找不到文件 解決方法 錯誤 依賴 刪掉 導入 base replace 這種問題,通常出現在添加第三方庫文件或者多人開發時。一般是找不到文件而導致的鏈接錯誤。 我們可以從如下幾個方面著手排查。 提一點,我覺得一下方法中90%以上能解決你遇到的這個錯誤

Rreact Native 常見錯誤總結

指正 自己 努力 mod 目錄 .net window exception ati 1.invariant violation:expected a component class,got[object object] 創建自定義組件首字母要大寫,否則會報錯.