[
https://issues.apache.org/jira/browse/SENTRY-1986?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sergio Peña reassigned SENTRY-1986:
-----------------------------------
Assignee: Sergio Peña
> Fix NPE on createGrantTask from SentryHiveAuthorizationTaskFactoryImpl.java
> ---------------------------------------------------------------------------
>
> Key: SENTRY-1986
> URL: https://issues.apache.org/jira/browse/SENTRY-1986
> Project: Sentry
> Issue Type: Bug
> Components: Sentry
> Affects Versions: 2.0.0
> Reporter: Sergio Peña
> Assignee: Sergio Peña
> Attachments: SENTRY-1986.1.patch
>
>
> A NPE can happen on the following code from
> SentryHiveAuthorizationTaskFactoryImpl.java:
> {noformat}
> if (privilegeObj.getPartSpec() != null) {
> throw new
> SemanticException(SentryHiveConstants.PARTITION_PRIVS_NOT_SUPPORTED);
> }
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)