Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/23957 )
Change subject: IMPALA-14657: Use thread-safe set for droppedPartitions_ ...................................................................... IMPALA-14657: Use thread-safe set for droppedPartitions_ droppedPartitions_ of HdfsTable keeps the partition instances that are recently dropped but haven't been sent in the catalog updates. The set will be cleared in the catalog update thread after these deletions are collected. However, catalog update thread just acquires read lock on this table. So we need a thread-safe set to avoid breaking other readers like toMinimalTCatalogObject(). This changes droppedPartitions_ to use a thread-safe set. Tests - Ran TestPartitionDeletion::test_local_catalog_no_event_processing 40 times. Change-Id: I12ff7a57c269ee387c1e41048a9e0a6679a586c3 Reviewed-on: http://gerrit.cloudera.org:8080/23957 Reviewed-by: Csaba Ringhofer <[email protected]> Tested-by: Impala Public Jenkins <[email protected]> --- M fe/src/main/java/org/apache/impala/catalog/HdfsTable.java 1 file changed, 5 insertions(+), 1 deletion(-) Approvals: Csaba Ringhofer: Looks good to me, approved Impala Public Jenkins: Verified -- To view, visit http://gerrit.cloudera.org:8080/23957 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: Impala-ASF Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I12ff7a57c269ee387c1e41048a9e0a6679a586c3 Gerrit-Change-Number: 23957 Gerrit-PatchSet: 2 Gerrit-Owner: Quanlong Huang <[email protected]> Gerrit-Reviewer: Csaba Ringhofer <[email protected]> Gerrit-Reviewer: Impala Public Jenkins <[email protected]> Gerrit-Reviewer: Quanlong Huang <[email protected]>
