Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive, mail # user - Find table location


+
Peter Marron 2013-06-27, 08:49
Copy link to this message
-
Re: Find table location
Nitin Pawar 2013-06-27, 08:56
from Alex's blog
http://mapredit.blogspot.in/2013/05/get-all-extended-hive-tables-with.html
if you want to do it programatically then you will need to look at
HiveMetaStoreClient

If both of these are not what you are looking for then sorry I will need a
little more details on your question

On Thu, Jun 27, 2013 at 2:19 PM, Peter Marron <
[EMAIL PROTECTED]> wrote:

>  Hi,****
>
> ** **
>
> Hopefully a simple question.****
>
> Given that I have a table name (as a String) is there an API call that I
> can****
>
> use to obtain the location of the table? Assume that my code is executing*
> ***
>
> in a custom InputFormat to define the context.  (I’m running “inside” a
> Hive****
>
> query so I assume that there’s a way which doesn’t involve calling an
> external****
>
> HCatalog server or anything like that.)****
>
> ** **
>
> Z****
>

--
Nitin Pawar
+
Peter Marron 2013-06-27, 10:03