Return-Path: X-Original-To: apmail-incubator-kafka-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-kafka-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id BA58BD825 for ; Thu, 1 Nov 2012 09:43:13 +0000 (UTC) Received: (qmail 48744 invoked by uid 500); 1 Nov 2012 09:43:13 -0000 Delivered-To: apmail-incubator-kafka-dev-archive@incubator.apache.org Received: (qmail 48714 invoked by uid 500); 1 Nov 2012 09:43:12 -0000 Mailing-List: contact kafka-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: kafka-dev@incubator.apache.org Delivered-To: mailing list kafka-dev@incubator.apache.org Received: (qmail 48676 invoked by uid 99); 1 Nov 2012 09:43:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Nov 2012 09:43:12 +0000 Date: Thu, 1 Nov 2012 09:43:12 +0000 (UTC) From: "Yang Ye (JIRA)" To: kafka-dev@incubator.apache.org Message-ID: <2040883530.55296.1351762992255.JavaMail.jiratomcat@arcas> In-Reply-To: <726507185.9758.1346202187638.JavaMail.jiratomcat@arcas> Subject: [jira] [Updated] (KAFKA-491) KafkaRequestHandler needs to handle exceptions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/KAFKA-491?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Yang Ye updated KAFKA-491: -------------------------- Attachment: kafka-491-v2.diff Fixed comments 1.1, 1.2, 1.4, 2 For 1.3, It seems not easy to do that, if we have some common variable outside, then the type of this variable has only to be vague, then when we log it, we cannot get the detailed info inside it. > KafkaRequestHandler needs to handle exceptions > ---------------------------------------------- > > Key: KAFKA-491 > URL: https://issues.apache.org/jira/browse/KAFKA-491 > Project: Kafka > Issue Type: Bug > Components: core > Reporter: Jun Rao > Labels: bugs > Fix For: 0.8 > > Attachments: kafka-491-v1.diff, kafka-491-v2.diff > > > Currently, if apis.handle() throws an exception (e.g., if the broker receives an invalid request), KafkaRequestHandler will die. We need to handle exceptions properly. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira