You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-dev@hadoop.apache.org by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org> on 2008/09/25 23:33:44 UTC

[jira] Created: (HADOOP-4279) write the random number generator seed to log in the append-related tests

write the random number generator seed to log in the append-related tests
-------------------------------------------------------------------------

                 Key: HADOOP-4279
                 URL: https://issues.apache.org/jira/browse/HADOOP-4279
             Project: Hadoop Core
          Issue Type: Improvement
          Components: test
            Reporter: Tsz Wo (Nicholas), SZE
            Priority: Blocker
             Fix For: 0.19.0


There are quite a few append-related tests (see HADOOP-2658 for a list of related issues) failed occasionally.  Some of the tests use a random number generator.  We should write the random number generator seed to log and, hopefully, we could reproduce the failure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-4279) write the random number generator seed to log in the append-related tests

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Douglas updated HADOOP-4279:
----------------------------------

        Assignee: Tsz Wo (Nicholas), SZE
    Hadoop Flags: [Reviewed]

> write the random number generator seed to log in the append-related tests
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-4279
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4279
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: test
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: 4279_20080925.patch, 4279_20080925b.patch
>
>
> There are quite a few append-related tests (see HADOOP-2658 for a list of related issues) failed occasionally.  Some of the tests use a random number generator.  We should write the random number generator seed to log and, hopefully, we could reproduce the failure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-4279) write the random number generator seed to log in the append-related tests

Posted by "Hudson (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12635141#action_12635141 ] 

Hudson commented on HADOOP-4279:
--------------------------------

Integrated in Hadoop-trunk #616 (See [http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/616/])

> write the random number generator seed to log in the append-related tests
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-4279
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4279
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: test
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: 4279_20080925.patch, 4279_20080925b.patch
>
>
> There are quite a few append-related tests (see HADOOP-2658 for a list of related issues) failed occasionally.  Some of the tests use a random number generator.  We should write the random number generator seed to log and, hopefully, we could reproduce the failure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-4279) write the random number generator seed to log in the append-related tests

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634993#action_12634993 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-4279:
------------------------------------------------

Test results for 4279_20080925b.patch:
{noformat}
     [exec] +1 overall.  

     [exec]     +1 @author.  The patch does not contain any @author tags.

     [exec]     +1 tests included.  The patch appears to include 21 new or modified tests.

     [exec]     +1 javadoc.  The javadoc tool did not generate any warning messages.

     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs warnings.

     [exec]     +1 Eclipse classpath. The patch retains Eclipse classpath integrity.
{noformat}

It passed all related tests locally.

> write the random number generator seed to log in the append-related tests
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-4279
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4279
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: test
>            Reporter: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: 4279_20080925.patch, 4279_20080925b.patch
>
>
> There are quite a few append-related tests (see HADOOP-2658 for a list of related issues) failed occasionally.  Some of the tests use a random number generator.  We should write the random number generator seed to log and, hopefully, we could reproduce the failure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-4279) write the random number generator seed to log in the append-related tests

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634997#action_12634997 ] 

Chris Douglas commented on HADOOP-4279:
---------------------------------------

+1 Looks good

> write the random number generator seed to log in the append-related tests
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-4279
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4279
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: test
>            Reporter: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: 4279_20080925.patch, 4279_20080925b.patch
>
>
> There are quite a few append-related tests (see HADOOP-2658 for a list of related issues) failed occasionally.  Some of the tests use a random number generator.  We should write the random number generator seed to log and, hopefully, we could reproduce the failure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (HADOOP-4279) write the random number generator seed to log in the append-related tests

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/HADOOP-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12634721#action_12634721 ] 

Tsz Wo (Nicholas), SZE commented on HADOOP-4279:
------------------------------------------------

{noformat}
     [exec] +1 overall.  

     [exec]     +1 @author.  The patch does not contain any @author tags.

     [exec]     +1 tests included.  The patch appears to include 21 new or modified tests.

     [exec]     +1 javadoc.  The javadoc tool did not generate any warning messages.

     [exec]     +1 javac.  The applied patch does not increase the total number of javac compiler warnings.

     [exec]     +1 findbugs.  The patch does not introduce any new Findbugs warnings.

     [exec]     +1 Eclipse classpath. The patch retains Eclipse classpath integrity.
{noformat}

I tested it locally.  It passed all the related tests in my machine.

Once the patch is reviewed, we can commit it without submitting it to Hudson since (1) the patch queue is long and (2) this only changes the append-related tests for debugging.

> write the random number generator seed to log in the append-related tests
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-4279
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4279
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: test
>            Reporter: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: 4279_20080925.patch
>
>
> There are quite a few append-related tests (see HADOOP-2658 for a list of related issues) failed occasionally.  Some of the tests use a random number generator.  We should write the random number generator seed to log and, hopefully, we could reproduce the failure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (HADOOP-4279) write the random number generator seed to log in the append-related tests

Posted by "Chris Douglas (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Chris Douglas resolved HADOOP-4279.
-----------------------------------

    Resolution: Fixed

I just committed this. Thanks, Nicholas

> write the random number generator seed to log in the append-related tests
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-4279
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4279
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: test
>            Reporter: Tsz Wo (Nicholas), SZE
>            Assignee: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: 4279_20080925.patch, 4279_20080925b.patch
>
>
> There are quite a few append-related tests (see HADOOP-2658 for a list of related issues) failed occasionally.  Some of the tests use a random number generator.  We should write the random number generator seed to log and, hopefully, we could reproduce the failure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-4279) write the random number generator seed to log in the append-related tests

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-4279:
-------------------------------------------

    Attachment: 4279_20080925b.patch

4279_20080925b.patch: use ThreadLocal<Random>

> write the random number generator seed to log in the append-related tests
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-4279
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4279
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: test
>            Reporter: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: 4279_20080925.patch, 4279_20080925b.patch
>
>
> There are quite a few append-related tests (see HADOOP-2658 for a list of related issues) failed occasionally.  Some of the tests use a random number generator.  We should write the random number generator seed to log and, hopefully, we could reproduce the failure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (HADOOP-4279) write the random number generator seed to log in the append-related tests

Posted by "Tsz Wo (Nicholas), SZE (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/HADOOP-4279?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tsz Wo (Nicholas), SZE updated HADOOP-4279:
-------------------------------------------

    Attachment: 4279_20080925.patch

4279_20080925.patch: logging the seed in the tests.

> write the random number generator seed to log in the append-related tests
> -------------------------------------------------------------------------
>
>                 Key: HADOOP-4279
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4279
>             Project: Hadoop Core
>          Issue Type: Improvement
>          Components: test
>            Reporter: Tsz Wo (Nicholas), SZE
>            Priority: Blocker
>             Fix For: 0.19.0
>
>         Attachments: 4279_20080925.patch
>
>
> There are quite a few append-related tests (see HADOOP-2658 for a list of related issues) failed occasionally.  Some of the tests use a random number generator.  We should write the random number generator seed to log and, hopefully, we could reproduce the failure.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.