You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "Alan Gates (JIRA)" <ji...@apache.org> on 2013/08/24 00:37:51 UTC

[jira] [Commented] (FALCON-96) Hive client to talk to the metastore

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

Alan Gates commented on FALCON-96:
----------------------------------

When you say RPC using thrift are you thinking of talking to HiveServer2 or directly to the thrift metastore server?  You don't want to talk directly to thrift metastore.  Hive tends to view this as an internal interface and guarantees of stability are not strong.

You could do things via HS2 but you'll get back strings rather than the JSON you'd get back via WebHCat.  Parsing those strings will be painful.
                
> Hive client to talk to the metastore
> ------------------------------------
>
>                 Key: FALCON-96
>                 URL: https://issues.apache.org/jira/browse/FALCON-96
>             Project: Falcon
>          Issue Type: Sub-task
>    Affects Versions: 0.3
>            Reporter: Venkatesh Seetharam
>
> There are 2 choices: RPC using thrift and HTTP using webhcat. HTTP of course is preferable but there are a few issues with it:
> * Uses cli to talk to the server implying needing Hcat install and client. This is a PITA for integration-tests.
> * Also, there is no java wrapper around the RESTful APIs which returns Map and such. Need to roll our own. 
> * Runs as a separate daemon (which should eventually fold into metastore or HiveServer2). However this is short-term and a minor annoyance.
> Thoughts?

--
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