Return-Path: X-Original-To: apmail-hive-dev-archive@www.apache.org Delivered-To: apmail-hive-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 925DEF1DE for ; Tue, 9 Apr 2013 23:52:16 +0000 (UTC) Received: (qmail 63132 invoked by uid 500); 9 Apr 2013 23:52:16 -0000 Delivered-To: apmail-hive-dev-archive@hive.apache.org Received: (qmail 63085 invoked by uid 500); 9 Apr 2013 23:52:16 -0000 Mailing-List: contact dev-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list dev@hive.apache.org Received: (qmail 63075 invoked by uid 500); 9 Apr 2013 23:52:16 -0000 Delivered-To: apmail-hadoop-hive-dev@hadoop.apache.org Received: (qmail 63070 invoked by uid 99); 9 Apr 2013 23:52:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 09 Apr 2013 23:52:16 +0000 Date: Tue, 9 Apr 2013 23:52:15 +0000 (UTC) From: "Thiruvel Thirumoolan (JIRA)" To: hive-dev@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-3620) Drop table using hive CLI throws error when the total number of partition in the table is around 50K. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-3620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13627283#comment-13627283 ] Thiruvel Thirumoolan commented on HIVE-3620: -------------------------------------------- I have had this problem in the past (in my case 0.2 million partitions, was stress testing dynamic partitions). Metastore crashes badly, may be mine was a remote situation. The workaround I did was to drop one hierarchy of partition. In my case, there were many partition keys and I used to drop the topmost one instead of dropping the table. May be its worthwhile to visit HIVE-3214 and see if there is anything we could do at datanucleus end. > Drop table using hive CLI throws error when the total number of partition in the table is around 50K. > ----------------------------------------------------------------------------------------------------- > > Key: HIVE-3620 > URL: https://issues.apache.org/jira/browse/HIVE-3620 > Project: Hive > Issue Type: Bug > Reporter: Arup Malakar > > hive> drop table load_test_table_20000_0; > FAILED: Error in metadata: org.apache.thrift.transport.TTransportException: java.net.SocketTimeoutException: Read timedout > FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask > The DB used is Oracle and hive had only one table: > select COUNT(*) from PARTITIONS; > 54839 > I can try and play around with the parameter hive.metastore.client.socket.timeout if that is what is being used. But it is 200 seconds as of now, and 200 seconds for a drop table calls seems high already. > Thanks, > Arup -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira