Steve Loughran created HDFS-12101: ------------------------------------- Summary: DFSClient.rename() to unwrap ParentNotDirectoryException; define policy for renames under a file Key: HDFS-12101 URL: https://issues.apache.org/jira/browse/HDFS-12101 Project: Hadoop HDFS Issue Type: Improvement Components: fs Affects Versions: 2.8.1 Reporter: Steve Loughran Assignee: Steve Loughran Priority: Minor
HADOOP-14630 adds some contract tests trying to create files or rename files *under other files*. On a rename under an existing file (or dir under an existing file), HDFS fails throwing {{org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.fs.ParentNotDirectoryException)}}. # is throwing an exception here what people agree is the correct behaviour? If so, it can go into the filesystem spec, tests set up to expect it. object stores tweaked for consistency. If not, HDFS needs a change. # At the very least, HDFS should be unwrapping the exception. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org