Hadoop - timed out when dropping a Hive table

Viewed 1199

I get an error when trying to drop a table in hive:

> drop table my_table;

Error:

FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timed out

I also don't have the related data on the HDFS, what could be the reason for that?

1 Answers

You can try to increase the socket timeout:

set hive.metastore.client.socket.timeout=5000
Related