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

toString method of RpcCall throws IllegalArgumentException

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      We have observed breaking tests such as TestApplicationACLs. We have located the root cause, which is HADOOP-18082. It seems that there is a concurrency issue within ProtobufRpcEngine2. When using a debugger, the missing fields are there, hence the suspicion of concurrency problem. The stack trace:

      java.lang.IllegalArgumentException
          at java.nio.Buffer.position(Buffer.java:244)
          at org.apache.hadoop.ipc.RpcWritable$ProtobufWrapper.readFrom(RpcWritable.java:131)
          at org.apache.hadoop.ipc.RpcWritable$Buffer.getValue(RpcWritable.java:232)
          at org.apache.hadoop.ipc.ProtobufRpcEngine2$RpcProtobufRequest.getRequestHeader(ProtobufRpcEngine2.java:645)
          at org.apache.hadoop.ipc.ProtobufRpcEngine2$RpcProtobufRequest.toString(ProtobufRpcEngine2.java:663)
          at java.lang.String.valueOf(String.java:3425)
          at java.lang.StringBuilder.append(StringBuilder.java:516)
          at org.apache.hadoop.ipc.Server$RpcCall.toString(Server.java:1328)
          at java.lang.String.valueOf(String.java:3425)
          at java.lang.StringBuilder.append(StringBuilder.java:516)
          at org.apache.hadoop.ipc.Server$Handler.run(Server.java:3097)

      Attachments

        Issue Links

          Activity

            People

              quapaw András Győri
              quapaw András Győri
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 40m
                  40m