Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix null in distributed load cmd output
### What changes are proposed in this pull request? fix null in distributedLoad when cmd is not using the batched job. And also put guard when we are not able to find filePath. Before this: ``` enterprise git:(enterprise-2.8.0-2.x) ✗ bin/alluxio fs distributedLoad /1/dict2.pickle Please wait for command submission to finish.. Submitted successfully, jobControlId = 1667603624290 Waiting for the command to finish ... Get command status information below: Successfully loaded path /1/dict2.pickle Total completed file count is 1, failed file count is 1 Finished running the command, jobControlId = 1667603624290 Here are failed files: null, Check out ./logs/user/distributedLoad_1_dict2.pickle_failures.csv for full list of failed files. ``` After this change: ``` ➜ enterprise git:(enterprise-2.8.0-2.x) ✗ bin/alluxio fs distributedLoad /1/dict3.pickle Please wait for command submission to finish.. Submitted successfully, jobControlId = 1667856918305 Waiting for the command to finish ... Get command status information below: Total completed file count is 0, failed file count is 1 Finished running the command, jobControlId = 1667856918305 Here are failed files: /1/dict3.pickle, Check out ./logs/user/distributedLoad_1_dict3.pickle_failures.csv for full list of failed files. ``` ### Why are the changes needed? bug fix ### Does this PR introduce any user facing changes? na pr-link: #16486 change-id: cid-f30ece47cbce6c66e27f96fef98f100c88a70050
- Loading branch information