hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "SammiChen (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-14065) AliyunOSS: oss directory filestatus should use meta time
Date Fri, 24 Nov 2017 08:44:00 GMT

     [ https://issues.apache.org/jira/browse/HADOOP-14065?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

SammiChen updated HADOOP-14065:
-------------------------------
    Fix Version/s: 2.9.1

> AliyunOSS: oss directory filestatus should use meta time
> --------------------------------------------------------
>
>                 Key: HADOOP-14065
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14065
>             Project: Hadoop Common
>          Issue Type: Sub-task
>          Components: fs/oss
>    Affects Versions: 3.0.0-alpha2
>            Reporter: Fei Hui
>            Assignee: Fei Hui
>             Fix For: 3.0.0-alpha4, 2.9.1
>
>         Attachments: HADOOP-14065.001.patch, HADOOP-14065.002.patch, HADOOP-14065.003.patch,
HADOOP-14065.004.patch, HADOOP-14065.patch
>
>
> code in getFileStatus function
> {code:title=AliyunOSSFileSystem.java|borderStyle=solid}
> else if (objectRepresentsDirectory(key, meta.getContentLength())) {
>   return new FileStatus(0, true, 1, 0, 0, qualifiedPath);
> }
> {code}
> When the object is a directory,  we should set right modifiedtime rather than 0 for FileStatus



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org


Mime
View raw message