hive-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ashu Pachauri <>
Subject Re: GetTables is very slow when the table number is large
Date Fri, 11 Jul 2014 00:26:00 GMT
There is a max limit size for the number of tables (maxRows) but it does
not help because the call internally fetches all the table objects and then
truncates the result set based on the maxRows argument. So, it is dependent
only on the total number of tables your database has.

I have also been experiencing this issue. It is very very slow, basically
it is unusable.

On Sun, Jul 6, 2014 at 9:42 PM, 葱子 <> wrote:

> Hi All
>     Recently I try to use Olap4j driver to connect a Hive warehouse. The
> Olap4j will try to get all tables when establish the connection( there are
> 2000-3000 tables in this DW) it will get the connect hang and never return.
>     I am wonder if there max limited size of tables for a GetTables API,
> if not, how to fast up the API?  Thanks in advance.
> -Lucas

Thanks and Regards,
Ashu Pachauri
Rocket Scientist,
Rocket Fuel Inc.
1- 650 - 200- 5390

View raw message