incubator-gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (Updated) (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (GORA-55) Fix TestHBaseStore
Date Wed, 14 Dec 2011 19:29:31 GMT

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

Lewis John McGibbney updated GORA-55:
-------------------------------------

    Attachment: GORA-55.patch

By simply downgrading the slf4j version to 1.5.8 as per the attached patch, I've managed to
reduce the failing gora-hbase tests significantly. This can be seen in the output below.

Tests run: 28, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 1,791.874 sec <<<
FAILURE!

Results :

Failed tests: 
  testSchemaExists(org.apache.gora.hbase.store.TestHBaseStore)
  testQueryEndKey(org.apache.gora.hbase.store.TestHBaseStore)
  testQueryKeyRange(org.apache.gora.hbase.store.TestHBaseStore)
  testDeleteByQuery(org.apache.gora.hbase.store.TestHBaseStore)

Tests in error: 

Tests run: 30, Failures: 4, Errors: 1, Skipped: 0

11/12/14 19:31:02 INFO server.SessionTrackerImpl: SessionTrackerImpl exited loop!
[ERROR] There are test failures.

Please refer to /home/lewis/ASF/gora_trunk/gora-hbase/target/surefire-reports for the individual
test results.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 30 minutes 50 seconds
[INFO] Finished at: Wed Dec 14 19:31:02 GMT 2011
[INFO] Final Memory: 41M/209M

These tests all fail in the same way e.g.

-------------------------------------------------------------------------------
Test set: org.apache.gora.hbase.store.TestHBaseStore
-------------------------------------------------------------------------------
Tests run: 28, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 1,791.875 sec <<<
FAILURE!
testSchemaExists(org.apache.gora.hbase.store.TestHBaseStore)  Time elapsed: 61.583 sec  <<<
FAILURE!
junit.framework.AssertionFailedError
	at junit.framework.Assert.fail(Assert.java:48)
	at junit.framework.Assert.assertTrue(Assert.java:20)
	at junit.framework.Assert.assertTrue(Assert.java:27)
	at org.apache.gora.hbase.store.TestHBaseStore.assertSchemaExists(TestHBaseStore.java:77)
	at org.apache.gora.store.DataStoreTestBase.testSchemaExists(DataStoreTestBase.java:163)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:45)
	at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
	at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:42)
	at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
	at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:263)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:68)
	at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:47)
	at org.junit.runners.ParentRunner$3.run(ParentRunner.java:231)
	at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:60)
	at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:229)
	at org.junit.runners.ParentRunner.access$000(ParentRunner.java:50)
	at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:222)
	at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
	at org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:30)
	at org.junit.runners.ParentRunner.run(ParentRunner.java:300)
	at org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:62)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:138)
	at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:163)
	at org.apache.maven.surefire.Surefire.run(Surefire.java:84)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:261)
	at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:875)
                
> Fix TestHBaseStore
> ------------------
>
>                 Key: GORA-55
>                 URL: https://issues.apache.org/jira/browse/GORA-55
>             Project: Gora
>          Issue Type: Sub-task
>          Components: storage-hbase
>    Affects Versions: 0.2-incubating
>            Reporter: Lewis John McGibbney
>             Fix For: 0.2-incubating
>
>         Attachments: GORA-55.patch
>
>
> TestHBaseStore
> Hanging indefinately with some interesting output below
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server Responder: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server listener on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 0 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 2 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 3 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 1 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 4 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 5 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 6 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 7 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 8 on 57907: starting
> 11/10/22 21:34:19 INFO ipc.Server: IPC Server handler 9 on 57907: starting
> 11/10/22 21:34:19 INFO zookeeper.ClientCnxn: Opening socket connection to server localhost/127.0.0.1:21818
> 11/10/22 21:34:19 WARN zookeeper.ClientCnxn: Session 0x1332d8e13be0000 for server null,
unexpected error, closing socket connection and attempting reconnect
> java.net.ConnectException: Connection refused
> 	at sun.nio.ch.Net.connect(Native Method)
> 	at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.startConnect(ClientCnxn.java:1050)
> 	at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1077)

--
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