[
https://issues.apache.org/jira/browse/WHIRR-201?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Lars George updated WHIRR-201:
------------------------------
Attachment: WHIRR-201-v6.patch
v6 should be the patch to use, I ran it against trunk and the integration test
succeeds.
{code}
./services/hbase [svn:]$ mvn verify -Pintegration
-DargLine="-Dwhirr.test.provider=ec2 -Dwhirr.test.identity=$AWS_ACCESS_KEY_ID
-Dwhirr.test.credential=$AWS_SECRET_ACCESS_KEY"
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Building Apache Whirr HBase
[INFO] task-segment: [verify]
[INFO] ------------------------------------------------------------------------
...
2011-01-28 12:08:22,678 INFO
[org.apache.whirr.service.hbase.integration.HBaseServiceController] (main)
Waiting for master...
Warning: Permanently added
'ec2-50-16-38-27.compute-1.amazonaws.com,50.16.38.27' (RSA) to the list of
known hosts.
2011-01-28 12:08:33,256 INFO
[org.apache.whirr.service.hbase.integration.HBaseServiceController] (main)
Master reported in. Continuing.
Done.
2011-01-28 12:08:35,571 INFO
[org.apache.whirr.service.hbase.integration.HBaseServiceController] (main)
Shutting down cluster...
2011-01-28 12:08:35,573 INFO
[org.apache.whirr.cluster.actions.DestroyClusterAction] (main) Destroying
hbaseclustertest cluster
2011-01-28 12:09:03,497 INFO
[org.apache.whirr.cluster.actions.DestroyClusterAction] (main) Cluster
hbaseclustertest destroyed
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 378.75 sec
Results :
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0
[WARNING] File encoding has not been set, using platform encoding MacRoman,
i.e. build is platform dependent!
[INFO] [failsafe:verify {execution: verify}]
[INFO] Failsafe report directory:
/Users/larsgeorge/projects/opensource/whirr-asf-trunk-rw/services/hbase/target/failsafe-reports
[WARNING] File encoding has not been set, using platform encoding MacRoman,
i.e. build is platform dependent!
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 6 minutes 39 seconds
[INFO] Finished at: Fri Jan 28 12:09:03 CET 2011
[INFO] Final Memory: 64M/125M
[INFO] ------------------------------------------------------------------------
{code}
> [HBase] Integration test fails
> ------------------------------
>
> Key: WHIRR-201
> URL: https://issues.apache.org/jira/browse/WHIRR-201
> Project: Whirr
> Issue Type: Bug
> Components: service/hbase
> Affects Versions: 0.3.0
> Reporter: Tom White
> Assignee: Lars George
> Priority: Blocker
> Fix For: 0.4.0
>
> Attachments: WHIRR-201-v2.patch, WHIRR-201-v3.patch,
> WHIRR-201-v4.patch, WHIRR-201-v6.patch, WHIRR-201.patch
>
>
> I get the following stacktrace consistently on EC2:
> {noformat}
> java.lang.NullPointerException
> at
> org.apache.hadoop.hbase.client.HConnectionManager$ClientZKWatcher.getZooKeeperWrapper(HConnectionManager.java:231)
> at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.getZooKeeperWrapper(HConnectionManager.java:1048)
> at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRootRegion(HConnectionManager.java:1064)
> at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:668)
> at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:644)
> at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegionInMeta(HConnectionManager.java:770)
> at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:673)
> at
> org.apache.hadoop.hbase.client.HConnectionManager$TableServers.locateRegion(HConnectionManager.java:644)
> at org.apache.hadoop.hbase.client.HTable.<init>(HTable.java:136)
> at
> org.apache.whirr.service.hbase.integration.HBaseServiceController.waitForMaster(HBaseServiceController.java:104)
> at
> org.apache.whirr.service.hbase.integration.HBaseServiceController.startup(HBaseServiceController.java:86)
> at
> org.apache.whirr.service.hbase.integration.HBaseServiceController.ensureClusterRunning(HBaseServiceController.java:66)
> at
> org.apache.whirr.service.hbase.integration.HBaseServiceTest.setUp(HBaseServiceTest.java:45)
> 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:44)
> at
> org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
> at
> org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
> at
> org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:27)
> at
> org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
> at org.junit.runners.ParentRunner.run(ParentRunner.java:236)
> at
> org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:59)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:115)
> at
> org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:102)
> at org.apache.maven.surefire.Surefire.run(Surefire.java:180)
> 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:350)
> at
> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1021)
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.