Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Won't Fix
-
None
-
None
-
None
-
Reviewed
Description
S3AFileStatus is implemented differently with FileStatus, for instance S3AFileStatus#isEmptyDirectory() is not implemented in FileStatus(). And access_time, block_replication, owner, group and a few other fields are not meaningful in S3AFileStatus.
So in the scope of S3guard, it should use S3AFileStatus in instead of FileStatus in PathMetadaa to avoid casting the types back and forth in S3A.
Attachments
Attachments
Issue Links
- relates to
-
HADOOP-14085 Drop unnecessary type assertion and cast
- Resolved