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

TestRPCCompatibility fails intermittently with JDK7

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.2-alpha
    • Fix Version/s: 2.0.3-alpha
    • Component/s: test
    • Labels:
    • Environment:

      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 kB
          Thomas Graves
        2. HADOOP-8713.patch
          1 kB
          Vlad Rozov
        3. HADOOP-8713.patch
          1.0 kB
          Trevor Robinson

          Activity

            People

            • Assignee:
              scurrilous Trevor Robinson
              Reporter:
              scurrilous Trevor Robinson

              Dates

              • Created:
                Updated:
                Resolved:

                Issue deployment