Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-8567

TestDistributedLogSplitting#testLogReplayForDisablingTable fails on hadoop 2.0

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.0, 0.95.1
    • Component/s: MTTR
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The test failed with:

      testLogReplayForDisablingTable(org.apache.hadoop.hbase.master.TestDistributedLogSplitting)  Time elapsed: 0.144 sec  <<< ERROR!
      java.io.FileNotFoundException: File hdfs://localhost:56794/user/hortonzy/hbase/disableTable/6676df27ed855d9c61ad20ed650700e7/recovered.edits does not exist.
              at org.apache.hadoop.hdfs.DistributedFileSystem.listStatus(DistributedFileSystem.java:405)
              at org.apache.hadoop.hbase.master.TestDistributedLogSplitting.testLogReplayForDisablingTable(TestDistributedLogSplitting.java:774)
      

      This was due to FileNotFoundException being thrown out of listStatus() for non-existent directory in hadoop 2.0.

        Attachments

        1. hbase-8567.patch
          0.8 kB
          Jeffrey Zhong

          Issue Links

            Activity

              People

              • Assignee:
                jeffreyz Jeffrey Zhong
                Reporter:
                yuzhihong@gmail.com Ted Yu
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: