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

DFS Cluster is used while not needed in some unit tests

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.94.0
    • 0.92.0
    • test
    • None
    • all

    Description

      Some tests could go directly to the localsystem instead of using a DFS cluster. This speeds-up the test.
      TestScanner From 60s to 5s
      TestCompaction from 140s to 15s
      TestGetClosestAtOrBefore from 9s to 1s
      TestStoreFile from 30s to 2s
      TestWideScanner: 18s -> 3s
      TestFSTableDescriptorForceCreation 3s -> 1s

      There is a partial dependency with HBASE-4634, as we now write on localdisk the data is not freed when the test is over.

      Attachments

        Issue Links

          Activity

            People

              nkeywal Nicolas Liochon
              nkeywal Nicolas Liochon
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: