You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "Gabor Kaszab (Jira)" <ji...@apache.org> on 2019/08/27 13:23:00 UTC
[jira] [Resolved] (IMPALA-8612) NPE when DropTableOrViewStmt
analysis leaves serverName_ NULL
[ https://issues.apache.org/jira/browse/IMPALA-8612?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gabor Kaszab resolved IMPALA-8612.
----------------------------------
Fix Version/s: Impala 3.3.0
Resolution: Fixed
> NPE when DropTableOrViewStmt analysis leaves serverName_ NULL
> -------------------------------------------------------------
>
> Key: IMPALA-8612
> URL: https://issues.apache.org/jira/browse/IMPALA-8612
> Project: IMPALA
> Issue Type: Bug
> Components: Frontend
> Affects Versions: Impala 2.12.0, Impala 3.2.0
> Reporter: Gabor Kaszab
> Assignee: Gabor Kaszab
> Priority: Critical
> Fix For: Impala 3.3.0
>
>
> This line is skipped when analyzer.getTable() throws few lines above:
> https://github.com/apache/impala/blob/cd30949102425e28adadb51232653d910ac8422f/fe/src/main/java/org/apache/impala/analysis/DropTableOrViewStmt.java#L117
> As a result a drop table statement (with permissions ON) can throw NullPointerException here:
> https://github.com/apache/impala/blob/master/fe/src/main/java/org/apache/impala/authorization/sentry/SentryCatalogdAuthorizationManager.java#L381
--
This message was sent by Atlassian Jira
(v8.3.2#803003)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org