[
https://issues.apache.org/jira/browse/HDFS-11696?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Yiqun Lin updated HDFS-11696:
-----------------------------
Attachment: HDFS-11696.005.patch
Attach the updated patch to fix the new generated warnings.
One note:
In the line {{super.visitFile(file, attrs);}} in
{{NNUpgradeUtil#doPreUpgrade}}, If input file is null, it will throw NPE
inside. In order to fix findbus issue, I do this outside to keep the consistent
logic.
> 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
>
>
> 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: [email protected]
For additional commands, e-mail: [email protected]