[
https://issues.apache.org/jira/browse/HDFS-11696?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16075160#comment-16075160
]
Andrew Wang commented on HDFS-11696:
------------------------------------
Sorry, I read the patch incorrectly before. There's still a behavior change
with this patch though. Previously, we did not throw an error when sub-flags
are specified without their parent. This is not documented to work, but we have
an init script that does this so there are probably others out there that will
hit this same issue.
Is there a way to address the spotbugs issues without changing the option
parsing behavior?
> 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-alpha4
> 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, HDFS-11696.007.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.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]