I an currently encountering this error when running a query against a table with many (~10k) partitions. (The partitions are about 70m each, which is small, but this is just a subset of the data.) Selecting from a small set of partitions works fine. I thought it might be related to hive.metastore.batch.retrieve.max and hive.metastore.batch.retrieve.table.partition.max set I temporarily set them both to 50 with no change in behavior. I don’t think upping hive.metastore.client.socket.timeout is a long-term solution.
I looked for hive logs on the metastore master in /var/log/hive/, but they contain only startup messages. I also looked in /var/log/hadoop/hive which is mentioned in the java command, but that is empty.
Any thoughts on a solution, or places to get more information about what is happening?
Red Hat Enterprise Linux Server release 6.4 (Santiago)
hive> select * from view_airing_overlay;
FAILED: SemanticException org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out
hive> show partitions view_airing_overlay;
Time taken: 2.63 seconds, Fetched: 10854 row(s)