hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Gupta (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2436) FSNamesystem.setTimes(..) expects the path is a file.
Date Wed, 26 Oct 2011 19:29:32 GMT

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

Arpit Gupta commented on HDFS-2436:
-----------------------------------

Also the delegation token rest api's throw a 500 stating a npe in the code. We should also
see if we can better handle the case where the user tries to get the delegation token when
security is off. 500 is not the ideal response as the user has no idea what they did wrong.
                
> FSNamesystem.setTimes(..) expects the path is a file.
> -----------------------------------------------------
>
>                 Key: HDFS-2436
>                 URL: https://issues.apache.org/jira/browse/HDFS-2436
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.205.0
>            Reporter: Arpit Gupta
>
> FSNamesystem.setTimes(..) does not work if the path is a directory.
> Arpit found this bug when testing webhdfs:
> {quote}
> settimes api is working when called on a file, but when called on a dir it returns a
404. I should be able to set time on both a file and a directory.
> {quote}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message