Hi ALL,
When I use RichAsyncFunction read data from hbase, it always timeout after a few minutes. but the hbase connection is not close, it also can get data in the override method timeout. Following is the code, does somebody know why trigger timeout. ==================================================================== AsyncDataStream.unorderedWait(uidDs, new AsyncHBaseRequest(hTableName, @Override @Override |
Hi Polarisary, IMO, firstly, it would be better to monitor the OS and Flink/HBase metrics. For example:
You can view these metrics to find some potential reasons. If you can not figure it out, you can share these metrics with the community. Best, Vino Polarisary <[hidden email]> 于2019年12月18日周三 上午11:09写道:
|
In reply to this post by Polarisary
Hi Polarisary, It's hard to tell what happened without further detail. Just some guesses. 1. Have you completed the "resultFuture" in "asyncInvoke"? Asking this is because there is only a part of "asyncInvoke" implementation, I can't see the completion part. 2. The capacity (10) of async waiting queue is enough or not? The time of waiting queue available is also a part of the timeout calculation. It seems this behavior has been changed in master branch recently. I'm not sure if it's included or not in your version. Thanks, Biao /'bɪ.aʊ/ On Wed, 18 Dec 2019 at 11:09, Polarisary <[hidden email]> wrote:
|
Free forum by Nabble | Edit this page |