Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.3.0
    • Fix Version/s: 1.4.0
    • Component/s: spec
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      Currently Java internally adds a type at the start of each protocol message's error list for system errors. This is used when an exception is encountered on the server while executing an RPC that does not match one of the messages declared errors. The type is "string", so it will never conflict with another error, since all other errors are defined as records.

      For example, if a protocol has a message like:

      "foo": {
        "request": [],
        "response": "null",
        "errors": ["MyError"]
      }
      

      Then errors are written and read with the schema ["string", "MyError"], although that schema never appears publicly.

      This should either be documented or changed.

      1. AVRO-447.patch
        2 kB
        Doug Cutting
      2. AVRO-447.patch
        2 kB
        Doug Cutting
      3. AVRO-447.patch
        2 kB
        Doug Cutting

        Issue Links

          Activity

          Doug Cutting made changes -
          Status Resolved [ 5 ] Closed [ 6 ]
          Jeff Hammerbacher made changes -
          Link This issue relates to AVRO-573 [ AVRO-573 ]
          Doug Cutting made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Resolution Fixed [ 1 ]
          Doug Cutting made changes -
          Attachment AVRO-447.patch [ 12446317 ]
          Doug Cutting made changes -
          Attachment AVRO-447.patch [ 12446314 ]
          Doug Cutting made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Doug Cutting made changes -
          Attachment AVRO-447.patch [ 12446311 ]
          Jeff Hammerbacher made changes -
          Link This issue relates to AVRO-561 [ AVRO-561 ]
          Jeff Hammerbacher made changes -
          Link This issue relates to AVRO-560 [ AVRO-560 ]
          Jeff Hammerbacher made changes -
          Fix Version/s 1.4.0 [ 12314789 ]
          Priority Major [ 3 ] Blocker [ 1 ]
          Jeff Hammerbacher made changes -
          Link This issue is related to AVRO-558 [ AVRO-558 ]
          Jeff Hodges made changes -
          Link This issue relates to AVRO-509 [ AVRO-509 ]
          Doug Cutting made changes -
          Field Original Value New Value
          Assignee Doug Cutting [ cutting ]
          Doug Cutting created issue -

            People

            • Assignee:
              Doug Cutting
              Reporter:
              Doug Cutting
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development