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 7007E200D37 for ; Wed, 25 Oct 2017 14:34:10 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 6E4681609E5; Wed, 25 Oct 2017 12:34:10 +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 904D4160BDA for ; Wed, 25 Oct 2017 14:34:09 +0200 (CEST) Received: (qmail 73205 invoked by uid 500); 25 Oct 2017 12:34:03 -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 72988 invoked by uid 99); 25 Oct 2017 12:34:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Oct 2017 12:34:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id C8BB9C2A98 for ; Wed, 25 Oct 2017 12:34:02 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id 6_7UloDEkjkk for ; Wed, 25 Oct 2017 12:34:02 +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 9F5505FB9F for ; Wed, 25 Oct 2017 12:34:01 +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 EDBDFE0E56 for ; Wed, 25 Oct 2017 12:34:00 +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 4F92E212FC for ; Wed, 25 Oct 2017 12:34:00 +0000 (UTC) Date: Wed, 25 Oct 2017 12:34:00 +0000 (UTC) From: "Sankar Hariappan (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-17887) Incremental REPL LOAD with Drop partition event on timestamp type partition column fails. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 25 Oct 2017 12:34:10 -0000 [ https://issues.apache.org/jira/browse/HIVE-17887?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sankar Hariappan updated HIVE-17887: ------------------------------------ Status: Open (was: Patch Available) > Incremental REPL LOAD with Drop partition event on timestamp type partition column fails. > ----------------------------------------------------------------------------------------- > > Key: HIVE-17887 > URL: https://issues.apache.org/jira/browse/HIVE-17887 > Project: Hive > Issue Type: Sub-task > Components: HiveServer2, repl > Affects Versions: 3.0.0 > Reporter: Santhosh B Gowda > Assignee: Sankar Hariappan > Labels: DR, pull-request-available, replication > Fix For: 3.0.0 > > > When try to replicate the drop partition event on a table with partition on timestamp type column fails in REPL LOAD. > *Scenario:* > 1. create table with partition on timestamp column. > 2.bootstrap dump/load. > 3. insert a record to create partition(p="2001-11-09 00:00:00.0"). > 4. drop the same partition(p="2001-11-09 00:00:00.0"). > 5. incremental dump/load > -- REPL LOAD throws below exception > {quote}2017-10-23 12:26:14,050 ERROR [HiveServer2-Background-Pool: Thread-36769]: metastore.RetryingHMSHandler (RetryingHMSHandler.java:invokeInternal(203)) - MetaException(message:Error parsing partition filter; lexer error: line 1:18 no viable alternative at character ':'; exception MismatchedTokenException(12!=23)) > at org.apache.hadoop.hive.metastore.ObjectStore.getFilterParser(ObjectStore.java:2759) > at org.apache.hadoop.hive.metastore.ObjectStore.getPartitionsByFilterInternal(ObjectStore.java:2708) > at org.apache.hadoop.hive.metastore.ObjectStore.getPartitionsByFilter(ObjectStore.java:2517) > at sun.reflect.GeneratedMethodAccessor362.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.hadoop.hive.metastore.RawStoreProxy.invoke(RawStoreProxy.java:103) > at com.sun.proxy.$Proxy18.getPartitionsByFilter(Unknown Source) > at org.apache.hadoop.hive.metastore.HiveMetaStore$HMSHandler.get_partitions_by_filter(HiveMetaStore.java:4957) > at sun.reflect.GeneratedMethodAccessor361.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.hadoop.hive.metastore.RetryingHMSHandler.invokeInternal(RetryingHMSHandler.java:147) > at org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMSHandler.java:105) > at com.sun.proxy.$Proxy21.get_partitions_by_filter(Unknown Source) > at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.listPartitionsByFilter(HiveMetaStoreClient.java:1200) > at sun.reflect.GeneratedMethodAccessor360.invoke(Unknown Source) > at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:498) > at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invoke(RetryingMetaStoreClient.java:178) > at com.sun.proxy.$Proxy22.listPartitionsByFilter(Unknown Source) > at org.apache.hadoop.hive.ql.metadata.Hive.getPartitionsByFilter(Hive.java:2562) > at org.apache.hadoop.hive.ql.exec.DDLTask.dropPartitions(DDLTask.java:4018) > at org.apache.hadoop.hive.ql.exec.DDLTask.dropTableOrPartitions(DDLTask.java:3993) > at org.apache.hadoop.hive.ql.exec.DDLTask.execute(DDLTask.java:343) > at org.apache.hadoop.hive.ql.exec.Task.executeTask(Task.java:162) > at org.apache.hadoop.hive.ql.exec.TaskRunner.runSequential(TaskRunner.java:89) > at org.apache.hadoop.hive.ql.Driver.launchTask(Driver.java:1751) > at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1497) > at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1294) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1161) > at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1156) > at org.apache.hive.service.cli.operation.SQLOperation.runQuery(SQLOperation.java:197) > at org.apache.hive.service.cli.operation.SQLOperation.access$300(SQLOperation.java:76) > at org.apache.hive.service.cli.operation.SQLOperation$2$1.run(SQLOperation.java:255) > {quote} -- This message was sent by Atlassian JIRA (v6.4.14#64029)