You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Yang Ye (JIRA)" <ji...@apache.org> on 2012/07/11 23:57:33 UTC
[jira] [Created] (KAFKA-402) Adding handling various kind of
exception support at server side
Yang Ye created KAFKA-402:
-----------------------------
Summary: Adding handling various kind of exception support at server side
Key: KAFKA-402
URL: https://issues.apache.org/jira/browse/KAFKA-402
Project: Kafka
Issue Type: Task
Reporter: Yang Ye
Assignee: Yang Ye
Currently at server side handlers, some exceptions are not caught and handled. There're chances where servers may be brought down due to some uncaught exception. We need to catch and handle them at the server.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (KAFKA-402) Adding handling various kind of
exception support at server side
Posted by "Yang Ye (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KAFKA-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Ye updated KAFKA-402:
--------------------------
Attachment: (was: kafka_402_v1.diff)
> Adding handling various kind of exception support at server side
> ----------------------------------------------------------------
>
> Key: KAFKA-402
> URL: https://issues.apache.org/jira/browse/KAFKA-402
> Project: Kafka
> Issue Type: Task
> Reporter: Yang Ye
> Assignee: Yang Ye
>
> Currently at server side handlers, some exceptions are not caught and handled. There're chances where servers may be brought down due to some uncaught exception. We need to catch and handle them at the server.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (KAFKA-402) Adding handling various kind of
exception support at server side
Posted by "Yang Ye (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KAFKA-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Ye updated KAFKA-402:
--------------------------
Attachment: kafka_402_v2.diff
Added the KafkaThread.scala file into the svn.
> Adding handling various kind of exception support at server side
> ----------------------------------------------------------------
>
> Key: KAFKA-402
> URL: https://issues.apache.org/jira/browse/KAFKA-402
> Project: Kafka
> Issue Type: Task
> Reporter: Yang Ye
> Assignee: Yang Ye
> Attachments: kafka_402_v1.diff, kafka_402_v2.diff
>
>
> Currently at server side handlers, some exceptions are not caught and handled. There're chances where servers may be brought down due to some uncaught exception. We need to catch and handle them at the server.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (KAFKA-402) Adding handling various kind of
exception support at server side
Posted by "Yang Ye (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KAFKA-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Ye updated KAFKA-402:
--------------------------
Attachment: (was: kafka_402_v2.diff)
> Adding handling various kind of exception support at server side
> ----------------------------------------------------------------
>
> Key: KAFKA-402
> URL: https://issues.apache.org/jira/browse/KAFKA-402
> Project: Kafka
> Issue Type: Task
> Reporter: Yang Ye
> Assignee: Yang Ye
>
> Currently at server side handlers, some exceptions are not caught and handled. There're chances where servers may be brought down due to some uncaught exception. We need to catch and handle them at the server.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (KAFKA-402) Adding handling various kind of
exception support at server side
Posted by "Yang Ye (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KAFKA-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yang Ye updated KAFKA-402:
--------------------------
Attachment: kafka_402_v1.diff
Build a KafkaThread class which wraps shutting down with interruption and exception handling; and let the leaderFinderThread, AbstractFetcherThread and RequestSendThread classes extend it.
> Adding handling various kind of exception support at server side
> ----------------------------------------------------------------
>
> Key: KAFKA-402
> URL: https://issues.apache.org/jira/browse/KAFKA-402
> Project: Kafka
> Issue Type: Task
> Reporter: Yang Ye
> Assignee: Yang Ye
> Attachments: kafka_402_v1.diff
>
>
> Currently at server side handlers, some exceptions are not caught and handled. There're chances where servers may be brought down due to some uncaught exception. We need to catch and handle them at the server.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (KAFKA-402) Adding handling various kind of
exception support at server side
Posted by "Joel Koshy (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KAFKA-402?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joel Koshy updated KAFKA-402:
-----------------------------
Affects Version/s: 0.8
> Adding handling various kind of exception support at server side
> ----------------------------------------------------------------
>
> Key: KAFKA-402
> URL: https://issues.apache.org/jira/browse/KAFKA-402
> Project: Kafka
> Issue Type: Task
> Affects Versions: 0.8
> Reporter: Yang Ye
> Assignee: Yang Ye
>
> Currently at server side handlers, some exceptions are not caught and handled. There're chances where servers may be brought down due to some uncaught exception. We need to catch and handle them at the server.
--
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
[jira] [Commented] (KAFKA-402) Adding handling various kind of
exception support at server side
Posted by "Neha Narkhede (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/KAFKA-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13437122#comment-13437122 ]
Neha Narkhede commented on KAFKA-402:
-------------------------------------
Sorry I got a chance to review this a bit late. The v2 patch doesn't apply cleanly on a fresh checkout of 0.8 -
nnarkhed-ld:kafka-402 nnarkhed$ patch -p0 -i ~/Projects/kafka-patches/kafka_402_v2.diff
patching file core/src/main/scala/kafka/consumer/ConsumerFetcherManager.scala
patching file core/src/main/scala/kafka/utils/KafkaThread.scala
patching file core/src/main/scala/kafka/server/AbstractFetcherManager.scala
patching file core/src/main/scala/kafka/server/KafkaController.scala
Hunk #1 FAILED at 22.
1 out of 1 hunk FAILED -- saving rejects to file core/src/main/scala/kafka/server/KafkaController.scala.rej
patching file core/src/main/scala/kafka/server/AbstractFetcherThread.scala
> Adding handling various kind of exception support at server side
> ----------------------------------------------------------------
>
> Key: KAFKA-402
> URL: https://issues.apache.org/jira/browse/KAFKA-402
> Project: Kafka
> Issue Type: Task
> Reporter: Yang Ye
> Assignee: Yang Ye
> Attachments: kafka_402_v1.diff, kafka_402_v2.diff
>
>
> Currently at server side handlers, some exceptions are not caught and handled. There're chances where servers may be brought down due to some uncaught exception. We need to catch and handle them at the server.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira