[ 
https://issues.apache.org/jira/browse/SENTRY-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15746535#comment-15746535
 ] 

Hao Hao commented on SENTRY-1564:
---------------------------------

+1 Thanks [~vspector] for your contribution!

> 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)

Reply via email to