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 "Eric Yang (JIRA)" <ji...@apache.org> on 2008/12/12 19:04:46 UTC

[jira] Created: (HADOOP-4860) File Tailing Adaptor test cases causes random failure

File Tailing Adaptor test cases causes random failure
-----------------------------------------------------

                 Key: HADOOP-4860
                 URL: https://issues.apache.org/jira/browse/HADOOP-4860
             Project: Hadoop Core
          Issue Type: Bug
          Components: contrib/chukwa
         Environment: RedHat 4.5, Java 6
            Reporter: Eric Yang
            Assignee: Eric Yang


TestFileTailingAdaptors contain code to startup and shut down Chukwa Agent 3 times.  In each of the startup, ChukwaAgent will attempt to restore to its state to where it was previously sending data.  This means the data in transit may not be the data that the test case is expecting, and test case fails.  The test cases should be divided into 3 different Test classes, the automated test framework will remove chukwa check point file to prevent the previous  state to interfere with the current test cases.

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


[jira] Updated: (HADOOP-4860) File Tailing Adaptor test cases causes random failure

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

Chris Douglas updated HADOOP-4860:
----------------------------------

       Resolution: Fixed
    Fix Version/s: 0.20.0
     Hadoop Flags: [Reviewed]
           Status: Resolved  (was: Patch Available)

I just committed this. Thanks, Eric

> File Tailing Adaptor test cases causes random failure
> -----------------------------------------------------
>
>                 Key: HADOOP-4860
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4860
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/chukwa
>         Environment: RedHat 4.5, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>             Fix For: 0.20.0
>
>         Attachments: HADOOP-4860.patch
>
>
> TestFileTailingAdaptors contain code to startup and shut down Chukwa Agent 3 times.  In each of the startup, ChukwaAgent will attempt to restore to its state to where it was previously sending data.  This means the data in transit may not be the data that the test case is expecting, and test case fails.  The test cases should be divided into 3 different Test classes, the automated test framework will remove chukwa check point file to prevent the previous  state to interfere with the current test cases.

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


[jira] Updated: (HADOOP-4860) File Tailing Adaptor test cases causes random failure

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

Eric Yang updated HADOOP-4860:
------------------------------

    Attachment: HADOOP-4860.patch

Divided test cases into 3 test class.

> File Tailing Adaptor test cases causes random failure
> -----------------------------------------------------
>
>                 Key: HADOOP-4860
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4860
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/chukwa
>         Environment: RedHat 4.5, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: HADOOP-4860.patch
>
>
> TestFileTailingAdaptors contain code to startup and shut down Chukwa Agent 3 times.  In each of the startup, ChukwaAgent will attempt to restore to its state to where it was previously sending data.  This means the data in transit may not be the data that the test case is expecting, and test case fails.  The test cases should be divided into 3 different Test classes, the automated test framework will remove chukwa check point file to prevent the previous  state to interfere with the current test cases.

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


[jira] Commented: (HADOOP-4860) File Tailing Adaptor test cases causes random failure

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

Hadoop QA commented on HADOOP-4860:
-----------------------------------

+1 overall.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12395957/HADOOP-4860.patch
  against trunk revision 726129.

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

    +1 tests included.  The patch appears to include 9 new or modified tests.

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

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

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

    +1 Eclipse classpath. The patch retains Eclipse classpath integrity.

    +1 core tests.  The patch passed core unit tests.

    +1 contrib tests.  The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3735/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3735/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3735/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3735/console

This message is automatically generated.

> File Tailing Adaptor test cases causes random failure
> -----------------------------------------------------
>
>                 Key: HADOOP-4860
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4860
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/chukwa
>         Environment: RedHat 4.5, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: HADOOP-4860.patch
>
>
> TestFileTailingAdaptors contain code to startup and shut down Chukwa Agent 3 times.  In each of the startup, ChukwaAgent will attempt to restore to its state to where it was previously sending data.  This means the data in transit may not be the data that the test case is expecting, and test case fails.  The test cases should be divided into 3 different Test classes, the automated test framework will remove chukwa check point file to prevent the previous  state to interfere with the current test cases.

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


[jira] Updated: (HADOOP-4860) File Tailing Adaptor test cases causes random failure

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

Robert Chansler updated HADOOP-4860:
------------------------------------

    Release Note:   (was: What is new in HADOOP-4860:

- Changed test cases into 3 different test classes to prevent Agent from loading chukwa_check_point file which interfered with test cases.)

No release note for "just a bug."

> File Tailing Adaptor test cases causes random failure
> -----------------------------------------------------
>
>                 Key: HADOOP-4860
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4860
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/chukwa
>         Environment: RedHat 4.5, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>             Fix For: 0.20.0
>
>         Attachments: HADOOP-4860.patch
>
>
> TestFileTailingAdaptors contain code to startup and shut down Chukwa Agent 3 times.  In each of the startup, ChukwaAgent will attempt to restore to its state to where it was previously sending data.  This means the data in transit may not be the data that the test case is expecting, and test case fails.  The test cases should be divided into 3 different Test classes, the automated test framework will remove chukwa check point file to prevent the previous  state to interfere with the current test cases.

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


[jira] Commented: (HADOOP-4860) File Tailing Adaptor test cases causes random failure

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

Eric Yang commented on HADOOP-4860:
-----------------------------------

{noformat}
     [exec] +1 overall.  

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

     [exec]     +1 tests included.  The patch appears to include 9 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}

> File Tailing Adaptor test cases causes random failure
> -----------------------------------------------------
>
>                 Key: HADOOP-4860
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4860
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/chukwa
>         Environment: RedHat 4.5, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: HADOOP-4860.patch
>
>
> TestFileTailingAdaptors contain code to startup and shut down Chukwa Agent 3 times.  In each of the startup, ChukwaAgent will attempt to restore to its state to where it was previously sending data.  This means the data in transit may not be the data that the test case is expecting, and test case fails.  The test cases should be divided into 3 different Test classes, the automated test framework will remove chukwa check point file to prevent the previous  state to interfere with the current test cases.

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


[jira] Updated: (HADOOP-4860) File Tailing Adaptor test cases causes random failure

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

Eric Yang updated HADOOP-4860:
------------------------------

    Release Note: 
What is new in HADOOP-4860:

- Changed test cases into 3 different test classes to prevent Agent from loading chukwa_check_point file which interfered with test cases.
          Status: Patch Available  (was: Open)

> File Tailing Adaptor test cases causes random failure
> -----------------------------------------------------
>
>                 Key: HADOOP-4860
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4860
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: contrib/chukwa
>         Environment: RedHat 4.5, Java 6
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: HADOOP-4860.patch
>
>
> TestFileTailingAdaptors contain code to startup and shut down Chukwa Agent 3 times.  In each of the startup, ChukwaAgent will attempt to restore to its state to where it was previously sending data.  This means the data in transit may not be the data that the test case is expecting, and test case fails.  The test cases should be divided into 3 different Test classes, the automated test framework will remove chukwa check point file to prevent the previous  state to interfere with the current test cases.

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