Description
commitJob() method renames each file in TMP_LOCATION separately. so someone may read FINAL_LOCATION and see only some of the files that should be there.
Use FileSystem.getFileStatus(TMP_LOCATION) and just rename the dir.
commitJob() method renames each file in TMP_LOCATION separately. so someone may read FINAL_LOCATION and see only some of the files that should be there.
Use FileSystem.getFileStatus(TMP_LOCATION) and just rename the dir.