You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Vince.Feng (Jira)" <ji...@apache.org> on 2020/05/07 12:59:00 UTC
[jira] [Created] (HDFS-15341) HDFS Move viewfs path to trash
failed.
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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org