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

Fix TestHFileOutputFormat to work against hadoop 0.23

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.92.0, 0.94.0
    • Fix Version/s: 0.92.1, 0.94.0
    • Component/s: test
    • Labels:
      None

      Description

      Running
      mvn -Dhadoop.profile=23 test -P localTests -Dtest=org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat

      yields this on 0.92:
      Failed tests: testColumnFamilyCompression(org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat): HFile for column family info-A not found

      Tests in error:
      test_TIMERANGE(org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat): /home/gchanan/workspace/apache92/target/test-data/276cbd0c-c771-4f81-9ba8-c464c9dd7486/test_TIMERANGE_present/_temporary/0/_temporary/_attempt_200707121733_0001_m_000000_0 (Is a directory)
      testMRIncrementalLoad(org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat): TestTable
      testMRIncrementalLoadWithSplit(org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat): TestTable

      It looks like on trunk, this also results in an error:
      testExcludeMinorCompaction(org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat): TestTable

      I have a patch that fixes testColumnFamilyCompression and test_TIMERANGE, but haven't fixed the other 3 yet.

        Attachments

        1. HBASE-5317-v0.patch
          2 kB
          Gregory Chanan
        2. HBASE-5317-v1.patch
          2 kB
          Gregory Chanan
        3. HBASE-5317-v3.patch
          7 kB
          Gregory Chanan
        4. HBASE-5317-v4.patch
          7 kB
          Gregory Chanan
        5. HBASE-5317-v5.patch
          7 kB
          Gregory Chanan
        6. HBASE-5317-v6.patch
          7 kB
          Gregory Chanan
        7. TEST-org.apache.hadoop.hbase.mapreduce.TestHFileOutputFormat.xml
          1.49 MB
          Ted Yu
        8. HBASE-5317to0.92.patch
          7 kB
          Gregory Chanan

          Activity

            People

            • Assignee:
              gchanan Gregory Chanan
              Reporter:
              gchanan Gregory Chanan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: