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

Hive QA commented on HIVE-22597:
--------------------------------



Here are the results of testing the latest attachment:
https://issues.apache.org/jira/secure/attachment/12987832/HIVE-22597.1.patch

{color:red}ERROR:{color} -1 due to no test(s) being added or modified.

{color:red}ERROR:{color} -1 due to 2 failed/errored test(s), 17762 tests 
executed
*Failed tests:*
{noformat}
org.apache.hadoop.hive.cli.TestNegativeCliDriver.testCliDriver[alter_table_wrong_db]
 (batchId=103)
org.apache.hadoop.hive.ql.TestMTQueries.testMTQueries1 (batchId=276)
{noformat}

Test results: 
https://builds.apache.org/job/PreCommit-HIVE-Build/19817/testReport
Console output: https://builds.apache.org/job/PreCommit-HIVE-Build/19817/console
Test logs: http://104.198.109.242/logs/PreCommit-HIVE-Build-19817/

Messages:
{noformat}
Executing org.apache.hive.ptest.execution.TestCheckPhase
Executing org.apache.hive.ptest.execution.PrepPhase
Executing org.apache.hive.ptest.execution.YetusPhase
Executing org.apache.hive.ptest.execution.ExecutionPhase
Executing org.apache.hive.ptest.execution.ReportingPhase
Tests exited with: TestsFailedException: 2 tests failed
{noformat}

This message is automatically generated.

ATTACHMENT ID: 12987832 - PreCommit-HIVE-Build

> Include More Context in Database NoSuchObjectException
> ------------------------------------------------------
>
>                 Key: HIVE-22597
>                 URL: https://issues.apache.org/jira/browse/HIVE-22597
>             Project: Hive
>          Issue Type: Improvement
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Minor
>         Attachments: HIVE-22597.1.patch
>
>
> {code:none}
> org.apache.hadoop.hive.metastore.api.NoSuchObjectException: default
>       at 
> org.apache.hadoop.hive.metastore.ObjectStore.getDatabase(ObjectStore.java:717)
>  ~[hive-standalone-metastore-server-4.0.0-SNAPSHOT.jar:4.0.0-SNAPSHOT]
>       at sun.reflect.GeneratedMethodAccessor260.invoke(Unknown Source) ~[?:?]
>       at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>  ~[?:1.8.0_102]
>       at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_102]
>       at 
> org.apache.hadoop.hive.metastore.RawStoreProxy.invoke(RawStoreProxy.java:97) 
> ~[hive-standalone-metastore-server-4.0.0-SN
> {code}
> One can decipher that this exception is in regards to a database by looking 
> at the stack trace, but it should be specified in the error message itself.  
> Also, there is no catalogue information provided, so it could be a bit 
> ambiguous.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to