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 2019/02/13 05:39:00 UTC
[jira] [Commented] (HBASE-21884) Fix box/unbox findbugs warning in
secure bulk load
[ https://issues.apache.org/jira/browse/HBASE-21884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16766789#comment-16766789 ]
Sean Busbey commented on HBASE-21884:
-------------------------------------
okay I have a patch for master/branches-2 that removes similar autoboxing there. I'll attach it once QABot has a go at this branches-1 version.
> Fix box/unbox findbugs warning in secure bulk load
> --------------------------------------------------
>
> Key: HBASE-21884
> URL: https://issues.apache.org/jira/browse/HBASE-21884
> Project: HBase
> Issue Type: Task
> Affects Versions: 1.5.0, 1.4.10, 1.3.4, 1.2.11
> Reporter: Sean Busbey
> Assignee: Sean Busbey
> Priority: Minor
> Fix For: 1.4.10, 1.3.4, 1.2.11, 1.5.1
>
> Attachments: HBASE-21884-branch-1.v0.patch
>
>
> {code}
> Reason Tests
> FindBugs module:hbase-server
> Boxed value is unboxed and then immediately reboxed in org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.incrementUgiReference(UserGroupInformation) At SecureBulkLoadEndpoint.java:then immediately reboxed in org.apache.hadoop.hbase.security.access.SecureBulkLoadEndpoint.incrementUgiReference(UserGroupInformation) At SecureBulkLoadEndpoint.java:[line 268]
> {code}
> Looking at branch-2 and master I suspect we're doing the same wasteful operation but findbugs can't see it through the lambda definition.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)