[ https://issues.apache.org/jira/browse/HBASE-21884?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16767506#comment-16767506 ]
Peter Somogyi commented on HBASE-21884: --------------------------------------- +1 > 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)