[
https://issues.apache.org/jira/browse/SENTRY-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vadim Spector reassigned SENTRY-1564:
-------------------------------------
Assignee: Vadim Spector
> 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
> Assignee: Vadim Spector
> Attachments: SENTRY-1564.001.patch
>
>
> 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)