dzcxzl created HADOOP-20099:
-------------------------------
Summary: Fix SpotBugs warnings in modules missing the global
exclude filter
Key: HADOOP-20099
URL: https://issues.apache.org/jira/browse/HADOOP-20099
Project: Hadoop Common
Issue Type: Test
Environment: Any PR that touches a file in the repository root makes
Yetus treat the root module "." as changed and run spotbugs on the whole tree,
which reports -1 spotbugs | root in trunk has 69 extant spotbugs warnings.
HADOOP-19731 introduced dev-support/findbugs-exclude-global.xml and wired it
into module poms, but modules without their own spotbugs-maven-plugin
configuration were missed: hadoop-maven-plugins,
hadoop-dynamometer-\{blockgen,infra,workload}, hadoop-federation-balance,
hadoop-compat-bench, hadoop-azure-datalake, hadoop-distcp, hadoop-archives and
hadoop-extras.
Two of the warnings are not covered by the global filter and are real code
issues:
- ES_COMPARING_STRINGS_WITH_EQ in AdlFileSystem#toFileStatuses (entry.name ==
"")
- FS_BAD_DATE_FORMAT_FLAG_COMBO in StatePool#initialize (hh without an AM/PM
marker)
Reporter: dzcxzl
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]