You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chukwa.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2010/02/23 01:55:36 UTC

[jira] Created: (CHUKWA-456) Fix test failing test cases

Fix test failing test cases
---------------------------

                 Key: CHUKWA-456
                 URL: https://issues.apache.org/jira/browse/CHUKWA-456
             Project: Hadoop Chukwa
          Issue Type: Bug
          Components: build and test code
         Environment: Redhat EL 5.1, Java 6.
            Reporter: Eric Yang
            Assignee: Eric Yang


Gearing toward 0.4.0 release.  A couple reported test case fails:

>From Ari:

...
    [junit] Test org.apache.hadoop.chukwa.rest.resource.TestViewResource FAILED
    [junit] Running org.apache.hadoop.chukwa.rest.resource.TestWidgetResource
    [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 4.969 sec
    [junit] 2010-02-22 12:22:57.748::INFO:  Shutdown hook executing
    [junit] 2010-02-22 12:22:57.748::INFO:  Graceful shutdown
SelectChannelConnector@0.0.0.0:8080
    [junit] 2010-02-22 12:22:57.749::INFO:  Graceful shutdown
org.mortbay.jetty.webapp.WebAppContext@6e75d758{/hicc,jar:file:/Users/asrabkin/apache_foundation/chukwa-trunk/build/test/classes/webapps/hicc.war!/}
    [junit] 2010-02-22 12:22:58.891::INFO:  Shutdown hook complete
    [junit] Test
org.apache.hadoop.chukwa.rest.resource.TestWidgetResource FAILED
    [junit] Running
org.apache.hadoop.chukwa.tools.backfilling.TestBackfillingLoader
    [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 77.251 sec
    [junit] Running org.apache.hadoop.chukwa.util.TestCRValidator
    [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.656 sec.

>From Bill:

Testsuite: org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader
Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.435 sec

------------- Standard Output ---------------
pipeline established; now pushing a chunk
------------- ---------------- ---------------
Testcase:
testSocketTee(org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader):
FAILED
expected:<a> but was:<[B...@2353f67e>
junit.framework.AssertionFailedError: expected:<a> but was:<[B...@2353f67e>
        at
org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader.testSocketTee(TestSocketDataLoader.java:63)


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


[jira] Commented: (CHUKWA-456) Fix test failing test cases

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

Hudson commented on CHUKWA-456:
-------------------------------

Integrated in Chukwa-trunk #330 (See [http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/330/])
    . Remove /tmp/chukwa/hicc during test phase to prevent bad data building up and prevent test case to run properly. (Eric Yang)
. Remove /tmp/chukwa/hicc during test phase to prevent bad data building up and prevent test case to run properly. (Eric Yang)


> Fix test failing test cases
> ---------------------------
>
>                 Key: CHUKWA-456
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-456
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>          Components: build and test code
>    Affects Versions: 0.4.0
>         Environment: Redhat EL 5.1, Java 6.
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Blocker
>             Fix For: 0.4.0
>
>         Attachments: CHUKWA-456-2.patch, CHUKWA-456.patch, TEST-org.apache.hadoop.chukwa.rest.resource.TestViewResource.txt, TEST-org.apache.hadoop.chukwa.rest.resource.TestWidgetResource.txt
>
>
> Gearing toward 0.4.0 release.  A couple reported test case fails:
> From Ari:
> ...
>     [junit] Test org.apache.hadoop.chukwa.rest.resource.TestViewResource FAILED
>     [junit] Running org.apache.hadoop.chukwa.rest.resource.TestWidgetResource
>     [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 4.969 sec
>     [junit] 2010-02-22 12:22:57.748::INFO:  Shutdown hook executing
>     [junit] 2010-02-22 12:22:57.748::INFO:  Graceful shutdown
> SelectChannelConnector@0.0.0.0:8080
>     [junit] 2010-02-22 12:22:57.749::INFO:  Graceful shutdown
> org.mortbay.jetty.webapp.WebAppContext@6e75d758{/hicc,jar:file:/Users/asrabkin/apache_foundation/chukwa-trunk/build/test/classes/webapps/hicc.war!/}
>     [junit] 2010-02-22 12:22:58.891::INFO:  Shutdown hook complete
>     [junit] Test
> org.apache.hadoop.chukwa.rest.resource.TestWidgetResource FAILED
>     [junit] Running
> org.apache.hadoop.chukwa.tools.backfilling.TestBackfillingLoader
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 77.251 sec
>     [junit] Running org.apache.hadoop.chukwa.util.TestCRValidator
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.656 sec.
> From Bill:
> Testsuite: org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader
> Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.435 sec
> ------------- Standard Output ---------------
> pipeline established; now pushing a chunk
> ------------- ---------------- ---------------
> Testcase:
> testSocketTee(org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader):
> FAILED
> expected:<a> but was:<[B...@2353f67e>
> junit.framework.AssertionFailedError: expected:<a> but was:<[B...@2353f67e>
>         at
> org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader.testSocketTee(TestSocketDataLoader.java:63)

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


[jira] Updated: (CHUKWA-456) Fix test failing test cases

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

Eric Yang updated CHUKWA-456:
-----------------------------

    Attachment: TEST-org.apache.hadoop.chukwa.rest.resource.TestWidgetResource.txt
                TEST-org.apache.hadoop.chukwa.rest.resource.TestViewResource.txt

Failed test cases from Ari.

> Fix test failing test cases
> ---------------------------
>
>                 Key: CHUKWA-456
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-456
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>          Components: build and test code
>         Environment: Redhat EL 5.1, Java 6.
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>         Attachments: TEST-org.apache.hadoop.chukwa.rest.resource.TestViewResource.txt, TEST-org.apache.hadoop.chukwa.rest.resource.TestWidgetResource.txt
>
>
> Gearing toward 0.4.0 release.  A couple reported test case fails:
> From Ari:
> ...
>     [junit] Test org.apache.hadoop.chukwa.rest.resource.TestViewResource FAILED
>     [junit] Running org.apache.hadoop.chukwa.rest.resource.TestWidgetResource
>     [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 4.969 sec
>     [junit] 2010-02-22 12:22:57.748::INFO:  Shutdown hook executing
>     [junit] 2010-02-22 12:22:57.748::INFO:  Graceful shutdown
> SelectChannelConnector@0.0.0.0:8080
>     [junit] 2010-02-22 12:22:57.749::INFO:  Graceful shutdown
> org.mortbay.jetty.webapp.WebAppContext@6e75d758{/hicc,jar:file:/Users/asrabkin/apache_foundation/chukwa-trunk/build/test/classes/webapps/hicc.war!/}
>     [junit] 2010-02-22 12:22:58.891::INFO:  Shutdown hook complete
>     [junit] Test
> org.apache.hadoop.chukwa.rest.resource.TestWidgetResource FAILED
>     [junit] Running
> org.apache.hadoop.chukwa.tools.backfilling.TestBackfillingLoader
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 77.251 sec
>     [junit] Running org.apache.hadoop.chukwa.util.TestCRValidator
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.656 sec.
> From Bill:
> Testsuite: org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader
> Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.435 sec
> ------------- Standard Output ---------------
> pipeline established; now pushing a chunk
> ------------- ---------------- ---------------
> Testcase:
> testSocketTee(org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader):
> FAILED
> expected:<a> but was:<[B...@2353f67e>
> junit.framework.AssertionFailedError: expected:<a> but was:<[B...@2353f67e>
>         at
> org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader.testSocketTee(TestSocketDataLoader.java:63)

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


[jira] Updated: (CHUKWA-456) Fix test failing test cases

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

Eric Yang updated CHUKWA-456:
-----------------------------

    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

I just committed this to TRUNK and 0.4 branch.

> Fix test failing test cases
> ---------------------------
>
>                 Key: CHUKWA-456
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-456
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>          Components: build and test code
>    Affects Versions: 0.4.0
>         Environment: Redhat EL 5.1, Java 6.
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Blocker
>             Fix For: 0.4.0
>
>         Attachments: CHUKWA-456-2.patch, CHUKWA-456.patch, TEST-org.apache.hadoop.chukwa.rest.resource.TestViewResource.txt, TEST-org.apache.hadoop.chukwa.rest.resource.TestWidgetResource.txt
>
>
> Gearing toward 0.4.0 release.  A couple reported test case fails:
> From Ari:
> ...
>     [junit] Test org.apache.hadoop.chukwa.rest.resource.TestViewResource FAILED
>     [junit] Running org.apache.hadoop.chukwa.rest.resource.TestWidgetResource
>     [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 4.969 sec
>     [junit] 2010-02-22 12:22:57.748::INFO:  Shutdown hook executing
>     [junit] 2010-02-22 12:22:57.748::INFO:  Graceful shutdown
> SelectChannelConnector@0.0.0.0:8080
>     [junit] 2010-02-22 12:22:57.749::INFO:  Graceful shutdown
> org.mortbay.jetty.webapp.WebAppContext@6e75d758{/hicc,jar:file:/Users/asrabkin/apache_foundation/chukwa-trunk/build/test/classes/webapps/hicc.war!/}
>     [junit] 2010-02-22 12:22:58.891::INFO:  Shutdown hook complete
>     [junit] Test
> org.apache.hadoop.chukwa.rest.resource.TestWidgetResource FAILED
>     [junit] Running
> org.apache.hadoop.chukwa.tools.backfilling.TestBackfillingLoader
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 77.251 sec
>     [junit] Running org.apache.hadoop.chukwa.util.TestCRValidator
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.656 sec.
> From Bill:
> Testsuite: org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader
> Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.435 sec
> ------------- Standard Output ---------------
> pipeline established; now pushing a chunk
> ------------- ---------------- ---------------
> Testcase:
> testSocketTee(org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader):
> FAILED
> expected:<a> but was:<[B...@2353f67e>
> junit.framework.AssertionFailedError: expected:<a> but was:<[B...@2353f67e>
>         at
> org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader.testSocketTee(TestSocketDataLoader.java:63)

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


[jira] Commented: (CHUKWA-456) Fix test failing test cases

Posted by "Ari Rabkin (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/CHUKWA-456?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12838059#action_12838059 ] 

Ari Rabkin commented on CHUKWA-456:
-----------------------------------

+1 to patch.

> Fix test failing test cases
> ---------------------------
>
>                 Key: CHUKWA-456
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-456
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>          Components: build and test code
>    Affects Versions: 0.4.0
>         Environment: Redhat EL 5.1, Java 6.
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Blocker
>             Fix For: 0.4.0
>
>         Attachments: CHUKWA-456.patch, TEST-org.apache.hadoop.chukwa.rest.resource.TestViewResource.txt, TEST-org.apache.hadoop.chukwa.rest.resource.TestWidgetResource.txt
>
>
> Gearing toward 0.4.0 release.  A couple reported test case fails:
> From Ari:
> ...
>     [junit] Test org.apache.hadoop.chukwa.rest.resource.TestViewResource FAILED
>     [junit] Running org.apache.hadoop.chukwa.rest.resource.TestWidgetResource
>     [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 4.969 sec
>     [junit] 2010-02-22 12:22:57.748::INFO:  Shutdown hook executing
>     [junit] 2010-02-22 12:22:57.748::INFO:  Graceful shutdown
> SelectChannelConnector@0.0.0.0:8080
>     [junit] 2010-02-22 12:22:57.749::INFO:  Graceful shutdown
> org.mortbay.jetty.webapp.WebAppContext@6e75d758{/hicc,jar:file:/Users/asrabkin/apache_foundation/chukwa-trunk/build/test/classes/webapps/hicc.war!/}
>     [junit] 2010-02-22 12:22:58.891::INFO:  Shutdown hook complete
>     [junit] Test
> org.apache.hadoop.chukwa.rest.resource.TestWidgetResource FAILED
>     [junit] Running
> org.apache.hadoop.chukwa.tools.backfilling.TestBackfillingLoader
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 77.251 sec
>     [junit] Running org.apache.hadoop.chukwa.util.TestCRValidator
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.656 sec.
> From Bill:
> Testsuite: org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader
> Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.435 sec
> ------------- Standard Output ---------------
> pipeline established; now pushing a chunk
> ------------- ---------------- ---------------
> Testcase:
> testSocketTee(org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader):
> FAILED
> expected:<a> but was:<[B...@2353f67e>
> junit.framework.AssertionFailedError: expected:<a> but was:<[B...@2353f67e>
>         at
> org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader.testSocketTee(TestSocketDataLoader.java:63)

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


Re: Chukwa

Posted by Eric Yang <ey...@yahoo-inc.com>.
I am using Chukwa for log collection, data analysis, and data visualization
on a 10 nodes hadoop cluster.  This question should go to the chukwa-users
mailing list instead, if you want more feedback.

Regards,
Eric


On 2/23/10 2:38 PM, "Ariel Rabkin" <as...@gmail.com> wrote:

> I am also curious what the results of this survey will be.
> 
> At Berkeley. we use Chukwa to monitor varying-sized dev/test clusters
> on EC2, from perhaps 10 to 100 nodes. Mostly we need the real-time
> path to watch load, and the stored data and logs to do subsequent
> analysis. We use some MR jobs for analysis, and some standalone non-MR
> processes that read from HDFS.
> 
> --Ari
> 
> On Tue, Feb 23, 2010 at 2:34 PM, Jerome Boulon <jb...@netflix.com> wrote:
>> Hi,
>> I would like to get some stats on how chukwa is used today?
>> - cluster status (personal,business(experiment,dev,test,prod)
>> - cluster size
>> - chukwa is used to do what?
>> -- UI
>> -- log collection
>> -- data analytics
>> ---- hive
>> ---- pig
>> ---- M/R
>> 
>> Thanks in advance,
>>  /Jerome.
>> 
>> 
> 
> 


Re: Chukwa

Posted by Ariel Rabkin <as...@gmail.com>.
I am also curious what the results of this survey will be.

At Berkeley. we use Chukwa to monitor varying-sized dev/test clusters
on EC2, from perhaps 10 to 100 nodes. Mostly we need the real-time
path to watch load, and the stored data and logs to do subsequent
analysis. We use some MR jobs for analysis, and some standalone non-MR
processes that read from HDFS.

--Ari

On Tue, Feb 23, 2010 at 2:34 PM, Jerome Boulon <jb...@netflix.com> wrote:
> Hi,
> I would like to get some stats on how chukwa is used today?
> - cluster status (personal,business(experiment,dev,test,prod)
> - cluster size
> - chukwa is used to do what?
> -- UI
> -- log collection
> -- data analytics
> ---- hive
> ---- pig
> ---- M/R
>
> Thanks in advance,
>  /Jerome.
>
>



-- 
Ari Rabkin asrabkin@gmail.com
UC Berkeley Computer Science Department

Chukwa

Posted by Jerome Boulon <jb...@netflix.com>.
Hi,
I would like to get some stats on how chukwa is used today?
- cluster status (personal,business(experiment,dev,test,prod)
- cluster size
- chukwa is used to do what?
-- UI
-- log collection
-- data analytics
---- hive
---- pig
---- M/R

Thanks in advance,
  /Jerome.


[jira] Updated: (CHUKWA-456) Fix test failing test cases

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

Ari Rabkin updated CHUKWA-456:
------------------------------

             Priority: Blocker  (was: Major)
    Affects Version/s: 0.4.0
        Fix Version/s: 0.4.0

This is a blocker for releasing 0.4. It may be the only blocker, at this point.

> Fix test failing test cases
> ---------------------------
>
>                 Key: CHUKWA-456
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-456
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>          Components: build and test code
>    Affects Versions: 0.4.0
>         Environment: Redhat EL 5.1, Java 6.
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Blocker
>             Fix For: 0.4.0
>
>         Attachments: TEST-org.apache.hadoop.chukwa.rest.resource.TestViewResource.txt, TEST-org.apache.hadoop.chukwa.rest.resource.TestWidgetResource.txt
>
>
> Gearing toward 0.4.0 release.  A couple reported test case fails:
> From Ari:
> ...
>     [junit] Test org.apache.hadoop.chukwa.rest.resource.TestViewResource FAILED
>     [junit] Running org.apache.hadoop.chukwa.rest.resource.TestWidgetResource
>     [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 4.969 sec
>     [junit] 2010-02-22 12:22:57.748::INFO:  Shutdown hook executing
>     [junit] 2010-02-22 12:22:57.748::INFO:  Graceful shutdown
> SelectChannelConnector@0.0.0.0:8080
>     [junit] 2010-02-22 12:22:57.749::INFO:  Graceful shutdown
> org.mortbay.jetty.webapp.WebAppContext@6e75d758{/hicc,jar:file:/Users/asrabkin/apache_foundation/chukwa-trunk/build/test/classes/webapps/hicc.war!/}
>     [junit] 2010-02-22 12:22:58.891::INFO:  Shutdown hook complete
>     [junit] Test
> org.apache.hadoop.chukwa.rest.resource.TestWidgetResource FAILED
>     [junit] Running
> org.apache.hadoop.chukwa.tools.backfilling.TestBackfillingLoader
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 77.251 sec
>     [junit] Running org.apache.hadoop.chukwa.util.TestCRValidator
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.656 sec.
> From Bill:
> Testsuite: org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader
> Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.435 sec
> ------------- Standard Output ---------------
> pipeline established; now pushing a chunk
> ------------- ---------------- ---------------
> Testcase:
> testSocketTee(org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader):
> FAILED
> expected:<a> but was:<[B...@2353f67e>
> junit.framework.AssertionFailedError: expected:<a> but was:<[B...@2353f67e>
>         at
> org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader.testSocketTee(TestSocketDataLoader.java:63)

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


[jira] Updated: (CHUKWA-456) Fix test failing test cases

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

Eric Yang updated CHUKWA-456:
-----------------------------

    Attachment: CHUKWA-456-2.patch

hudson is stuck on having bad data in /tmp/chukwa/hicc.  A clean up fix should do the trick.

> Fix test failing test cases
> ---------------------------
>
>                 Key: CHUKWA-456
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-456
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>          Components: build and test code
>    Affects Versions: 0.4.0
>         Environment: Redhat EL 5.1, Java 6.
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Blocker
>             Fix For: 0.4.0
>
>         Attachments: CHUKWA-456-2.patch, CHUKWA-456.patch, TEST-org.apache.hadoop.chukwa.rest.resource.TestViewResource.txt, TEST-org.apache.hadoop.chukwa.rest.resource.TestWidgetResource.txt
>
>
> Gearing toward 0.4.0 release.  A couple reported test case fails:
> From Ari:
> ...
>     [junit] Test org.apache.hadoop.chukwa.rest.resource.TestViewResource FAILED
>     [junit] Running org.apache.hadoop.chukwa.rest.resource.TestWidgetResource
>     [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 4.969 sec
>     [junit] 2010-02-22 12:22:57.748::INFO:  Shutdown hook executing
>     [junit] 2010-02-22 12:22:57.748::INFO:  Graceful shutdown
> SelectChannelConnector@0.0.0.0:8080
>     [junit] 2010-02-22 12:22:57.749::INFO:  Graceful shutdown
> org.mortbay.jetty.webapp.WebAppContext@6e75d758{/hicc,jar:file:/Users/asrabkin/apache_foundation/chukwa-trunk/build/test/classes/webapps/hicc.war!/}
>     [junit] 2010-02-22 12:22:58.891::INFO:  Shutdown hook complete
>     [junit] Test
> org.apache.hadoop.chukwa.rest.resource.TestWidgetResource FAILED
>     [junit] Running
> org.apache.hadoop.chukwa.tools.backfilling.TestBackfillingLoader
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 77.251 sec
>     [junit] Running org.apache.hadoop.chukwa.util.TestCRValidator
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.656 sec.
> From Bill:
> Testsuite: org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader
> Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.435 sec
> ------------- Standard Output ---------------
> pipeline established; now pushing a chunk
> ------------- ---------------- ---------------
> Testcase:
> testSocketTee(org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader):
> FAILED
> expected:<a> but was:<[B...@2353f67e>
> junit.framework.AssertionFailedError: expected:<a> but was:<[B...@2353f67e>
>         at
> org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader.testSocketTee(TestSocketDataLoader.java:63)

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


[jira] Updated: (CHUKWA-456) Fix test failing test cases

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

Eric Yang updated CHUKWA-456:
-----------------------------

    Attachment: CHUKWA-456.patch

Fix for test sock data loader unit test.  I can't reproduce Ari's problem in both MacOSX and Linux.

> Fix test failing test cases
> ---------------------------
>
>                 Key: CHUKWA-456
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-456
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>          Components: build and test code
>    Affects Versions: 0.4.0
>         Environment: Redhat EL 5.1, Java 6.
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Blocker
>             Fix For: 0.4.0
>
>         Attachments: CHUKWA-456.patch, TEST-org.apache.hadoop.chukwa.rest.resource.TestViewResource.txt, TEST-org.apache.hadoop.chukwa.rest.resource.TestWidgetResource.txt
>
>
> Gearing toward 0.4.0 release.  A couple reported test case fails:
> From Ari:
> ...
>     [junit] Test org.apache.hadoop.chukwa.rest.resource.TestViewResource FAILED
>     [junit] Running org.apache.hadoop.chukwa.rest.resource.TestWidgetResource
>     [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 4.969 sec
>     [junit] 2010-02-22 12:22:57.748::INFO:  Shutdown hook executing
>     [junit] 2010-02-22 12:22:57.748::INFO:  Graceful shutdown
> SelectChannelConnector@0.0.0.0:8080
>     [junit] 2010-02-22 12:22:57.749::INFO:  Graceful shutdown
> org.mortbay.jetty.webapp.WebAppContext@6e75d758{/hicc,jar:file:/Users/asrabkin/apache_foundation/chukwa-trunk/build/test/classes/webapps/hicc.war!/}
>     [junit] 2010-02-22 12:22:58.891::INFO:  Shutdown hook complete
>     [junit] Test
> org.apache.hadoop.chukwa.rest.resource.TestWidgetResource FAILED
>     [junit] Running
> org.apache.hadoop.chukwa.tools.backfilling.TestBackfillingLoader
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 77.251 sec
>     [junit] Running org.apache.hadoop.chukwa.util.TestCRValidator
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.656 sec.
> From Bill:
> Testsuite: org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader
> Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.435 sec
> ------------- Standard Output ---------------
> pipeline established; now pushing a chunk
> ------------- ---------------- ---------------
> Testcase:
> testSocketTee(org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader):
> FAILED
> expected:<a> but was:<[B...@2353f67e>
> junit.framework.AssertionFailedError: expected:<a> but was:<[B...@2353f67e>
>         at
> org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader.testSocketTee(TestSocketDataLoader.java:63)

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


[jira] Updated: (CHUKWA-456) Fix test failing test cases

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

Eric Yang updated CHUKWA-456:
-----------------------------

    Status: Patch Available  (was: Open)

> Fix test failing test cases
> ---------------------------
>
>                 Key: CHUKWA-456
>                 URL: https://issues.apache.org/jira/browse/CHUKWA-456
>             Project: Hadoop Chukwa
>          Issue Type: Bug
>          Components: build and test code
>    Affects Versions: 0.4.0
>         Environment: Redhat EL 5.1, Java 6.
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Blocker
>             Fix For: 0.4.0
>
>         Attachments: CHUKWA-456-2.patch, CHUKWA-456.patch, TEST-org.apache.hadoop.chukwa.rest.resource.TestViewResource.txt, TEST-org.apache.hadoop.chukwa.rest.resource.TestWidgetResource.txt
>
>
> Gearing toward 0.4.0 release.  A couple reported test case fails:
> From Ari:
> ...
>     [junit] Test org.apache.hadoop.chukwa.rest.resource.TestViewResource FAILED
>     [junit] Running org.apache.hadoop.chukwa.rest.resource.TestWidgetResource
>     [junit] Tests run: 2, Failures: 0, Errors: 1, Time elapsed: 4.969 sec
>     [junit] 2010-02-22 12:22:57.748::INFO:  Shutdown hook executing
>     [junit] 2010-02-22 12:22:57.748::INFO:  Graceful shutdown
> SelectChannelConnector@0.0.0.0:8080
>     [junit] 2010-02-22 12:22:57.749::INFO:  Graceful shutdown
> org.mortbay.jetty.webapp.WebAppContext@6e75d758{/hicc,jar:file:/Users/asrabkin/apache_foundation/chukwa-trunk/build/test/classes/webapps/hicc.war!/}
>     [junit] 2010-02-22 12:22:58.891::INFO:  Shutdown hook complete
>     [junit] Test
> org.apache.hadoop.chukwa.rest.resource.TestWidgetResource FAILED
>     [junit] Running
> org.apache.hadoop.chukwa.tools.backfilling.TestBackfillingLoader
>     [junit] Tests run: 4, Failures: 0, Errors: 0, Time elapsed: 77.251 sec
>     [junit] Running org.apache.hadoop.chukwa.util.TestCRValidator
>     [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 0.656 sec.
> From Bill:
> Testsuite: org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader
> Tests run: 1, Failures: 1, Errors: 0, Time elapsed: 0.435 sec
> ------------- Standard Output ---------------
> pipeline established; now pushing a chunk
> ------------- ---------------- ---------------
> Testcase:
> testSocketTee(org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader):
> FAILED
> expected:<a> but was:<[B...@2353f67e>
> junit.framework.AssertionFailedError: expected:<a> but was:<[B...@2353f67e>
>         at
> org.apache.hadoop.chukwa.dataloader.TestSocketDataLoader.testSocketTee(TestSocketDataLoader.java:63)

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