You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Sean Busbey (JIRA)" <ji...@apache.org> on 2017/06/26 13:43:00 UTC
[jira] [Commented] (HBASE-18268) Eliminate the findbugs warnings
for hbase-client
[ https://issues.apache.org/jira/browse/HBASE-18268?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16063097#comment-16063097 ]
Sean Busbey commented on HBASE-18268:
-------------------------------------
{code}
diff --git hbase-client/src/main/java/org/apache/hadoop/hbase/util/PoolMap.java hbase-client/src/main/java/org/apache/hadoop/hbase/util/PoolMap.java
index 2131db359f..40c6b55e53 100644
--- hbase-client/src/main/java/org/apache/hadoop/hbase/util/PoolMap.java
+++ hbase-client/src/main/java/org/apache/hadoop/hbase/util/PoolMap.java
@@ -210,7 +210,7 @@ public class PoolMap<K, V> implements Map<K, V> {
}
}
}
- return null;
+ return entries;
}
protected interface Pool<R> {
{code}
oof. That's a pretty bad bug. Curious that this hasn't caused PoolMap to explode anywhere.
> Eliminate the findbugs warnings for hbase-client
> ------------------------------------------------
>
> Key: HBASE-18268
> URL: https://issues.apache.org/jira/browse/HBASE-18268
> Project: HBase
> Issue Type: Sub-task
> Components: Client
> Reporter: Chia-Ping Tsai
> Assignee: Chia-Ping Tsai
> Fix For: 3.0.0, 1.4.0, 1.3.2, 1.2.7, 2.0.0-alpha-2, 1.1.12
>
> Attachments: HBASE-18268.v0.patch
>
>
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)