David Mollitor created HIVE-22597:
-------------------------------------

             Summary: 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
         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