Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 641D2200C2F for ; Mon, 6 Mar 2017 12:28:38 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 5D9A7160B76; Mon, 6 Mar 2017 11:28:38 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id A6996160B73 for ; Mon, 6 Mar 2017 12:28:37 +0100 (CET) Received: (qmail 80208 invoked by uid 500); 6 Mar 2017 11:28:36 -0000 Mailing-List: contact issues-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 issues@hive.apache.org Received: (qmail 80199 invoked by uid 99); 6 Mar 2017 11:28:36 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Mar 2017 11:28:36 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 4E7851AA2C9 for ; Mon, 6 Mar 2017 11:28:36 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.346 X-Spam-Level: X-Spam-Status: No, score=-0.346 tagged_above=-999 required=6.31 tests=[KAM_BADIPHTTP=2, NORMAL_HTTP_TO_IP=0.001, RP_MATCHES_RCVD=-2.999, SPF_NEUTRAL=0.652] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id y8PGmYdTx5V8 for ; Mon, 6 Mar 2017 11:28:35 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id D06735FC75 for ; Mon, 6 Mar 2017 11:28:34 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 2AEAFE05BB for ; Mon, 6 Mar 2017 11:28:33 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id DA9CF2416E for ; Mon, 6 Mar 2017 11:28:32 +0000 (UTC) Date: Mon, 6 Mar 2017 11:28:32 +0000 (UTC) From: "Hive QA (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-15956) StackOverflowError when drop lots of partitions MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 06 Mar 2017 11:28:38 -0000 [ https://issues.apache.org/jira/browse/HIVE-15956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15897130#comment-15897130 ] Hive QA commented on HIVE-15956: -------------------------------- Here are the results of testing the latest attachment: https://issues.apache.org/jira/secure/attachment/12856246/HIVE-15956.patch {color:red}ERROR:{color} -1 due to no test(s) being added or modified. {color:red}ERROR:{color} -1 due to 5 failed/errored test(s), 10327 tests executed *Failed tests:* {noformat} org.apache.hadoop.hive.cli.TestBeeLineDriver.testCliDriver[escape_comments] (batchId=229) org.apache.hadoop.hive.cli.TestMiniLlapLocalCliDriver.testCliDriver[schema_evol_text_vec_table] (batchId=147) org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query14] (batchId=224) org.apache.hadoop.hive.cli.TestPerfCliDriver.testCliDriver[query23] (batchId=224) org.apache.hadoop.hive.cli.TestSparkCliDriver.testCliDriver[vector_between_in] (batchId=119) {noformat} Test results: https://builds.apache.org/job/PreCommit-HIVE-Build/3959/testReport Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/3959/console Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-3959/ Messages: {noformat} Executing org.apache.hive.ptest.execution.TestCheckPhase Executing org.apache.hive.ptest.execution.PrepPhase Executing org.apache.hive.ptest.execution.ExecutionPhase Executing org.apache.hive.ptest.execution.ReportingPhase Tests exited with: TestsFailedException: 5 tests failed {noformat} This message is automatically generated. ATTACHMENT ID: 12856246 - PreCommit-HIVE-Build > StackOverflowError when drop lots of partitions > ----------------------------------------------- > > Key: HIVE-15956 > URL: https://issues.apache.org/jira/browse/HIVE-15956 > Project: Hive > Issue Type: Bug > Components: Metastore > Affects Versions: 1.3.0, 2.2.0 > Reporter: Niklaus Xiao > Assignee: Niklaus Xiao > Attachments: HIVE-15956.patch > > > Repro steps: > 1. Create partitioned table and add 10000 partitions > {code} > create table test_partition(id int) partitioned by (dt int); > alter table test_partition add partition(dt=1); > alter table test_partition add partition(dt=3); > alter table test_partition add partition(dt=4); > ... > alter table test_partition add partition(dt=10000); > {code} > 2. Drop 9000 partitions: > {code} > alter table test_partition drop partition(dt<9000); > {code} > Step 2 will fail with StackOverflowError: > {code} > Exception in thread "pool-7-thread-161" java.lang.StackOverflowError > at org.datanucleus.query.expression.ExpressionCompiler.isOperator(ExpressionCompiler.java:819) > at org.datanucleus.query.expression.ExpressionCompiler.compileOrAndExpression(ExpressionCompiler.java:190) > at org.datanucleus.query.expression.ExpressionCompiler.compileExpression(ExpressionCompiler.java:179) > at org.datanucleus.query.expression.ExpressionCompiler.compileOrAndExpression(ExpressionCompiler.java:192) > at org.datanucleus.query.expression.ExpressionCompiler.compileExpression(ExpressionCompiler.java:179) > at org.datanucleus.query.expression.ExpressionCompiler.compileOrAndExpression(ExpressionCompiler.java:192) > at org.datanucleus.query.expression.ExpressionCompiler.compileExpression(ExpressionCompiler.java:179) > {code} > {code} > Exception in thread "pool-7-thread-198" java.lang.StackOverflowError > at org.datanucleus.query.expression.DyadicExpression.bind(DyadicExpression.java:83) > at org.datanucleus.query.expression.DyadicExpression.bind(DyadicExpression.java:87) > at org.datanucleus.query.expression.DyadicExpression.bind(DyadicExpression.java:87) > at org.datanucleus.query.expression.DyadicExpression.bind(DyadicExpression.java:87) > at org.datanucleus.query.expression.DyadicExpression.bind(DyadicExpression.java:87) > at org.datanucleus.query.expression.DyadicExpression.bind(DyadicExpression.java:87) > at org.datanucleus.query.expression.DyadicExpression.bind(DyadicExpression.java:87) > at org.datanucleus.query.expression.DyadicExpression.bind(DyadicExpression.java:87) > at org.datanucleus.query.expression.DyadicExpression.bind(DyadicExpression.java:87) > at org.datanucleus.query.expression.DyadicExpression.bind(DyadicExpression.java:87) > {code} -- This message was sent by Atlassian JIRA (v6.3.15#6346)