Vince.Feng created HDFS-15341: --------------------------------- Summary: HDFS Move viewfs path to trash failed. Key: HDFS-15341 URL: https://issues.apache.org/jira/browse/HDFS-15341 Project: Hadoop HDFS Issue Type: Bug Components: hdfs-client Affects Versions: 2.10.0, 3.3.1 Reporter: Vince.Feng
When HDFS client with viewfs want to move file/directory to trash by RemoteUser or ProxyUser , it will fail. Codes like below: {code:java} // code placeholder {code} Trash.moveToAppropriateTrash(fileSystem, path, conf); 'fullyResolvedFs' will return a FileSystem with account of 'HADOOP_USER_NAME‘. But the source fileSystem take the account of Specified account. So the moving to trash operation will fail. Because of trashRoot mismatch the real baseTrashPath. -- This message was sent by Atlassian Jira (v8.3.4#803005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org