Sean Busbey created HBASE-21884:
-----------------------------------

             Summary: 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


{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)

Reply via email to