You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@gora.apache.org by "Lewis John McGibbney (Commented) (JIRA)" <ji...@apache.org> on 2011/12/14 20:39:31 UTC

[jira] [Commented] (GORA-54) Fix TestHBaseStoreMapReduce

    [ https://issues.apache.org/jira/browse/GORA-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13169616#comment-13169616 ] 

Lewis John McGibbney commented on GORA-54:
------------------------------------------

Similar to GORA-55, downgrading Slf4j also fixes one of the tests concerned here. Output for the failing test can be seen below

  <testcase time="17.62" name="testWordCount">
    <error message="org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@1b2e44d closed" type="java.io.IOException">java.io.IOException: org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation@1b2e44d closed
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.locateRegion(HConnectionManager.java:571)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.processBatch(HConnectionManager.java:1133)
	at org.apache.hadoop.hbase.client.HConnectionManager$HConnectionImplementation.processBatchOfPuts(HConnectionManager.java:1253)
	at org.apache.hadoop.hbase.client.HTable.flushCommits(HTable.java:828)
	at org.apache.hadoop.hbase.client.HTable.doPut(HTable.java:684)
	at org.apache.hadoop.hbase.client.HTable.put(HTable.java:669)
	at org.apache.gora.hbase.store.HBaseTableConnection.put(HBaseTableConnection.java:187)
	at org.apache.gora.hbase.store.HBaseStore.put(HBaseStore.java:241)
	at org.apache.gora.examples.WebPageDataCreator.createWebPageData(WebPageDataCreator.java:132)
	at org.apache.gora.mapreduce.MapReduceTestUtils.testWordCount(MapReduceTestUtils.java:76)
	at org.apache.gora.hbase.mapreduce.TestHBaseStoreMapReduce.testWordCount(TestHBaseStoreMapReduce.java:61)
	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 junit.framework.TestCase.runTest(TestCase.java:168)
	at junit.framework.TestCase.runBare(TestCase.java:134)
	at junit.framework.TestResult$1.protect(TestResult.java:110)
	at junit.framework.TestResult.runProtected(TestResult.java:128)
	at junit.framework.TestResult.run(TestResult.java:113)
	at junit.framework.TestCase.run(TestCase.java:124)
	at junit.framework.TestSuite.runTest(TestSuite.java:243)
	at junit.framework.TestSuite.run(TestSuite.java:238)
	at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83)
	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)
</error>
    <system-out>Starting DataNode 0 with dfs.data.dir: /home/lewis/ASF/gora_trunk/gora-hbase/build/test/data/dfs/data/data1,/home/lewis/ASF/gora_trunk/gora-hbase/build/test/data/dfs/data/data2
Starting DataNode 1 with dfs.data.dir: /home/lewis/ASF/gora_trunk/gora-hbase/build/test/data/dfs/data/data3,/home/lewis/ASF/gora_trunk/gora-hbase/build/test/data/dfs/data/data4
Shutting down the Mini HDFS Cluster
Shutting down DataNode 1
Shutting down DataNode 0
</system-out>
                
> Fix TestHBaseStoreMapReduce
> ---------------------------
>
>                 Key: GORA-54
>                 URL: https://issues.apache.org/jira/browse/GORA-54
>             Project: Gora
>          Issue Type: Sub-task
>          Components: storage-hbase
>    Affects Versions: 0.2-incubating
>            Reporter: Lewis John McGibbney
>             Fix For: 0.2-incubating
>
>
> TestHBaseStoreMapReduce
> Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 46.922 sec <<< FAILURE!
> This error should be identified and either the test, or the development code changed to ensure test passes.

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