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

TestColumnSchemaModel and TestTableSchemaModel test cases are failing with IBM IBM Java 6

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.96.0
    • 0.98.0, 0.96.0
    • None
    • None
    • RHEL 6.3, IBM Java 6 SR14

    • Reviewed

    Description

      After the commit of HBASE-9435, the TestColumnSchemaModel and TestTableSchemaModel test cases starts to fail when executing 0.96.0 and trunk runAllTests maven building with IBM IBM Java 6. Looks like the problem is related to the print order of the HashMap variables used in ColumnSchemaModel.java and TableSchemaModel.java.

      Below are the output of the failed tests:

      Running org.apache.hadoop.hbase.rest.model.TestColumnSchemaModel
      Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 205.174 sec <<< FAILURE!

      Running org.apache.hadoop.hbase.rest.model.TestTableSchemaModel
      Tests run: 6, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 205.174 sec <<< FAILURE!

      Results :

      Failed tests: testToXML(org.apache.hadoop.hbase.rest.model.TestColumnSchemaModel): expected:<...LOCKSIZE="16384" BLO[OMFILTER="NONE" BLOCKCACHE="true" COMPRESSION="GZ" VERSIONS="1" TTL="86400" IN_MEMORY="false]"/>> but was:<...LOCKSIZE="16384" BLO[CKCACHE="true" VERSIONS="1" TTL="86400" COMPRESSION="GZ" IN_MEMORY="false" BLOOMFILTER="NONE]"/>>

      testToXML(org.apache.hadoop.hbase.rest.model.TestTableSchemaModel): expected:<...LOCKSIZE="16384" BLO[OMFILTER="NONE" BLOCKCACHE="true" COMPRESSION="GZ" VERSIONS="1" TTL="86400" IN_MEMORY="false]"/></TableSchema>> but was:<...LOCKSIZE="16384" BLO[CKCACHE="true" VERSIONS="1" TTL="86400" COMPRESSION="GZ" IN_MEMORY="false" BLOOMFILTER="NONE]"/></TableSchema>>

      Attachments

        1. HABSE-9600.patch
          3 kB
          Paulo Ricardo Paz Vital

        Activity

          People

            Unassigned Unassigned
            pvital Paulo Ricardo Paz Vital
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: