You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (Jira)" <ji...@apache.org> on 2022/07/19 05:27:00 UTC

[jira] [Work started] (HBASE-27222) Purge FutureReturnValueIgnored warnings from error prone

     [ https://issues.apache.org/jira/browse/HBASE-27222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Work on HBASE-27222 started by Duo Zhang.
-----------------------------------------
> Purge FutureReturnValueIgnored warnings from error prone
> --------------------------------------------------------
>
>                 Key: HBASE-27222
>                 URL: https://issues.apache.org/jira/browse/HBASE-27222
>             Project: HBase
>          Issue Type: Improvement
>          Components: netty
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>            Priority: Major
>
> We used to introduce a FutureUtils to purge the FutureReturnValueIgnored warnings in the async client implementation, to make sure we catch the exception from the callback.
> For netty, we could apply the same trick. And there is another problem for netty that channel.write and some other methods will also return a ChannelFuture but usually we just do nothing on it, this will generated a FutureReturnValueIgnored warning too. We could add a logging listener to log the errors if any.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)