pankaj72981 commented on code in PR #6461: URL: https://github.com/apache/hbase/pull/6461#discussion_r1851455175
########## hbase-mapreduce/src/main/java/org/apache/hadoop/hbase/snapshot/ExportSnapshot.java: ########## @@ -659,6 +661,7 @@ private static List<Pair<SnapshotFileInfo, Long>> getSnapshotFiles(final Configu // Get snapshot files LOG.info("Loading Snapshot '" + snapshotDesc.getName() + "' hfile list"); + Set<String> existingFiles = new TreeSet<>(); Review Comment: nit: - Can use HashSet instead. - existingFiles -> addedFiles -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: issues-unsubscr...@hbase.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org