incubator-hcatalog-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashutosh Chauhan (JIRA)" <>
Subject [jira] [Updated] (HCATALOG-3) Send a message on a message bus when events occur in Metastore
Date Fri, 22 Apr 2011 22:07:05 GMT


Ashutosh Chauhan updated HCATALOG-3:

    Attachment: hcat_3_1.patch

bq. 1. In the file you have place holders for registering queues and topcis.
Do we plan to register any such queues topics by default?
No, its not required to register queues or topics upfront. In fact specifying them there won't
really register topic. Defining them there provides a way for jndi to discover message bus
destinations in most portable ways. So, if destination names are static and known ahead of
time, this is the recommended way. Otherwise, they can be created on demand as well. I would
leave them in as example for completeness. 
bq. 2. Is finializePartition message what I've been calling "mark set done"? If yes, I don't
see the string specifying the filter that specifies which partitions are done. If no, what
is it and where is the "mark set done" message? 
Ya, finalizePartition is mark-set-done. subscriber will set message selector string as "HCAT_FINALIZE_PARTITON"
on topic named "mydb.mytbl" to get MSD messages. Filter string itself is in msgBody

New patch with a testcase, which apart from testing also demonstrate how subscribers can receive
messages. Added activemq jar as dependency in ivy, which is required for the testcase. 

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

This message is automatically generated by JIRA.
For more information on JIRA, see:

View raw message