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-2395) webhdfs api's should return a root element in the json response
Date Sat, 01 Oct 2011 02:12:45 GMT

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

Arpit Gupta commented on HDFS-2395:
-----------------------------------

Currently the json response from a webhdfs api is such

curl -i  "http://localhost:50070/webhdfs/foo/b.patch?op=GETFILESTATUS"

{
  "accessTime":1315969120753,
  "blockSize":33554432,
  ......  
}


We should return some thing like
{
  "FileStatus":
  {
    "accessTime":1315969120753,
    "blockSize":33554432,
    ....
  }
}
                
> webhdfs api's should return a root element in the json response
> ---------------------------------------------------------------
>
>                 Key: HDFS-2395
>                 URL: https://issues.apache.org/jira/browse/HDFS-2395
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 0.20.206.0
>            Reporter: Arpit Gupta
>


--
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