From issues-return-177149-archive-asf-public=cust-asf.ponee.io@hive.apache.org Thu Jan 23 12:11:05 2020 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id B24E518025F for ; Thu, 23 Jan 2020 13:11:04 +0100 (CET) Received: (qmail 48567 invoked by uid 500); 23 Jan 2020 12:11:02 -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 48509 invoked by uid 99); 23 Jan 2020 12:11:02 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jan 2020 12:11:02 +0000 Received: from jira-he-de.apache.org (static.172.67.40.188.clients.your-server.de [188.40.67.172]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id 72DCCE3015 for ; Thu, 23 Jan 2020 12:11:01 +0000 (UTC) Received: from jira-he-de.apache.org (localhost.localdomain [127.0.0.1]) by jira-he-de.apache.org (ASF Mail Server at jira-he-de.apache.org) with ESMTP id 3733178065D for ; Thu, 23 Jan 2020 12:11:00 +0000 (UTC) Date: Thu, 23 Jan 2020 12:11:00 +0000 (UTC) From: "Laszlo Pinter (Jira)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (HIVE-22765) Quote table names in CompactionTxnHandler MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HIVE-22765?page=3Dcom.atlassia= n.jira.plugin.system.issuetabpanels:all-tabpanel ] Laszlo Pinter reassigned HIVE-22765: ------------------------------------ > Quote table names in CompactionTxnHandler > ----------------------------------------- > > Key: HIVE-22765 > URL: https://issues.apache.org/jira/browse/HIVE-22765 > Project: Hive > Issue Type: Improvement > Affects Versions: 4.0.0 > Reporter: Laszlo Pinter > Assignee: Zoltan Chovan > Priority: Major > > When I run a metastore backed up by a postgres db, I get the following ex= ception:=C2=A0 > {code:java} > MetaException(message:Unable to connect to transaction database org.postg= resql.util.PSQLException: ERROR: relation "compaction_queue" does not exist= MetaException(message:Unable to connect to transaction database org.postgre= sql.util.PSQLException: ERROR: relation "compaction_queue" does not exist= =C2=A0 Position: 83 at org.postgresql.core.v3.QueryExecutorImpl.receiveErro= rResponse(QueryExecutorImpl.java:2468) at org.postgresql.core.v3.QueryExecu= torImpl.processResults(QueryExecutorImpl.java:2211) at org.postgresql.core.= v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:309) at org.postgresql.= jdbc.PgStatement.executeInternal(PgStatement.java:446) at org.postgresql.jd= bc.PgStatement.execute(PgStatement.java:370) at org.postgresql.jdbc.PgState= ment.executeWithFlags(PgStatement.java:311) at org.postgresql.jdbc.PgStatem= ent.executeCachedSql(PgStatement.java:297) at org.postgresql.jdbc.PgStateme= nt.executeWithFlags(PgStatement.java:274) at org.postgresql.jdbc.PgStatemen= t.executeQuery(PgStatement.java:225) at org.apache.hive.com.zaxxer.hikari.p= ool.ProxyStatement.executeQuery(ProxyStatement.java:108) at org.apache.hive= .com.zaxxer.hikari.pool.HikariProxyStatement.executeQuery(HikariProxyStatem= ent.java) at org.apache.hadoop.hive.metastore.txn.CompactionTxnHandler.find= NextToCompact(CompactionTxnHandler.java:157) at org.apache.hadoop.hive.meta= store.HiveMetaStore$HMSHandler.find_next_compact(HiveMetaStore.java:8061) a= t sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) at sun.reflec= t.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)= at java.lang.reflect.Method.invoke(Method.java:498) at org.apache.hadoop.h= ive.metastore.RetryingHMSHandler.invokeInternal(RetryingHMSHandler.java:147= ) at org.apache.hadoop.hive.metastore.RetryingHMSHandler.invoke(RetryingHMS= Handler.java:108) at com.sun.proxy.$Proxy28.find_next_compact(Unknown Sourc= e) at org.apache.hadoop.hive.metastore.HiveMetaStoreClient.findNextCompact(= HiveMetaStoreClient.java:4046) at sun.reflect.GeneratedMethodAccessor8.invo= ke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Deleg= atingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.= java:498) at org.apache.hadoop.hive.metastore.RetryingMetaStoreClient.invok= e(RetryingMetaStoreClient.java:208) at com.sun.proxy.$Proxy29.findNextCompa= ct(Unknown Source) at org.apache.hadoop.hive.ql.txn.compactor.Worker.run(Wo= rker.java:102){code} > This is due to missing quotes around table names.=C2=A0 -- This message was sent by Atlassian Jira (v8.3.4#803005)