Details
Description
$ JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.79.x86_64 ../apache-maven-3.3.3/bin/mvn -PrunAllTests -DreuseForks=false clean install -Dmaven.test.redirectTestOutputToFile=true -Dsurefire.rerunFailingTestsCount=4 -Dit.test=noItTest ... org.apache.hadoop.hbase.regionserver.TestRecoveredEdits.testReplayWorksThoughLotsOfFlushing(org.apache.hadoop.hbase.regionserver.TestRecoveredEdits) Run 1: TestRecoveredEdits.testReplayWorksThoughLotsOfFlushing:124->verifyAllEditsMadeItIn:160 » Run 2: TestRecoveredEdits.testReplayWorksThoughLotsOfFlushing:98 » IO The specified r... Run 3: TestRecoveredEdits.testReplayWorksThoughLotsOfFlushing:98 » IO The specified r... Run 4: TestRecoveredEdits.testReplayWorksThoughLotsOfFlushing:98 » IO The specified r... Run 5: TestRecoveredEdits.testReplayWorksThoughLotsOfFlushing:98 » IO The specified r...
The reruns failed because the test is not idempotent. Perhaps we should have the test startup clean up it's workspace before starting.
------------------------------------------------------------------------------- Test set: org.apache.hadoop.hbase.regionserver.TestRecoveredEdits ------------------------------------------------------------------------------- Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 33.894 sec <<< FAILURE! - in org.apache.hadoop.hbase.regionserver.TestRecoveredEdits testReplayWorksThoughLotsOfFlushing(org.apache.hadoop.hbase.regionserver.TestRecoveredEdits) Time elapsed: 0 sec <<< ERROR! java.io.IOException: The specified region already exists on disk: /grid/0/hbase/hbase-server/target/test-data/0c8ee429-8588-41ab-8999-6754588cd4a6/data/default/testReplayWorksThoughLotsOfFlushing/4823016d8fca70b25503ee07f4c6d79f at org.apache.hadoop.hbase.regionserver.HRegionFileSystem.createRegionOnFileSystem(HRegionFileSystem.java:877) at org.apache.hadoop.hbase.regionserver.HRegion.createHRegion(HRegion.java:5923) at org.apache.hadoop.hbase.regionserver.HRegion.createHRegion(HRegion.java:5894) at org.apache.hadoop.hbase.regionserver.HRegion.createHRegion(HRegion.java:5869) at org.apache.hadoop.hbase.regionserver.HRegion.createHRegion(HRegion.java:5951) at org.apache.hadoop.hbase.regionserver.TestRecoveredEdits.testReplayWorksThoughLotsOfFlushing(TestRecoveredEdits.java:98)