From issues-return-141529-archive-asf-public=cust-asf.ponee.io@hive.apache.org Wed Oct 31 21:49:05 2018 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 [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id D494D18065D for ; Wed, 31 Oct 2018 21:49:04 +0100 (CET) Received: (qmail 29146 invoked by uid 500); 31 Oct 2018 20:49:04 -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 29131 invoked by uid 99); 31 Oct 2018 20:49:03 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 31 Oct 2018 20:49:03 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 7F7F61815BD for ; Wed, 31 Oct 2018 20:49:03 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.501 X-Spam-Level: X-Spam-Status: No, score=-109.501 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, KAM_ASCII_DIVIDERS=0.8, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id G27mhEdJA5JI for ; Wed, 31 Oct 2018 20:49: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 4FAA65F3EA for ; Wed, 31 Oct 2018 20:49:02 +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 9CCDBE002F for ; Wed, 31 Oct 2018 20:49:01 +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 D0A532776D for ; Wed, 31 Oct 2018 20:49:00 +0000 (UTC) Date: Wed, 31 Oct 2018 20:49:00 +0000 (UTC) From: "Rajkumar Singh (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HIVE-20848) After setting UpdateInputAccessTimeHook query fail with Table Not Found. 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-20848?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Rajkumar Singh updated HIVE-20848: ---------------------------------- Attachment: HIVE-20848.patch Status: Patch Available (was: In Progress) > After setting UpdateInputAccessTimeHook query fail with Table Not Found. > ------------------------------------------------------------------------ > > Key: HIVE-20848 > URL: https://issues.apache.org/jira/browse/HIVE-20848 > Project: Hive > Issue Type: Bug > Components: Hive > Affects Versions: 3.1.0 > Reporter: Rajkumar Singh > Assignee: Rajkumar Singh > Priority: Major > Attachments: HIVE-20848.patch > > > {code} > select from_unixtime(1540495168); > set hive.exec.pre.hooks=org.apache.hadoop.hive.ql.hooks.ATSHook,org.apache.hadoop.hive.ql.hooks.UpdateInputAccessTimeHook$PreExec; > select from_unixtime(1540495168); > {code} > the second select fail with following exception > {code} > ERROR ql.Driver: FAILED: Hive Internal Error: org.apache.hadoop.hive.ql.metadata.InvalidTableException(Table not found _dummy_table) > org.apache.hadoop.hive.ql.metadata.InvalidTableException: Table not found _dummy_table > at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:1217) > at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:1168) > at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:1155) > at org.apache.hadoop.hive.ql.hooks.UpdateInputAccessTimeHook$PreExec.run(UpdateInputAccessTimeHook.java:67) > at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1444) > 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) > at java.security.AccessController.doPrivileged(Native Method) > at javax.security.auth.Subject.doAs(Subject.java:422) > at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1866) > at org.apache.hive.service.cli.operation.SQLOperation$2.run(SQLOperation.java:266) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) > at java.util.concurrent.FutureTask.run(FutureTask.java:266) > {code} -- This message was sent by Atlassian JIRA (v7.6.3#76005)