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

[WINDOWS] Fix filesystem / classloader related unit tests

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.98.0, 0.96.1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Release Note:
      Committed this. Thanks Nick for looking.

      Description

      Some of the unit tests related to classloasing and filesystem are failing on windows.

      org.apache.hadoop.hbase.coprocessor.TestClassLoading.testHBase3810
      org.apache.hadoop.hbase.coprocessor.TestClassLoading.testClassLoadingFromLocalFS
      org.apache.hadoop.hbase.coprocessor.TestClassLoading.testPrivateClassLoader
      org.apache.hadoop.hbase.coprocessor.TestClassLoading.testClassLoadingFromRelativeLibDirInJar
      org.apache.hadoop.hbase.coprocessor.TestClassLoading.testClassLoadingFromLibDirInJar
      org.apache.hadoop.hbase.coprocessor.TestClassLoading.testClassLoadingFromHDFS
      org.apache.hadoop.hbase.backup.TestHFileArchiving.testCleaningRace
      org.apache.hadoop.hbase.regionserver.wal.TestDurability.testDurability
      org.apache.hadoop.hbase.regionserver.wal.TestHLog.testMaintainOrderWithConcurrentWrites
      org.apache.hadoop.hbase.security.access.TestAccessController.testBulkLoad
      org.apache.hadoop.hbase.regionserver.TestHRegion.testRecoveredEditsReplayCompaction
      org.apache.hadoop.hbase.regionserver.TestHRegionBusyWait.testRecoveredEditsReplayCompaction
      org.apache.hadoop.hbase.util.TestFSUtils.testRenameAndSetModifyTime
      

      The root causes are:

      • Using local file name for referring to hdfs paths (HBASE-6830)
      • Classloader using the wrong file system
      • StoreFile readers not being closed (for unfinished compaction)

        Attachments

        1. hbase-9908_v1.patch
          43 kB
          Enis Soztutar
        2. hbase-9908_v1-addendum.patch
          1 kB
          Enis Soztutar

          Activity

            People

            • Assignee:
              enis Enis Soztutar
              Reporter:
              enis Enis Soztutar
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: