David Mollitor created HIVE-25126:
-------------------------------------
Summary: Remove Thrift Exceptions From RawStore
Key: HIVE-25126
URL: https://issues.apache.org/jira/browse/HIVE-25126
Project: Hive
Issue Type: Improvement
Reporter: David Mollitor
Remove all references to
NoSuchObjectException/InvalidOperationException/MetaException from the method
signature of RawStore. These Exceptions are generated by Thrift and are used
to communicate error conditions across the wire. They are not designed for use
as part of the underlying stack, yet in Hive, they have been pushed down into
these data access operators.
The RawStore should not have to be this tightly coupled to the transport layer.
Remove all checked Exceptions from RawStore in favor of Hive runtime
exceptions. This is a popular format and is used (and therefore dovetails
nicely) with the underlying database access library DataNucleaus.
All of the logging of un-checked Exceptions, and transforming them into Thrift
exceptions, should happen at the Hive-Thrift bridge ({{HMSHandler}}).
--
This message was sent by Atlassian Jira
(v8.3.4#803005)