You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Vadim Spector (JIRA)" <ji...@apache.org> on 2016/12/13 21:19:59 UTC
[jira] [Commented] (SENTRY-1564) Improve error detection and
reporting in MetastoreCacheInitializer.java
[ https://issues.apache.org/jira/browse/SENTRY-1564?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15746305#comment-15746305 ]
Vadim Spector commented on SENTRY-1564:
---------------------------------------
Code review board: https://reviews.apache.org/r/54715/
> 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)