Jonathan Hsieh created HBASE-8478:
-------------------------------------

             Summary: HBASE-2231 breaks 
TestHRegion#testRecoveredEditsReplayCompaction under hadoop2 profile
                 Key: HBASE-8478
                 URL: https://issues.apache.org/jira/browse/HBASE-8478
             Project: HBase
          Issue Type: Bug
          Components: Compaction, hadoop2, Protobufs
    Affects Versions: 0.98.0, 0.95.1
            Reporter: Jonathan Hsieh
             Fix For: 0.98.0


TestHRegion#testRecoveredEditsReplyCompaction and 
TestHRegionBusyWait#testRecoveredEditsReplyCompaction fail against the hadoop2 
profile due to HBASE-2231.  

If you checkout at the patch on trunk, the error trace looks like this:
{code}
   <error message="File 
/home/jon/proj/hbase/hbase-server/target/test-data/05b5be10-bc88-40b0-a274-d1ebffe24e85/TestHRegiontestRecoveredEditsReplayCompaction/testRecoveredEditsReplayCompaction/f1de1d311572557ca13c4cb810ebfc0b/.tmp
 does not exist" 
type="java.io.FileNotFoundException">java.io.FileNotFoundException: File 
/home/jon/proj/hbase/hbase-server/target/test-data/05b5be10-bc88-40b0-a274-d1ebffe24e85/TestHRegiontestRecoveredEditsReplayCompaction/testRecoveredEditsReplayCompaction/f1de1d311572557ca13c4cb810ebfc0b/.tmp
 does not exist
        at 
org.apache.hadoop.fs.RawLocalFileSystem.listStatus(RawLocalFileSystem.java:340)
        at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1418)
        at org.apache.hadoop.fs.FileSystem.listStatus(FileSystem.java:1458)
        at 
org.apache.hadoop.fs.ChecksumFileSystem.listStatus(ChecksumFileSystem.java:569)
        at 
org.apache.hadoop.hbase.regionserver.TestHRegion.testRecoveredEditsReplayCompaction(TestHRegion.java:462)
        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:176)
        at junit.framework.TestCase.runBare(TestCase.java:141)
        at junit.framework.TestResult$1.protect(TestResult.java:122)
        at junit.framework.TestResult.runProtected(TestResult.java:142)
        at junit.framework.TestResult.run(TestResult.java:125)
        at junit.framework.TestCase.run(TestCase.java:129)
        at junit.framework.TestSuite.runTest(TestSuite.java:255)
        at junit.framework.TestSuite.run(TestSuite.java:250)
        at 
org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:84)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:226)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:133)
        at 
org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:114)
        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.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:188)
        at 
org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:166)
        at 
org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:86)
        at 
org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:101)
{code}

This was found via git bisect.

{{git bisect run mvn clean install test -DskipITs -Dhadoop.profile=2.0 
-Dtest=TestHRegion#testRecoveredEditsReplayCompaction}}


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to