[ 
https://issues.apache.org/jira/browse/YETUS-471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15732609#comment-15732609
 ] 

Akira Ajisaka commented on YETUS-471:
-------------------------------------

Now I'm seeing the following failure in hadoop-yarn-server-tests module. 
https://builds.apache.org/job/hadoop-qbt-trunk-java8-linux-x86/249/console
bq. 
branch/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests
 no findbugs output file 
(hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/target/findbugsXml.xml)

This issue occurs because findbugs plugin runs only on src/main/java directory 
by default and there is no src/main/java directory in hadoop-yarn-server-tests 
module (i.e. the module has test code only). That way the plugin does not 
output findbugsXml.xml and findbugs_runner set -1 to the module. To fix this 
issue, I'd like to make the findbugs source folders to src/main/java only by 
default. Of course I'm okay with changing the default source folders in a 
separate jira.

> Add possibility to configure Findbugs source folders
> ----------------------------------------------------
>
>                 Key: YETUS-471
>                 URL: https://issues.apache.org/jira/browse/YETUS-471
>             Project: Yetus
>          Issue Type: Improvement
>          Components: Test Patch
>    Affects Versions: 0.3.0
>            Reporter: Peter Vary
>            Assignee: Peter Vary
>         Attachments: YETUS-471.00.patch, YETUS-471.01.patch, 
> YETUS-471.02.patch
>
>
> Trying to add yetus as a pre-commit test for Hive (see HIVE-15051)
> Findbugs plugin currently expects the project structure to be the standard 
> maven one (/src/main/java, /src/test/java). In Hive some of the modules have 
> a different file layout. It would be good to have a parameter introduced to 
> enable changes in checking directories.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to