包含无效数据的hbase响应

bvjveswy  于 2021-06-09  发布在  Hbase
关注(0)|答案(1)|浏览(566)

这是regionserver的调试日志。

2014-09-23,14:57:59,107 DEBUG org.apache.hadoop.hbase.client.ClientScanner: Creating scanner over .META. starting at key 'miliao_user_seq,,'
2014-09-23,14:57:59,107 DEBUG org.apache.hadoop.hbase.client.ClientScanner: Advancing internal scanner to startKey at 'miliao_user_seq,,'
2014-09-23,14:57:59,107 DEBUG org.apache.hadoop.ipc.HBaseClient: IPC Client (847446306) connection to lg-hadoop-srv-st04.bj/10.2.201.77:13600 from hbase_srv/hadoop@XIAOMI.HADOOP sending #204
2014-09-23,14:57:59,108 DEBUG org.apache.hadoop.ipc.SecureClient: IPC Client (847446306) connection to lg-hadoop-srv-st04.bj/10.2.201.77:13600 from hbase_srv/hadoop@XIAOMI.HADOOP got value #204
2014-09-23,14:57:59,108 DEBUG org.apache.hadoop.ipc.SecureClient: call #204 state is 0
2014-09-23,14:57:59,108 DEBUG org.apache.hadoop.ipc.SecureClient: call #204, response is:
OW[class=long,value=-16338305647227588]
2014-09-23,14:57:59,108 DEBUG org.apache.hadoop.ipc.SecureRpcEngine: Call: openScanner 1
2014-09-23,14:57:59,108 DEBUG org.apache.hadoop.ipc.HBaseClient: IPC Client (847446306) connection to lg-hadoop-srv-st04.bj/10.2.201.77:13600 from hbase_srv/hadoop@XIAOMI.HADOOP sending #205
2014-09-23,14:57:59,109 DEBUG org.apache.hadoop.ipc.SecureClient: IPC Client (847446306) connection to lg-hadoop-srv-st04.bj/10.2.201.77:13600 from hbase_srv/hadoop@XIAOMI.HADOOP got value #205
2014-09-23,14:57:59,109 DEBUG org.apache.hadoop.ipc.SecureClient: call #205 state is 0
2014-09-23,14:57:59,110 DEBUG org.apache.hadoop.ipc.SecureClient: call #205, response is:
OW[class=class [Lorg.apache.hadoop.hbase.client.Result;,value=[Lorg.apache.hadoop.hbase.client.Result;@2081ca25]
2014-09-23,14:57:59,110 DEBUG org.apache.hadoop.ipc.SecureRpcEngine: Call: next 2
2014-09-23,14:57:59,110 DEBUG org.apache.hadoop.ipc.HBaseClient: IPC Client (847446306) connection to lg-hadoop-srv-st04.bj/10.2.201.77:13600 from hbase_srv/hadoop@XIAOMI.HADOOP sending #206
2014-09-23,14:57:59,110 DEBUG org.apache.hadoop.ipc.SecureClient: IPC Client (847446306) connection to lg-hadoop-srv-st04.bj/10.2.201.77:13600 from hbase_srv/hadoop@XIAOMI.HADOOP got value #206
2014-09-23,14:57:59,110 DEBUG org.apache.hadoop.ipc.SecureClient: call #206 state is 0
2014-09-23,14:57:59,110 DEBUG org.apache.hadoop.ipc.SecureClient: call #206, response is:
OW[class=void,value=null]
2014-09-23,14:57:59,110 DEBUG org.apache.hadoop.ipc.SecureRpcEngine: Call: close 0
2014-09-23,14:57:59,110 DEBUG org.apache.hadoop.hbase.client.HConnectionManager: Try to delete HConnection, connectionKey=HConnectionKey{properties={hbase.zookeeper.property.clientPort=11000, hbase.client.pause=200, zookeeper.znode.parent=/hbase/lgsrv-miliao, hbase.client.retries.number=4, hbase.zookeeper.quorum=10.101.10.66,10.101.10.67,10.2.201.73,10.2.201.74,10.2.201.75}, username='hbase_srv/hadoop@XIAOMI.HADOOP'}, stopProxy=false, staleConnection=false
2014-09-23,14:57:59,110 DEBUG org.apache.hadoop.hbase.catalog.CatalogTracker: Stopping catalog tracker org.apache.hadoop.hbase.catalog.CatalogTracker@40128340
2014-09-23,14:57:59,110 DEBUG org.apache.hadoop.hbase.client.HConnectionManager: Try to delete HConnection, connectionKey=HConnectionKey{properties={hbase.zookeeper.property.clientPort=11000, hbase.client.pause=200, zookeeper.znode.parent=/hbase/lgsrv-miliao, hbase.client.retries.number=4, hbase.zookeeper.quorum=10.101.10.66,10.101.10.67,10.2.201.73,10.2.201.74,10.2.201.75}, username='hbase_srv/hadoop@XIAOMI.HADOOP'}, stopProxy=false, staleConnection=false
2014-09-23,14:57:59,111 DEBUG org.apache.zookeeper.ZooKeeper: Closing session: 0x4877f5617edf6d

你可以看到它得到的数据。这很不正常,我不知道为什么会这样。顺便说一下,在hbase shell中扫描表时可以得到正确的结果。

2014-09-23,14:57:59,110 DEBUG org.apache.hadoop.ipc.SecureClient: call #205, response is:
OW[class=class [Lorg.apache.hadoop.hbase.client.Result;,value=[Lorg.apache.hadoop.hbase.client.Result;@2081ca25]
2014-09-23,14:57:59,110 DEBUG org.apache.hadoop.ipc.SecureClient: call #206, response is:
OW[class=void,value=null]
f0ofjuux

f0ofjuux1#

这似乎不是问题。我可以扫描元表,得到正确的结果。

相关问题