[
https://issues.apache.org/jira/browse/HADOOP-12837?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15166797#comment-15166797
]
Jagdish Kewat commented on HADOOP-12837:
----------------------------------------
Thanks [~cnauroth] for sharing the details. Yes, it is referring to a
directory. Would it be possible for you to suggest some workaround since there
are no plans to fix it as you mentioned.
> FileStatus.getModificationTime not working on S3
> ------------------------------------------------
>
> Key: HADOOP-12837
> URL: https://issues.apache.org/jira/browse/HADOOP-12837
> Project: Hadoop Common
> Issue Type: Bug
> Components: fs/s3
> Reporter: Jagdish Kewat
>
> Hi Team,
> We have observed an issue with the FileStatus.getModificationTime() API on S3
> filesystem. The method always returns 0.
> I googled for this however couldn't find any solution as such which would fit
> in my scheme of things. S3FileStatus seems to be an option however I would be
> using this API on HDFS as well as S3 both so can't go for it.
> I tried to run the job on:
> * Release label:emr-4.2.0
> * Hadoop distribution:Amazon 2.6.0
> * Hadoop Common jar: hadoop-common-2.6.0.jar
> Please advise if any patch or fix available for this.
> Thanks,
> Jagdish
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)