Files
impala/fe
Bikramjeet Vig 144cc68cc1 IMPALA-3606: Fix Java NPE when trying to add an existing partition
A NPE is also encountered when trying to drop a partition which does
not exist.

Currently, catalogd sends a response to impalad that contains a dummy
TCatalogObject of type "TABLE" but contains nulls for all other fields.
This causes a null pointer exception when impalad tries to access those
null fields. The exception never gets exposed to the user as it was
caught and ignored. In this case, the fix is that catalogd responds with
an empty TCatalogUpdateResult that contains no dummy TCatalogObject objects.

No testing was added since the NPE never gets exposed to the user.

Change-Id: Ic829e8580c14ed88adf7a0d1571381526b18a206
Reviewed-on: http://gerrit.cloudera.org:8080/3324
Reviewed-by: Dimitris Tsirogiannis <dtsirogiannis@cloudera.com>
Tested-by: Internal Jenkins
2016-07-14 19:04:45 +00:00
..