Created on 02-26-2014 06:47 AM - edited 09-16-2022 01:54 AM
[hostname:21000] > describe tableX;
Query: describe tableX
ERROR: AnalysisException: Failed to load metadata for table: default.tableX
CAUSED BY: TableLoadingException: TableLoadingException: Failed to load metadata for table: tableX
CAUSED BY: TTransportException: java.net.SocketTimeoutException: Read timed out
CAUSED BY: SocketTimeoutException: Read timed out
When I involve any table with many partitions (like tableX - 6k+ partitions) in any query it always fail with error "Read time out". Other queries run fine. I know that having a lot of partitions is not a good idea, but since doing anything about partition count isn't an option, is there anything I can do for now? I have tried REFRESH tableX, still, can't even execute describe tableX query.
USING IMPALA 1.2.3 + CDH 4.4.0
Created 04-14-2014 08:42 AM
Created 02-27-2014 11:36 AM
Hi,
Can you set
<property>
<name>hive.metastore.client.socket.timeout</name>
<value>3600</value>
</property>
in catalog service's hive-site.xml and restart the catalog service?
Thanks,
Alan
Created on 03-03-2014 12:46 AM - edited 03-03-2014 02:40 AM
If by "catalog service's hive-site.xml" you mean /etc/imapala/hive-site.xml then I just tried it, restarted catalog service and it still gives me the same error message. And that message pops in an instance after pressing "enter" to submit query (describe tableX), like there is no timeout set.
Created 04-14-2014 08:42 AM