hbase查詢超時導致的錯誤

2021-09-01 21:39:29 字數 812 閱讀 1023

今天上線跑乙個hbase程式出現如下錯誤:

org.apache.hadoop.hbase.regionserver.leaseexception: org.apache.hadoop.hbase.regionserver.leaseexception: lease '5008606692699215376' does not exist

問題解決

hbase 客戶端呼叫建立在由socket+反射組成的hadoop rpc呼叫的基礎上;

客戶端主要介面是

htable和hbaseadmin,均是建立在hconnection介面實現類hconnectionimplementation上, 由

hconnectionimplementation維持到hmaster,hregionserver,zookeeper各個服務端程序的連線;

這裡主要的連線是到

hmaster,hregionserver的連線:這裡是建立在上面的rpc基礎上的

簡單起見 優化 改小這些預設引數:

hbase.client.retries.number=3     預設10

hbase.client.pause=100     預設 1000

hbase.rpc.timeout=6000   預設60000

hbase.client.operation.timeout=6000  預設integer.max_value

MSSQL 排序方式導致的查詢錯誤解決

cannot resolve the collation conflict between latin1 general ci as and sql latin1 general cp1 ci as in the union operation.1 推薦方式建立檢視用 collate 方式來解決 c...

jdk版本導致的錯誤

重灌了系統,重灌了一切。用新裝的myeclipse匯入以前的struts工程後,執行時卻出現錯誤 class bytes found but defineclass failed 看這錯誤提示真的是莫名其妙了,左翻番右查查,愣是沒輒。仔細看了看console,恩,weblogic執行使用的是jdk1...

memcpy 導致的段錯誤

在使用時注意不可用字串,如果是字串會導致段錯誤,可以使用asprintf函式複製字串。include include include int main 執行結果 segmentation fault除錯檢視就是在 memcpy token,s1 4 處出錯的 include include incl...