Skip to content

Commit

Permalink
unconvert alluxio path when alluxio path is absolute
Browse files Browse the repository at this point in the history
  • Loading branch information
huiboliu2020 committed Jun 14, 2023
1 parent e051877 commit a71b5fb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ public void setAttribute(AlluxioURI path, SetAttributePOptions options)
* @return UfsBaseFileSystem based full path
*/
private AlluxioURI convertAlluxioPathToUFSPath(AlluxioURI alluxioPath) {
if (mDelegatedFileSystem instanceof UfsBaseFileSystem) {
if (!alluxioPath.isAbsolute() && mDelegatedFileSystem instanceof UfsBaseFileSystem) {
UfsBaseFileSystem under = (UfsBaseFileSystem) mDelegatedFileSystem;
AlluxioURI rootUFS = under.getRootUFS();
try {
Expand Down

0 comments on commit a71b5fb

Please sign in to comment.