Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-11339 HBase MOB
  3. HBASE-12331

Shorten the mob snapshot unit tests

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: hbase-11339
    • Fix Version/s: hbase-11339, 2.0.0
    • Component/s: mob
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      The mob snapshot patch introduced a whole log of tests that take a long time to run and would be better as integration tests.

      -------------------------------------------------------
       T E S T S
      -------------------------------------------------------
      Running org.apache.hadoop.hbase.client.TestMobRestoreSnapshotFromClientWithRegionReplicas
      Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 394.803 sec - in org.apache.hadoop.hbase.client.TestMobRestoreSnapshotFromClientWithRegionReplicas
      Running org.apache.hadoop.hbase.client.TestMobRestoreSnapshotFromClient
      Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 212.377 sec - in org.apache.hadoop.hbase.client.TestMobRestoreSnapshotFromClient
      Running org.apache.hadoop.hbase.client.TestMobSnapshotFromClientWithRegionReplicas
      Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.463 sec - in org.apache.hadoop.hbase.client.TestMobSnapshotFromClientWithRegionReplicas
      Running org.apache.hadoop.hbase.client.TestMobSnapshotFromClient
      Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 46.724 sec - in org.apache.hadoop.hbase.client.TestMobSnapshotFromClient
      Running org.apache.hadoop.hbase.client.TestMobCloneSnapshotFromClient
      Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 204.03 sec - in org.apache.hadoop.hbase.client.TestMobCloneSnapshotFromClient
      Running org.apache.hadoop.hbase.client.TestMobCloneSnapshotFromClientWithRegionReplicas
      Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 214.052 sec - in org.apache.hadoop.hbase.client.TestMobCloneSnapshotFromClientWithRegionReplicas
      Running org.apache.hadoop.hbase.client.TestMobSnapshotCloneIndependence
      Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 105.139 sec - in org.apache.hadoop.hbase.client.TestMobSnapshotCloneIndependence
      Running org.apache.hadoop.hbase.regionserver.TestMobStoreScanner
      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 24.42 sec - in org.apache.hadoop.hbase.regionserver.TestMobStoreScanner
      Running org.apache.hadoop.hbase.regionserver.TestDeleteMobTable
      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 18.136 sec - in org.apache.hadoop.hbase.regionserver.TestDeleteMobTable
      Running org.apache.hadoop.hbase.regionserver.TestHMobStore
      Tests run: 7, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 6.09 sec - in org.apache.hadoop.hbase.regionserver.TestHMobStore
      Running org.apache.hadoop.hbase.regionserver.TestMobCompaction
      Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.629 sec - in org.apache.hadoop.hbase.regionserver.TestMobCompaction
      Running org.apache.hadoop.hbase.mob.TestCachedMobFile
      Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.301 sec - in org.apache.hadoop.hbase.mob.TestCachedMobFile
      Running org.apache.hadoop.hbase.mob.mapreduce.TestMobSweepJob
      Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 14.752 sec - in org.apache.hadoop.hbase.mob.mapreduce.TestMobSweepJob
      Running org.apache.hadoop.hbase.mob.mapreduce.TestMobSweepReducer
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.276 sec - in org.apache.hadoop.hbase.mob.mapreduce.TestMobSweepReducer
      Running org.apache.hadoop.hbase.mob.mapreduce.TestMobSweepMapper
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.46 sec - in org.apache.hadoop.hbase.mob.mapreduce.TestMobSweepMapper
      Running org.apache.hadoop.hbase.mob.mapreduce.TestMobSweeper
      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 173.05 sec - in org.apache.hadoop.hbase.mob.mapreduce.TestMobSweeper
      Running org.apache.hadoop.hbase.mob.TestMobDataBlockEncoding
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 20.86 sec - in org.apache.hadoop.hbase.mob.TestMobDataBlockEncoding
      Running org.apache.hadoop.hbase.mob.TestExpiredMobFileCleaner
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.029 sec - in org.apache.hadoop.hbase.mob.TestExpiredMobFileCleaner
      Running org.apache.hadoop.hbase.mob.TestMobFile
      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.562 sec - in org.apache.hadoop.hbase.mob.TestMobFile
      Running org.apache.hadoop.hbase.mob.TestMobFileCache
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.173 sec - in org.apache.hadoop.hbase.mob.TestMobFileCache
      Running org.apache.hadoop.hbase.mob.TestDefaultMobStoreFlusher
      Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 16.586 sec - in org.apache.hadoop.hbase.mob.TestDefaultMobStoreFlusher
      Running org.apache.hadoop.hbase.mob.TestMobFileName
      Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.034 sec - in org.apache.hadoop.hbase.mob.TestMobFileName
      Running org.apache.hadoop.hbase.snapshot.TestMobSecureExportSnapshot
      Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 707.528 sec - in org.apache.hadoop.hbase.snapshot.TestMobSecureExportSnapshot
      Running org.apache.hadoop.hbase.snapshot.TestMobExportSnapshot
      Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 492.225 sec - in org.apache.hadoop.hbase.snapshot.TestMobExportSnapshot
      Running org.apache.hadoop.hbase.snapshot.TestMobRestoreSnapshotHelper
      Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 4.818 sec - in org.apache.hadoop.hbase.snapshot.TestMobRestoreSnapshotHelper
      Running org.apache.hadoop.hbase.snapshot.TestMobFlushSnapshotFromClient
      Tests run: 9, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 83.69 sec - in org.apache.hadoop.hbase.snapshot.TestMobFlushSnapshotFromClient
      Running org.apache.hadoop.hbase.snapshot.TestMobRestoreFlushSnapshotFromClient
      Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 144.088 sec - in org.apache.hadoop.hbase.snapshot.TestMobRestoreFlushSnapshotFromClient
      
      

        Attachments

        1. HBASE-12331-V2.patch
          7 kB
          Jiajia Li
        2. HBASE-12331-V1.diff
          112 kB
          Jiajia Li

          Activity

            People

            • Assignee:
              jiajia Jiajia Li
              Reporter:
              jmhsieh Jonathan Hsieh
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: