Gabor Kaszab has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/13508


Change subject: IMPALA-8612: Fix sporadic NPE when dropping an authorized table
......................................................................

IMPALA-8612: Fix sporadic NPE when dropping an authorized table

In the analyze() function of DropTableOrViewStmt it's possible that
serverName_ is not set when analyzer.getTable() throws. As a result
when the Catalog executes the drop table DDL it runs into a failing
Precondition check and throws a NPE when updating user privileges.
Note, to run into the NPE it's required to have authorization enabled.

Change-Id: I70bd7ca4796b24920ee156436bf8bbc682e7d952
---
M fe/src/main/java/org/apache/impala/analysis/DropTableOrViewStmt.java
1 file changed, 3 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/08/13508/1
--
To view, visit http://gerrit.cloudera.org:8080/13508
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I70bd7ca4796b24920ee156436bf8bbc682e7d952
Gerrit-Change-Number: 13508
Gerrit-PatchSet: 1
Gerrit-Owner: Gabor Kaszab <gaborkas...@cloudera.com>

Reply via email to