Taras Bobrovytsky has uploaded a new change for review. http://gerrit.cloudera.org:8080/7121
Change subject: IMPALA-5469: Fix exception when processing catalog update ...................................................................... IMPALA-5469: Fix exception when processing catalog update In IMPALA-5355 patch, a regression was introduced where we end up calling addCatalogObject on a CATALOG object type in the second pass over the catalog objects because the CATALOG object is not considered a top level object. The issue is fixed by updating the top level objects in the first pass and updating the non top level objects and the catalog object in the second pass. Testing: - Verified by manually running "invalidate metadata" and checking that there is no exception in the impalad.INFO log file. - No new tests were added because it is difficult and excessive to reproduce the issue in a test. Change-Id: I7b8e7db2c679ea9bffd8863a3367aa3b94e4e1ed --- M fe/src/main/java/org/apache/impala/catalog/ImpaladCatalog.java 1 file changed, 9 insertions(+), 6 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/21/7121/1 -- To view, visit http://gerrit.cloudera.org:8080/7121 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I7b8e7db2c679ea9bffd8863a3367aa3b94e4e1ed Gerrit-PatchSet: 1 Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-Owner: Taras Bobrovytsky <[email protected]>
