[
https://issues.apache.org/jira/browse/HBASE-20790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16524467#comment-16524467
]
Duo Zhang commented on HBASE-20790:
-----------------------------------
For the FutureReturnValueIgnored warning, there is no way to fix it currently.
The problem is that, the chained CompletableFuture can not handle checked
exception, so the only way to transform the checked exception, is creating a
new CompletableFuture manually and complete it in whenComplete, which means
that the return value of the chained CompletableFuture will finally be ignored,
as every method in CompletableFuture will return a new CompletableFuture, which
causes the error phone warning...
> Fix the style issues on branch HBASE-19064 before merging back to master
> ------------------------------------------------------------------------
>
> Key: HBASE-20790
> URL: https://issues.apache.org/jira/browse/HBASE-20790
> Project: HBase
> Issue Type: Sub-task
> Components: build
> Reporter: Duo Zhang
> Priority: Major
> Fix For: HBASE-19064
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)