hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mingliang Liu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-9217) Fix broken findbugsExcludeFile.xml for hadoop-hdfs-client module
Date Thu, 08 Oct 2015 22:56:26 GMT
Mingliang Liu created HDFS-9217:
-----------------------------------

             Summary: 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
            Reporter: Mingliang Liu
            Assignee: Mingliang Liu
            Priority: Minor


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)

Mime
View raw message