Return-Path: Delivered-To: apmail-hadoop-avro-dev-archive@minotaur.apache.org Received: (qmail 97853 invoked from network); 3 Mar 2010 17:30:57 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Mar 2010 17:30:57 -0000 Received: (qmail 60511 invoked by uid 500); 3 Mar 2010 17:30:49 -0000 Delivered-To: apmail-hadoop-avro-dev-archive@hadoop.apache.org Received: (qmail 60454 invoked by uid 500); 3 Mar 2010 17:30:49 -0000 Mailing-List: contact avro-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: avro-dev@hadoop.apache.org Delivered-To: mailing list avro-dev@hadoop.apache.org Received: (qmail 60443 invoked by uid 99); 3 Mar 2010 17:30:49 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Mar 2010 17:30:49 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 03 Mar 2010 17:30:48 +0000 Received: from brutus.apache.org (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 39045234C4C4 for ; Wed, 3 Mar 2010 17:30:27 +0000 (UTC) Message-ID: <1109484649.39931267637427232.JavaMail.jira@brutus.apache.org> Date: Wed, 3 Mar 2010 17:30:27 +0000 (UTC) From: "Doug Cutting (JIRA)" To: avro-dev@hadoop.apache.org Subject: [jira] Assigned: (AVRO-447) document protocol system error In-Reply-To: <426577664.20771267578447183.JavaMail.jira@brutus.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/AVRO-447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Doug Cutting reassigned AVRO-447: --------------------------------- Assignee: Doug Cutting > document protocol system error > ------------------------------ > > Key: AVRO-447 > URL: https://issues.apache.org/jira/browse/AVRO-447 > Project: Avro > Issue Type: Bug > Components: spec > Affects Versions: 1.3.0 > Reporter: Doug Cutting > Assignee: Doug Cutting > > 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: > {code} > "foo": { > "request": [], > "response": "null", > "errors": ["MyError"] > } > {code} > Then errors are written and read with the schema ["string", "MyError"], although that schema never appears publicly. > This should either be documented or changed. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.