metamodel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (METAMODEL-182) Directory-based (File/Hdfs)Resource doesn't properly implement getSize() and getLastModified()
Date Fri, 02 Oct 2015 22:06:26 GMT

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

ASF GitHub Bot commented on METAMODEL-182:
------------------------------------------

Github user kaspersorensen commented on the pull request:

    https://github.com/apache/metamodel/pull/53#issuecomment-145167239
  
    Also now with fix for HDFS. Please review.


> Directory-based (File/Hdfs)Resource doesn't properly implement getSize() and getLastModified()
> ----------------------------------------------------------------------------------------------
>
>                 Key: METAMODEL-182
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-182
>             Project: Apache MetaModel
>          Issue Type: Bug
>            Reporter: Kasper Sørensen
>
> We managed to implement nice reading of directory-based resources with FileResource and
HdfsResource, but it seems that we forgot to take a look at some of the additional methods
on the Resource interface.
> Especially if you look at the getSize() and getLastModified() methods, nothing changed
and I am sure this doesn't work as expected when the underlying file/path is a directory instead
of a single file.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message