You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2014/09/11 01:37:33 UTC
[jira] [Commented] (HADOOP-11082) Resolve findbugs warnings in
hadoop-aws module
[ https://issues.apache.org/jira/browse/HADOOP-11082?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14129363#comment-14129363 ]
Colin Patrick McCabe commented on HADOOP-11082:
-----------------------------------------------
We should also resolve some errors showing up in the javadoc build, that look like this:
{code}
+[WARNING] /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/hadoop-common-project/hadoop-common/target/test-classes/org/apache/hadoop/fs/TestLocalDirAllocator.class: warning: Cannot find annotation method 'value()' in type 'org.junit.runner.RunWith': class file for org.junit.runner.RunWith not found
+[WARNING] /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/hadoop-common-project/hadoop-common/target/test-classes/org/apache/hadoop/fs/TestLocalDirAllocator.class: warning: Cannot find annotation method 'timeout()' in type 'org.junit.Test'
+[WARNING] /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/hadoop-common-project/hadoop-common/target/test-classes/org/apache/hadoop/fs/TestLocalDirAllocator.class: warning: Cannot find annotation method 'timeout()' in type 'org.junit.Test'
+[WARNING] /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/hadoop-common-project/hadoop-common/target/test-classes/org/apache/hadoop/fs/TestLocalDirAllocator.class: warning: Cannot find annotation method 'timeout()' in type 'org.junit.Test'
+[WARNING] /home/jenkins/jenkins-slave/workspace/PreCommit-HADOOP-Build/hadoop-common-project/hadoop-common/target/test-classes/org/apache/hadoop/fs/TestLocalDirAllocator.class: warning: Cannot find annotation method 'timeout()' in type 'org.junit.Test'
{code}
I think upgrading all the tests from junit 3 to junit 4 should resolve this.
> Resolve findbugs warnings in hadoop-aws module
> ----------------------------------------------
>
> Key: HADOOP-11082
> URL: https://issues.apache.org/jira/browse/HADOOP-11082
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs/s3
> Affects Versions: 3.0.0
> Reporter: David S. Wang
> Priority: Minor
>
> Currently hadoop-aws module has the findbugs exclude file from hadoop-common. It would be nice to address the findbugs bugs eventually.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)