Re: hive and hdfs location

2012-01-09 Thread Aniket Mokashi
Created https://issues.apache.org/jira/browse/HIVE-2702 for the same. On Mon, Jan 9, 2012 at 10:33 PM, Aniket Mokashi wrote: > Programmatically, > listPartitionsByFilter on > HiveMetaStoreClient returns list of partitions for a given filter criteria > (which supports only string based partitions

Re: hive and hdfs location

2012-01-09 Thread Aniket Mokashi
Programmatically, listPartitionsByFilter on HiveMetaStoreClient returns list of partitions for a given filter criteria (which supports only string based partitions, we need to open a jira for that). For each of these partitions, you can ptn.getSd().getLocation() to get its location. Or you can use

hive and hdfs location

2012-01-09 Thread Chris Kudelka
Is there an easy/elegant way to query hive for a table's (and a partition's) location in HDFS? I'm aware that you can get the location using "describe extended table_name" but it like to be able to query on just the location key. If not, is there a way to do so using the mysql metastore db? Idea