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

Carl Steinbach commented on HIVE-2038:
--------------------------------------

I think the meaning of "finalizing" a partition is actually defined by the 
metastore client, since it's the client that has to call finalizePartition(). 
But when is the client supposed to call this? What happens if you have multiple 
listeners registered which each has a different idea of what it means to 
finalize a partition? I think the main problem with this is that the name of 
the method gives the impression that this is somehow well defined, when in fact 
the definition is left completely up to the application.

It sounds like what you actually want is a mechanism that allows the metastore 
client to send application specific events to metastore listeners. Is this 
accurate?



> Metastore listener
> ------------------
>
>                 Key: HIVE-2038
>                 URL: https://issues.apache.org/jira/browse/HIVE-2038
>             Project: Hive
>          Issue Type: Improvement
>          Components: Metastore
>            Reporter: Ashutosh Chauhan
>            Assignee: Ashutosh Chauhan
>             Fix For: 0.8.0
>
>         Attachments: hive-2038.patch, metastore_listener.patch, 
> metastore_listener.patch, metastore_listener.patch
>
>
> Provide to way to observe changes happening on Metastore

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

Reply via email to