HBase 客户端线程卡在等待 HBaseClient.call()

发布于 2024-12-26 12:26:35 字数 635 浏览 4 评论 0原文

我有一个独立的 HBase 实例(单个实例,在本地主机上,没有 Hadoop)。

使用扫描仪读取几千条记录后,我的线程陷入等待状态,始终在同一条记录上。

此外,如果我从 hbase shell 运行 count 'table',它也会被卡住,大约为记录 10k。

hbase(main):001:0> count 'cache'

HBase 日志中没有错误或任何异常情况。

在这两种情况下,HBase 服务器中的客户端线程都陷入等待状态:

"main" prio=10 tid=0x0000000001102000 nid=0xbd1 in Object.wait() [0x00007f8e9088f000]
   java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:503)
    at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:757)

有任何线索吗?

I have a standalone instance of HBase (single instance, on localhost, no Hadoop).

After reading a few thousand records using a scanner my thread gets stuck waiting, always on the same record.

Additionally if I run count 'table' from the hbase shell it also get's stuck, at about record 10k.

hbase(main):001:0> count 'cache'

There are no errors, or anything unusual in the HBase logs.

In both instances the client thread in the HBase server is stuck waiting:

"main" prio=10 tid=0x0000000001102000 nid=0xbd1 in Object.wait() [0x00007f8e9088f000]
   java.lang.Thread.State: WAITING (on object monitor)
    at java.lang.Object.wait(Native Method)
    at java.lang.Object.wait(Object.java:503)
    at org.apache.hadoop.hbase.ipc.HBaseClient.call(HBaseClient.java:757)

Any clues?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文