Arup Malakar created HCATALOG-620:
-------------------------------------
Summary: The notification listener sends notification
synchronously, if the ActiveMQ server is not responding it blocks the client
Key: HCATALOG-620
URL: https://issues.apache.org/jira/browse/HCATALOG-620
Project: HCatalog
Issue Type: Bug
Affects Versions: 0.5, 0.4, 0.6
Reporter: Arup Malakar
Currently the notifications are sent synchronously by HCatalog server. This has
two issues:
1. If the activeMQ server is hung because of some issue, the client call gets
blocked and eventually it times out. Note that the issue mentioned here is
different from a case when activeMQ server is down. HCatalog server in that
case gets an exception, it ignores and just logs the error in such case.
2. The time taken in making the call to activeMQ adds up to the total time
taken for the hcatalog call.
I propose we should make asynchronous call to activeMQ server and the client
should not be blocked.
--
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