简体   繁体   English

HBase OutOfOrderScannerNextException关于在扫描时使用过滤器

[英]HBase OutOfOrderScannerNextException on using filter on scan

I am getting the follwing exception while using filters 使用过滤器时出现以下异常

org.apache.hadoop.hbase.DoNotRetryIOException: Failed after retry of OutOfOrderScannerNextException: was there a rpc timeout?

If i remove filter then it is working fine. 如果我删除过滤器,那么它工作正常。

This relates to the nature of the filter you are using. 这与您使用的过滤器的性质有关。 If ValueFilter is used on a table with large number of records, it takes time at the scanner and causes timeout for the client. 如果在有大量记录的表上使用ValueFilter ,则它在扫描器上花费时间并导致客户端超时。

You can try increasing the default RPC timeout value from 60000 (1minute) to a larger value in hbase-site.xml 您可以尝试在hbase-site.xml中将默认RPC超时值从60000(1分钟)增加到更大的值

<property>
    <name>hbase.rpc.timeout</name>
    <value>180000</value>
</property>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM