hive-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rajkumar Singh (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HIVE-20848) After setting UpdateInputAccessTimeHook query fail with Table Not Found.
Date Wed, 31 Oct 2018 20:49:00 GMT

     [ 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)

Mime
View raw message