hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jitendra Nath Pandey (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-7942) enabling clover coverage reports fails hadoop unit test compilation
Date Thu, 29 Dec 2011 00:27:34 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-7942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jitendra Nath Pandey updated HADOOP-7942:
-----------------------------------------

    Attachment: HADOOP-7942.branch-1.patch

This problem is due to a bug in javac which  is fixed in java 7. The attached patch should
work around it.
                
> enabling clover coverage reports fails hadoop unit test compilation
> -------------------------------------------------------------------
>
>                 Key: HADOOP-7942
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7942
>             Project: Hadoop Common
>          Issue Type: Test
>    Affects Versions: 1.1.0
>         Environment: https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-1-Code-Coverage/13/console
>            Reporter: Giridharan Kesavan
>         Attachments: HADOOP-7942.branch-1.patch
>
>
> enabling clover reports fails compiling the following junit tests.
> link to the console output of jerkins :
> https://builds.apache.org/view/G-L/view/Hadoop/job/Hadoop-1-Code-Coverage/13/console
> {noformat}
> [javac] /tmp/clover50695626838999169.tmp/org/apache/hadoop/security/TestUserGroupInformation.java:224:
cannot find symbol
> ......
>     [javac] /tmp/clover50695626838999169.tmp/org/apache/hadoop/security/TestUserGroupInformation.java:225:
cannot find symbol
> ......
>  [javac] /tmp/clover50695626838999169.tmp/org/apache/hadoop/security/TestJobCredentials.java:67:
cannot find symbol
>     [javac] symbol  : class T 
> ......
> [javac] /tmp/clover50695626838999169.tmp/org/apache/hadoop/security/TestJobCredentials.java:68:
cannot find symbol
>     [javac] symbol  : class T
> .....
> [javac] /tmp/clover50695626838999169.tmp/org/apache/hadoop/fs/TestFileSystem.java:653:
cannot find symbol
>     [javac] symbol  : class T
> .....
> [javac]         ^
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] 5 errors
>     [javac] 63 warnings
> {noformat}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message