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 (Created) (JIRA)" <ji...@apache.org> on 2011/10/23 12:02:32 UTC
[jira] [Created] (GORA-54) Fix TestHBaseStoreMapReduce
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
[jira] [Resolved] (GORA-54) Fix TestHBaseStoreMapReduce
Posted by "Ioannis Canellos (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GORA-54?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ioannis Canellos resolved GORA-54.
----------------------------------
Resolution: Fixed
Assignee: Ioannis Canellos
> 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
> Assignee: Ioannis Canellos
> 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
[jira] [Commented] (GORA-54) Fix TestHBaseStoreMapReduce
Posted by "Lewis John McGibbney (Commented) (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Commented] (GORA-54) Fix TestHBaseStoreMapReduce
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GORA-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170787#comment-13170787 ]
Hudson commented on GORA-54:
----------------------------
Integrated in gora-trunk #73 (See [https://builds.apache.org/job/gora-trunk/73/])
[GORA-54] Added jvm args to maven surefire plugin to increase the max heap size that the tests will use to 512M.
iocanel : http://svn.apache.org/viewvc/incubator/gora/trunk/viewvc/?view=rev&root=&revision=1214996
Files :
* /incubator/gora/trunk/pom.xml
> 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
> Assignee: Ioannis Canellos
> 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
[jira] [Commented] (GORA-54) Fix TestHBaseStoreMapReduce
Posted by "Ioannis Canellos (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GORA-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170595#comment-13170595 ]
Ioannis Canellos commented on GORA-54:
--------------------------------------
Apparently the was an "out of memory error" that caused issues with this test.
Increasing the maximum heap size on the surefire plugin fixes the issue.
> 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
[jira] [Commented] (GORA-54) Fix TestHBaseStoreMapReduce
Posted by "Hudson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/GORA-54?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13171467#comment-13171467 ]
Hudson commented on GORA-54:
----------------------------
Integrated in gora-trunk #74 (See [https://builds.apache.org/job/gora-trunk/74/])
[GORA-54] Splitted TestHBaseStoreMapReduce to two individual tests, so that they can run properly.
iocanel : http://svn.apache.org/viewvc/incubator/gora/trunk/viewvc/?view=rev&root=&revision=1215055
Files :
* /incubator/gora/trunk/gora-hbase/src/test/java/org/apache/gora/hbase/mapreduce/TestHBaseStoreCountQuery.java
* /incubator/gora/trunk/gora-hbase/src/test/java/org/apache/gora/hbase/mapreduce/TestHBaseStoreMapReduce.java
* /incubator/gora/trunk/gora-hbase/src/test/java/org/apache/gora/hbase/mapreduce/TestHBaseStoreWordCount.java
> 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
> Assignee: Ioannis Canellos
> 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