[ https://issues.apache.org/jira/browse/HADOOP-15370?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16428474#comment-16428474 ]
Steve Loughran commented on HADOOP-15370: ----------------------------------------- Slightly better with the debug trace included {code} 018-04-06 16:35:23,048 [main] DEBUG s3a.S3AFileSystem (S3AFileSystem.java:innerDelete(1760)) - Delete path s3a://hwdev-steve-new/ - recursive true 2018-04-06 16:35:23,048 [main] DEBUG s3a.S3AFileSystem (S3AFileSystem.java:innerDelete(1765)) - delete: Path is a directory: s3a://hwdev-steve-new/ 2018-04-06 16:35:23,048 [main] INFO s3a.S3AFileSystem (S3AFileSystem.java:rejectRootDirectoryDelete(1837)) - s3a delete the hwdev-steve-new root directory of true rm: `s3a://hwdev-steve-new/': Input/output error 2018-04-06 16:35:23,050 [pool-2-thread-1] DEBUG s3a.S3AFileSystem (S3AFileSystem.java:close(2492)) - Filesystem s3a://hwdev-steve-new is closed {code} Proposed: # improve info message. downgrade? # log @ error before throwing the exception > S3A log message on rm s3a://bucket/ not intuitive > ------------------------------------------------- > > Key: HADOOP-15370 > URL: https://issues.apache.org/jira/browse/HADOOP-15370 > Project: Hadoop Common > Issue Type: Sub-task > Components: fs/s3 > Affects Versions: 3.1.0 > Reporter: Steve Loughran > Priority: Trivial > > when you try to delete the root of a bucket from command line, e.g. {{hadoop > fs -rm -r -skipTrash s3a://hwdev-steve-new/}}, the output isn't that useful > {code} > 2018-04-06 16:35:23,048 [main] INFO s3a.S3AFileSystem > (S3AFileSystem.java:rejectRootDirectoryDelete(1837)) - s3a delete the > hwdev-steve-new root directory of true > rm: `s3a://hwdev-steve-new/': Input/output error > 2018-04-06 16:35:23,050 [pool-2-thread-1] DEBUG s3a.S3AFileSystem > {code} > the single log message doesn't parse, and the error message raised is lost by > the FS -rm CLI command (why?) -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: common-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-issues-h...@hadoop.apache.org