Jim Apple has submitted this change and it was merged.

Change subject: IMPALA-4788: Use HashSet in RECOVER PARTITIONS duplicate checks
......................................................................


IMPALA-4788: Use HashSet in RECOVER PARTITIONS duplicate checks

RECOVER PARTITIONS needs to avoid recovering partitions that are
already in HMS. Before this patch, that check is done by makeing a
list of the existing partitions and searching in that list for each
path found in the search for partitions eligible for recovery. This
patch changes the container to a HashSet for performance reasons.

Change-Id: I4b9b6f8eb85f854e8c0896c18a231cebe32b4678
Reviewed-on: http://gerrit.cloudera.org:8080/5745
Reviewed-by: Alex Behm <[email protected]>
Reviewed-by: Marcel Kornacker <[email protected]>
Tested-by: Jim Apple <[email protected]>
---
M fe/src/main/java/org/apache/impala/catalog/HdfsTable.java
1 file changed, 3 insertions(+), 3 deletions(-)

Approvals:
  Marcel Kornacker: Looks good to me, approved
  Jim Apple: Verified
  Alex Behm: Looks good to me, but someone else must approve



-- 
To view, visit http://gerrit.cloudera.org:8080/5745
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I4b9b6f8eb85f854e8c0896c18a231cebe32b4678
Gerrit-PatchSet: 2
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Jim Apple <[email protected]>
Gerrit-Reviewer: Alex Behm <[email protected]>
Gerrit-Reviewer: Jim Apple <[email protected]>
Gerrit-Reviewer: Marcel Kornacker <[email protected]>

Reply via email to