You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Mingliang Liu (JIRA)" <ji...@apache.org> on 2015/10/09 01:03:26 UTC
[jira] [Updated] (HDFS-9217) Fix broken findbugsExcludeFile.xml for
hadoop-hdfs-client module
[ https://issues.apache.org/jira/browse/HDFS-9217?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mingliang Liu updated HDFS-9217:
--------------------------------
Attachment: HDFS-9217.000.patch
> Fix broken findbugsExcludeFile.xml for hadoop-hdfs-client module
> ----------------------------------------------------------------
>
> Key: HDFS-9217
> URL: https://issues.apache.org/jira/browse/HDFS-9217
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: build
> Reporter: Mingliang Liu
> Assignee: Mingliang Liu
> Priority: Minor
> Attachments: HDFS-9217.000.patch
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
> The {{findbugsExcludeFile.xml}} file was broken and the findbugs complains as follows:
> {code}
> [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....
> {code}
> The reason is that in [HDFS-9182], the newly added lines contain “ character, which should be ".
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)