Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-6055 Offline Snapshots in HBase 0.96
  3. HBASE-7625

Remove duplicated logFSTree() from TestRestoreFlushSnapshotFromClient

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • hbase-6055
    • 0.95.0
    • snapshots
    • None

    Description

      Replace the duplicate logFSTree() code in the test with the one from FSUtils

      Also this code has a problem with the concurrent files deletion (by the archiver)

      java.io.FileNotFoundException: File hdfs://localhost:34124/user/jenkins/hbase/.archive/testtb-1358489746730/5a9d9fe3ffbd17db00ab8497486f4a2f does not exist.
              at org.apache.hadoop.hdfs.DistributedFileSystem.listStatus(DistributedFileSystem.java:408)
              at org.apache.hadoop.hbase.snapshot.TestRestoreFlushSnapshotFromClient.logFSTree(TestRestoreFlushSnapshotFromClient.java:249)
              at org.apache.hadoop.hbase.snapshot.TestRestoreFlushSnapshotFromClient.logFSTree(TestRestoreFlushSnapshotFromClient.java:252)
      

      Attachments

        1. HBASE-7625-v0.patch
          3 kB
          Matteo Bertozzi

        Activity

          People

            mbertozzi Matteo Bertozzi
            mbertozzi Matteo Bertozzi
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: