HBase
  1. HBase
  2. HBASE-5317

Fix TestHFileOutputFormat to work against hadoop 0.23

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major 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.

      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

        Gregory Chanan created issue -
        Gregory Chanan made changes -
        Field Original Value New Value
        Attachment HBASE-5317-v0.patch [ 12513229 ]
        Ted Yu made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Gregory Chanan made changes -
        Attachment HBASE-5317-v1.patch [ 12513394 ]
        Gregory Chanan made changes -
        Attachment HBASE-5317-v3.patch [ 12515057 ]
        Gregory Chanan made changes -
        Attachment HBASE-5317-v4.patch [ 12515322 ]
        Gregory Chanan made changes -
        Attachment HBASE-5317-v5.patch [ 12515326 ]
        Gregory Chanan made changes -
        Attachment HBASE-5317-v6.patch [ 12515510 ]
        Ted Yu made changes -
        Gregory Chanan made changes -
        Attachment HBASE-5317to0.92.patch [ 12515901 ]
        Gregory Chanan made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 0.92.1 [ 12318551 ]
        Fix Version/s 0.94.0 [ 12316419 ]
        Resolution Fixed [ 1 ]
        Lars Hofhansl made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development