Vadim Spector created SENTRY-1564:
-------------------------------------
Summary: Improve error detection and reporting in
MetastoreCacheInitializer.java
Key: SENTRY-1564
URL: https://issues.apache.org/jira/browse/SENTRY-1564
Project: Sentry
Issue Type: Improvement
Reporter: Vadim Spector
Turns out malformed HMS database is pretty common phenomenon and
MetastoreCacheInitializer.java is not really helpful in figuring out what's
wrong. The result is failure in initializing MetastorePlugin.
Adding simple stuff, like testing for returned null objects as opposed to
waiting till dereferencing them produces NullPointerException would go a long
way in making life easier.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)