[
https://issues.apache.org/jira/browse/SENTRY-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Hao Hao updated SENTRY-1564:
----------------------------
Resolution: Fixed
Fix Version/s: 1.8.0
Status: Resolved (was: Patch Available)
> 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
> Fix For: 1.8.0
>
> 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)