You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hcatalog-commits@incubator.apache.org by "Ashutosh Chauhan (JIRA)" <ji...@apache.org> on 2011/06/03 18:41:47 UTC
[jira] [Created] (HCATALOG-39) Lazily create connection for Message
bus
Lazily create connection for Message bus
----------------------------------------
Key: HCATALOG-39
URL: https://issues.apache.org/jira/browse/HCATALOG-39
Project: HCatalog
Issue Type: Improvement
Affects Versions: 0.2
Reporter: Ashutosh Chauhan
Fix For: 0.2
Currently a connection to a jms provider is created in constructor. This results in two problems: 1) This implies message bus must be up before metastore starts up. 2) If connection cannot be made, no further attempts to reconnect will be made until metastore restarts.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (HCATALOG-39) Lazily create connection for
Message bus
Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HCATALOG-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Chauhan resolved HCATALOG-39.
--------------------------------------
Resolution: Fixed
Patch checked in.
> Lazily create connection for Message bus
> ----------------------------------------
>
> Key: HCATALOG-39
> URL: https://issues.apache.org/jira/browse/HCATALOG-39
> Project: HCatalog
> Issue Type: Improvement
> Affects Versions: 0.2
> Reporter: Ashutosh Chauhan
> Assignee: Ashutosh Chauhan
> Fix For: 0.2
>
> Attachments: hcat_39-1.patch, hcat_39.patch
>
>
> Currently a connection to a jms provider is created in constructor. This results in two problems: 1) This implies message bus must be up before metastore starts up. 2) If connection cannot be made, no further attempts to reconnect will be made until metastore restarts.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HCATALOG-39) Lazily create connection for
Message bus
Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HCATALOG-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13043957#comment-13043957 ]
Ashutosh Chauhan commented on HCATALOG-39:
------------------------------------------
Better strategy is to create a connection when message needs to be delivered and then cache it. On subsequent message delivery request, check if there is a valid connection, if not try creating again.
> Lazily create connection for Message bus
> ----------------------------------------
>
> Key: HCATALOG-39
> URL: https://issues.apache.org/jira/browse/HCATALOG-39
> Project: HCatalog
> Issue Type: Improvement
> Affects Versions: 0.2
> Reporter: Ashutosh Chauhan
> Fix For: 0.2
>
>
> Currently a connection to a jms provider is created in constructor. This results in two problems: 1) This implies message bus must be up before metastore starts up. 2) If connection cannot be made, no further attempts to reconnect will be made until metastore restarts.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Assigned] (HCATALOG-39) Lazily create connection for
Message bus
Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HCATALOG-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Chauhan reassigned HCATALOG-39:
----------------------------------------
Assignee: Ashutosh Chauhan
> Lazily create connection for Message bus
> ----------------------------------------
>
> Key: HCATALOG-39
> URL: https://issues.apache.org/jira/browse/HCATALOG-39
> Project: HCatalog
> Issue Type: Improvement
> Affects Versions: 0.2
> Reporter: Ashutosh Chauhan
> Assignee: Ashutosh Chauhan
> Fix For: 0.2
>
> Attachments: hcat_39.patch
>
>
> Currently a connection to a jms provider is created in constructor. This results in two problems: 1) This implies message bus must be up before metastore starts up. 2) If connection cannot be made, no further attempts to reconnect will be made until metastore restarts.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (HCATALOG-39) Lazily create connection for
Message bus
Posted by "Mac Yang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HCATALOG-39?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13049327#comment-13049327 ]
Mac Yang commented on HCATALOG-39:
----------------------------------
+1
> Lazily create connection for Message bus
> ----------------------------------------
>
> Key: HCATALOG-39
> URL: https://issues.apache.org/jira/browse/HCATALOG-39
> Project: HCatalog
> Issue Type: Improvement
> Affects Versions: 0.2
> Reporter: Ashutosh Chauhan
> Assignee: Ashutosh Chauhan
> Fix For: 0.2
>
> Attachments: hcat_39-1.patch, hcat_39.patch
>
>
> Currently a connection to a jms provider is created in constructor. This results in two problems: 1) This implies message bus must be up before metastore starts up. 2) If connection cannot be made, no further attempts to reconnect will be made until metastore restarts.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HCATALOG-39) Lazily create connection for Message
bus
Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HCATALOG-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Chauhan updated HCATALOG-39:
-------------------------------------
Attachment: hcat_39.patch
Attached patch makes hcat server robust against message bus. If message bus goes down, message wont be delivered, when it comes back up again, message delivery should restart.
> Lazily create connection for Message bus
> ----------------------------------------
>
> Key: HCATALOG-39
> URL: https://issues.apache.org/jira/browse/HCATALOG-39
> Project: HCatalog
> Issue Type: Improvement
> Affects Versions: 0.2
> Reporter: Ashutosh Chauhan
> Fix For: 0.2
>
> Attachments: hcat_39.patch
>
>
> Currently a connection to a jms provider is created in constructor. This results in two problems: 1) This implies message bus must be up before metastore starts up. 2) If connection cannot be made, no further attempts to reconnect will be made until metastore restarts.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (HCATALOG-39) Lazily create connection for Message
bus
Posted by "Ashutosh Chauhan (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/HCATALOG-39?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ashutosh Chauhan updated HCATALOG-39:
-------------------------------------
Attachment: hcat_39-1.patch
Wow, patch got stale within 30 mins ! Patch rebased.
> Lazily create connection for Message bus
> ----------------------------------------
>
> Key: HCATALOG-39
> URL: https://issues.apache.org/jira/browse/HCATALOG-39
> Project: HCatalog
> Issue Type: Improvement
> Affects Versions: 0.2
> Reporter: Ashutosh Chauhan
> Assignee: Ashutosh Chauhan
> Fix For: 0.2
>
> Attachments: hcat_39-1.patch, hcat_39.patch
>
>
> Currently a connection to a jms provider is created in constructor. This results in two problems: 1) This implies message bus must be up before metastore starts up. 2) If connection cannot be made, no further attempts to reconnect will be made until metastore restarts.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira