Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-8713

TestRPCCompatibility fails intermittently with JDK7

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.2-alpha
    • 2.0.3-alpha
    • test

    Description

      TestRPCCompatibility can fail intermittently with errors like the following when tests are not run in declaration order:

      testVersion2ClientVersion1Server(org.apache.hadoop.ipc.TestRPCCompatibility): expected:<3> but was:<-3>
      

      Moving the reset of the ProtocolSignature cache from ad-hoc usage in testVersion2ClientVersion2Server to tearDown fixes the issue.

      Attachments

        1. HADOOP-8713.patch
          1.0 kB
          Trevor Robinson
        2. HADOOP-8713.patch
          1 kB
          Vlad Rozov
        3. HADOOP-8713.patch
          1 kB
          Thomas Graves

        Activity

          People

            scurrilous Trevor Robinson
            scurrilous Trevor Robinson
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: