incubator-hcatalog-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HCATALOG-3) Send a message on a message bus when events occur in Metastore
Date Wed, 18 May 2011 18:36:53 GMT

    [ https://issues.apache.org/jira/browse/HCATALOG-3?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13035561#comment-13035561
] 

Ashutosh Chauhan commented on HCATALOG-3:
-----------------------------------------

@John
We need to have a JMS provider for testing. ActiveMQ message broker can be run in an embedded
mode (which is what I am using in my testcases) and is pretty light-weight. It is pretty straight
forward to use and doesnt add any latencies. If there is some other JMS Provider which can
run in embedded mode and has proven to be light weight then ActiveMQ we can  explore that
one.

@Jakob,
1. Are you suggesting we get away from JMS interface altogether? Then Alan I think has valid
points.
2. For overriding methods there are jiras open in Hive which as I have noted above needs to
be committed first.
3. There is no dependency on finalize(). We run in transacted mode, so closing of connection
is not really required. So, if its not run, nothing will be lost. I still have it just as
a good practice. If you think it can be done in better way, I can try that out.
4. MetaStoreUtils.startMetaStore() is a better way to start metastore. That will help to avoid
long pauses. Mocking will also help.

> Send a message on a message bus when events occur in Metastore 
> ---------------------------------------------------------------
>
>                 Key: HCATALOG-3
>                 URL: https://issues.apache.org/jira/browse/HCATALOG-3
>             Project: HCatalog
>          Issue Type: New Feature
>            Reporter: Ashutosh Chauhan
>         Attachments: hcat_3.patch, hcat_3_1.patch, hcat_3_1.patch
>
>
> By implementing a MetaStoreEventListener interface.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message