[ 
https://issues.apache.org/jira/browse/HADOOP-17244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17191674#comment-17191674
 ] 

Steve Loughran commented on HADOOP-17244:
-----------------------------------------

It's actually in the probe for an empty dir; just so happens the exception is 
currently being lost in the test
{code}
      if (dstStatus.isDirectory()) {
        RemoteIterator<FileStatus> list = listStatusIterator(dst);
        if (list != null && list.hasNext()) {
          throw new IOException(
              "Rename cannot overwrite non empty destination directory " + dst);
        }
      }
{code}
This could expand the root cause to the listing changes, though as it is still 
going through the getFileStatus changes, I'm not yet pointing blame there

> ITestS3AFileContextMainOperations#testRenameDirectoryAsNonExistentDirectory 
> test failure on -Dauth
> --------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-17244
>                 URL: https://issues.apache.org/jira/browse/HADOOP-17244
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/s3
>    Affects Versions: 3.3.1
>            Reporter: Steve Loughran
>            Assignee: Steve Loughran
>            Priority: Blocker
>
> Test failure: 
> {{ITestS3AFileContextMainOperations#testRenameDirectoryAsNonExistentDirectory}}
> This is repeatable on -Dauth runs (we haven't been running them, have we?)
> Either its from the recent dir marker changes (initial hypothesis) or its 
> been lurking a while and not been picked up.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to