Duo Zhang commented on HBASE-16648:

The behavior of reportServerError method in 
ConnectionImplementation.ServerErrorTracker is a little strange. It adds a 
ServerError to the errorsByServer map if not exists but does not increase the 
error count. So simply change it to computeIfAbsent will cause TestHCM to fail. 
Now I add a simple hack to keep the behavior. We can fix it in another issue if 
we consider this is a bug.


> [JDK8] Use computeIfAbsent instead of get and putIfAbsent
> ---------------------------------------------------------
>                 Key: HBASE-16648
>                 URL: https://issues.apache.org/jira/browse/HBASE-16648
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Performance
>    Affects Versions: 2.0.0
>            Reporter: Duo Zhang
>            Assignee: Duo Zhang
>             Fix For: 2.0.0
>         Attachments: HBASE-16648.patch

This message was sent by Atlassian JIRA

Reply via email to