Hadoop Common
  1. Hadoop Common
  2. HADOOP-6479

TestUTF8 assertions could fail with better text

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.21.0
    • Component/s: test
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      My HADOOP-6220 patch failed on Hudson with an error TestUTF8, but not one that is in any way useful:

      Error Message: null
      
      Stacktrace:
      
      junit.framework.AssertionFailedError: null
      	at org.apache.hadoop.io.TestUTF8.testIO(TestUTF8.java:80)
      

      The tests should use better assertions for easier diagnostics

      1. HADOOP-6479.patch
        0.9 kB
        Steve Loughran

        Activity

        Steve Loughran created issue -
        Steve Loughran made changes -
        Field Original Value New Value
        Attachment HADOOP-6479.patch [ 12429528 ]
        Steve Loughran made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Tom White made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Hadoop Flags [Reviewed]
        Fix Version/s 0.22.0 [ 12314296 ]
        Resolution Fixed [ 1 ]
        Gavin made changes -
        Reporter Steve Loughran [ steve_l ] Steve Loughran [ stevel@apache.org ]
        Gavin made changes -
        Assignee Steve Loughran [ steve_l ] Steve Loughran [ stevel@apache.org ]
        Tom White made changes -
        Fix Version/s 0.21.0 [ 12313563 ]
        Fix Version/s 0.22.0 [ 12314296 ]
        Tom White made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Steve Loughran
            Reporter:
            Steve Loughran
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development