[ 
https://issues.apache.org/jira/browse/HADOOP-11761?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14384930#comment-14384930
 ] 

Haohui Mai commented on HADOOP-11761:
-------------------------------------

Cloning the bytes every time might be too expensive as {{getSecret()}} is 
called on every authentication request.  We can either disable the warnings or 
change the API to return a read-only {{ByteBuffer}}.

> Fix findbugs warnings in org.apache.hadoop.security.authentication
> ------------------------------------------------------------------
>
>                 Key: HADOOP-11761
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11761
>             Project: Hadoop Common
>          Issue Type: Bug
>            Reporter: Li Lu
>            Assignee: Li Lu
>            Priority: Minor
>              Labels: findbugs
>         Attachments: HADOOP-11761-032615.patch
>
>
> As discovered in HADOOP-11748, we need to fix the findbugs warnings in 
> org.apache.hadoop.security.authentication. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to