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 16:57:00 UTC
[jira] [Comment Edited] (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=16767385#comment-16767385 ]
Sean Busbey edited comment on HBASE-21884 at 2/13/19 4:56 PM:
--------------------------------------------------------------
v1 for master
- fix checkstyle complaint
was (Author: busbey):
- v1 for master
- fix checkstyle complaint
> 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: 3.0.0, 1.5.0, 2.2.0, 2.1.1, 2.0.3, 2.1.2, 2.0.4, 1.4.10, 1.3.4, 1.2.11, 2.3.0
> Reporter: Sean Busbey
> Assignee: Sean Busbey
> Priority: Minor
> Fix For: 3.0.0, 2.2.0, 1.4.10, 1.3.4, 1.2.11, 2.3.0, 2.1.4, 2.0.6, 1.5.1
>
> Attachments: HBASE-21884-branch-1.v0.patch, HBASE-21884-master.v0.patch, HBASE-21884-master.v1.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)