[ 
https://issues.apache.org/jira/browse/HIVE-18060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16388921#comment-16388921
 ] 

Hive QA commented on HIVE-18060:
--------------------------------

| (x) *{color:red}-1 overall{color}* |
\\
\\
|| Vote || Subsystem || Runtime || Comment ||
|| || || || {color:brown} Prechecks {color} ||
| {color:blue}0{color} | {color:blue} findbugs {color} | {color:blue}  0m  
1s{color} | {color:blue} Findbugs executables are not available. {color} |
| {color:green}+1{color} | {color:green} @author {color} | {color:green}  0m  
0s{color} | {color:green} The patch does not contain any @author tags. {color} |
|| || || || {color:brown} master Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m 
35s{color} | {color:blue} Maven dependency ordering for branch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  6m 
29s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  0m 
56s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
36s{color} | {color:green} master passed {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 
52s{color} | {color:green} master passed {color} |
|| || || || {color:brown} Patch Compile Tests {color} ||
| {color:blue}0{color} | {color:blue} mvndep {color} | {color:blue}  0m  
8s{color} | {color:blue} Maven dependency ordering for patch {color} |
| {color:green}+1{color} | {color:green} mvninstall {color} | {color:green}  1m 
18s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} compile {color} | {color:green}  1m  
2s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} javac {color} | {color:green}  1m  
2s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} checkstyle {color} | {color:green}  0m 
34s{color} | {color:green} the patch passed {color} |
| {color:green}+1{color} | {color:green} whitespace {color} | {color:green}  0m 
 0s{color} | {color:green} The patch has no whitespace issues. {color} |
| {color:green}+1{color} | {color:green} javadoc {color} | {color:green}  0m 
53s{color} | {color:green} the patch passed {color} |
|| || || || {color:brown} Other Tests {color} ||
| {color:red}-1{color} | {color:red} asflicense {color} | {color:red}  0m 
13s{color} | {color:red} The patch generated 49 ASF License warnings. {color} |
| {color:black}{color} | {color:black} {color} | {color:black} 13m 53s{color} | 
{color:black} {color} |
\\
\\
|| Subsystem || Report/Notes ||
| Optional Tests |  asflicense  javac  javadoc  findbugs  checkstyle  compile  |
| uname | Linux hiveptest-server-upstream 3.16.0-4-amd64 #1 SMP Debian 
3.16.36-1+deb8u1 (2016-09-03) x86_64 GNU/Linux |
| Build tool | maven |
| Personality | 
/data/hiveptest/working/yetus_PreCommit-HIVE-Build-9520/dev-support/hive-personality.sh
 |
| git revision | master / abede8e |
| Default Java | 1.8.0_111 |
| asflicense | 
http://104.198.109.242/logs//PreCommit-HIVE-Build-9520/yetus/patch-asflicense-problems.txt
 |
| modules | C: itests ql U: . |
| Console output | 
http://104.198.109.242/logs//PreCommit-HIVE-Build-9520/yetus.txt |
| Powered by | Apache Yetus    http://yetus.apache.org |


This message was automatically generated.



> UpdateInputAccessTimeHook fails for non-current database
> --------------------------------------------------------
>
>                 Key: HIVE-18060
>                 URL: https://issues.apache.org/jira/browse/HIVE-18060
>             Project: Hive
>          Issue Type: Bug
>            Reporter: Oleksiy Sayankin
>            Assignee: Oleksiy Sayankin
>            Priority: Major
>             Fix For: 3.0.0
>
>         Attachments: HIVE-18060.1.patch, HIVE-18060.2.patch
>
>
> Steps to reproduce:
> *STEP 1. Create DBs and tables*
> {code}
> hive> create database temp;
> hive> use temp;
> hive> create table test(id int);
> hive> create database temp2;
> hive> use temp2;
> hive> create table test2(id int);
> {code}
> *STEP 2. Set {{hive.exec.pre.hooks}}*
> {code}
> hive> set 
> hive.exec.pre.hooks=org.apache.hadoop.hive.ql.hooks.UpdateInputAccessTimeHook$PreExec;
> {code}
> *STEP 3. Use {{desc}}*
> {code}
> hive> use temp;
> hive> desc temp2.test2;
> {code}
> *EXPECTED RESULT*
> Code works fine and shows table info
> *ACTUAL RESULT*
> {code}
> FAILED: Hive Internal Error: 
> org.apache.hadoop.hive.ql.metadata.InvalidTableException(Table not found 
> test2)
> org.apache.hadoop.hive.ql.metadata.InvalidTableException: Table not found 
> test2
>       at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:1258)
>       at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:1209)
>       at org.apache.hadoop.hive.ql.metadata.Hive.getTable(Hive.java:1196)
>       at 
> org.apache.hadoop.hive.ql.hooks.UpdateInputAccessTimeHook$PreExec.run(UpdateInputAccessTimeHook.java:61)
>       at org.apache.hadoop.hive.ql.Driver.execute(Driver.java:1688)
>       at org.apache.hadoop.hive.ql.Driver.runInternal(Driver.java:1454)
>       at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1172)
>       at org.apache.hadoop.hive.ql.Driver.run(Driver.java:1162)
>       at 
> org.apache.hadoop.hive.cli.CliDriver.processLocalCmd(CliDriver.java:234)
>       at org.apache.hadoop.hive.cli.CliDriver.processCmd(CliDriver.java:185)
>       at org.apache.hadoop.hive.cli.CliDriver.processLine(CliDriver.java:401)
>       at 
> org.apache.hadoop.hive.cli.CliDriver.executeDriver(CliDriver.java:791)
>       at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:729)
>       at org.apache.hadoop.hive.cli.CliDriver.run(CliDriver.java:652)
>       at org.apache.hadoop.hive.cli.CliDriver.main(CliDriver.java:647)
>       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>       at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>       at java.lang.reflect.Method.invoke(Method.java:498)
>       at org.apache.hadoop.util.RunJar.run(RunJar.java:221)
>       at org.apache.hadoop.util.RunJar.main(RunJar.java:136)
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to