hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ivan A. Veselovsky (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-9046) provide unit-test coverage of class org.apache.hadoop.fs.DelegationTokenRenewer.RenewAction<T>
Date Tue, 27 Nov 2012 14:12:00 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-9046?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13504626#comment-13504626

Ivan A. Veselovsky commented on HADOOP-9046:

Hi, Robert,
in last pre-commit verification build (above) the test "org.apache.hadoop.fs.TestDelegationTokenRenewer"
took 39 seconds:
(both the test cases).
in my desktop the console mvn run of this test takes 38 sec (i do just "mvn clean test -Dtest=org.apache.hadoop.fs.TestDelegationTokenRenewer").
When I run it from within Eclipse, it also takes 18 + 21 = 39 sec.

Looking to the code I didn't realize how this test could take 7 minutes.
So, can you please provide more details on the conditions of your experiment:
1) did you use the attached "HADOOP-9046-over-9049.patch" against trunk? 
2) what JDK you ran the test upon?
3) did the both test cases pass?
4) do other Hadoop tests on your machine run with speed similar to that in Apache Jenkins
build machine (https://builds.apache.org) ?
5) what exact command line did you use to run the test(s)? (e.g. was -Pnative included?)
6) is that effect (7 min) reproducible on that machine?
7) There are 2 test cases in the class org.apache.hadoop.fs.TestDelegationTokenRenewer. Which
one was slow? Or both?

Thanks in advance.
> provide unit-test coverage of class org.apache.hadoop.fs.DelegationTokenRenewer.RenewAction<T>
> ----------------------------------------------------------------------------------------------
>                 Key: HADOOP-9046
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9046
>             Project: Hadoop Common
>          Issue Type: Test
>            Reporter: Ivan A. Veselovsky
>            Assignee: Ivan A. Veselovsky
>            Priority: Minor
>         Attachments: HADOOP-9046-branch-0.23-over-9049.patch, HADOOP-9046-branch-0.23.patch,
HADOOP-9046-over-9049.patch, HADOOP-9046.patch
> The class org.apache.hadoop.fs.DelegationTokenRenewer.RenewAction<T> has zero coverage
in entire cumulative test run. Provide test(s) to cover this class.
> Note: the request submitted to HDFS project because the class likely to be tested by
tests in that project.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message