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

Akira Ajisaka commented on HDFS-11696:
--------------------------------------

Thank you for updating the patch, [~linyiqun]. Can we just ignore the warnings 
in NNUpgradeUtil.java by adding a section in findbugs-exclude.xml? The method 
throws NPE even after the fix when the input variable is null.

> Fix warnings from Spotbugs in hadoop-hdfs
> -----------------------------------------
>
>                 Key: HDFS-11696
>                 URL: https://issues.apache.org/jira/browse/HDFS-11696
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 3.0.0-alpha3
>            Reporter: Yiqun Lin
>            Assignee: Yiqun Lin
>         Attachments: findbugsHtml.html, HADOOP-14337.001.patch, 
> HADOOP-14337.002.patch, HADOOP-14337.003.patch, HDFS-11696.004.patch, 
> HDFS-11696.005.patch, HDFS-11696.006.patch
>
>
> There are totally 12 findbugs issues generated after switching from Findbugs 
> to Spotbugs across the project in HADOOP-14316. This JIRA focus on cleaning 
> up the part of warnings under scope of HDFS(mainly contained in hadoop-hdfs 
> and hadoop-hdfs-client).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to