Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
The findbugsExcludeFile.xml file was broken and the findbugs complains as follows:
[INFO] ------------------------------------------------------------------------ [INFO] Building Apache Hadoop HDFS Client 3.0.0-SNAPSHOT [INFO] ------------------------------------------------------------------------ [INFO] [INFO] --- findbugs-maven-plugin:3.0.0:findbugs (default-cli) @ hadoop-hdfs-client --- [INFO] Fork Value is true [java] The following errors occurred during analysis: [java] Unable to read filter: /Users/mliu/Workspace/hadoop/hadoop-hdfs-project/hadoop-hdfs-client/target/findbugsExcludeFile.xml : The value of attribute "name" associated with an element type "Class" must not contain the '<' character. [java] java.io.IOException: The value of attribute "name" associated with an element type "Class" must not contain the '<' character. [java] At edu.umd.cs.findbugs.filter.Filter.<init>(Filter.java:134) [java] At edu.umd.cs.findbugs.FindBugs.configureFilter(FindBugs.java:516) [java] At edu.umd.cs.findbugs.FindBugs2.addFilter(FindBugs2.java:374) [java] At edu.umd.cs.findbugs.FindBugs2.configureFilters(FindBugs2.java:521) [java] At edu.umd.cs.findbugs.FindBugs2.setUserPreferences(FindBugs2.java:475) [java] At edu.umd.cs.findbugs.TextUICommandLine.configureEngine(TextUICommandLine.java:685) [java] At edu.umd.cs.findbugs.FindBugs.processCommandLine(FindBugs.java:361) [java] At edu.umd.cs.findbugs.FindBugs2.main(FindBugs2.java:1188) [java] Warnings generated: 748 [INFO] Done FindBugs Analysis....
The reason is that in HDFS-9182, the newly added lines contain “ character, which should be ".
Attachments
Attachments
Issue Links
- is broken by
-
HDFS-9182 Cleanup the findbugs and other issues after HDFS EC merged to trunk.
- Resolved