Repository: hadoop
Updated Branches:
  refs/heads/HDFS-7240 6843b71dd -> 1bffc246d


HDFS-12563. Ozone: Creation time wrongly showed in OzoneRest.md. Contributed by 
Yiqun Lin.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/1bffc246
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/1bffc246
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/1bffc246

Branch: refs/heads/HDFS-7240
Commit: 1bffc246dba1f203a50bbc22aafb15b107ad5b16
Parents: 6843b71
Author: Yiqun Lin <yq...@apache.org>
Authored: Fri Sep 29 13:21:43 2017 +0800
Committer: Yiqun Lin <yq...@apache.org>
Committed: Fri Sep 29 13:21:43 2017 +0800

----------------------------------------------------------------------
 .../hadoop-hdfs/src/site/markdown/OzoneRest.md          | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/1bffc246/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/OzoneRest.md
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/OzoneRest.md 
b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/OzoneRest.md
index d17871d..0294a53 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/OzoneRest.md
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/OzoneRest.md
@@ -170,7 +170,7 @@ this request gets the info of volume */volume-of-bilbo*, 
the client receives a r
       "owner" : { "name" : "bilbo" },
       "quota" : { "unit" : "TB", "size" : 1048576 },
       "volumeName" : "volume-of-bilbo",
-      "createdOn" : null,
+      "createdOn" : "Tue, 27 Jun 2017 07:42:04 GMT",
       "createdBy" : "root"
     }
 
@@ -211,7 +211,7 @@ this request gets all volumes owned by *bilbo* and each 
volume's name contains p
           "owner" : { "name" : "bilbo"},
           "quota" : { "unit" : "TB", "size" : 2 },
           "volumeName" : "Jan-vol1",
-          "createdOn" : null,
+          "createdOn" : "Tue, 27 Jun 2017 07:42:04 GMT",
           "createdBy" : root
       },
       ...
@@ -334,6 +334,7 @@ this request gets the info of bucket 
*/volume-of-bilbo/bucket-0*. The client rec
     {
       "volumeName" : "volume-of-bilbo",
       "bucketName" : "bucket-0",
+      "createdOn" : "Tue, 27 Jun 2017 08:55:25 GMT",
       "acls" : [ ],
       "versioning" : "DISABLED",
       "storageType" : "DISK"
@@ -373,6 +374,7 @@ this request lists all the buckets under volume 
*volume-of-bilbo*, and the resul
       "buckets" : [ {
         "volumeName" : "volume-of-bilbo",
         "bucketName" : "bucket-0",
+        "createdOn" : "Tue, 27 Jun 2017 08:55:25 GMT",
         "acls" : [ ],
         "versioning" : null,
         "storageType" : "DISK",
@@ -493,7 +495,8 @@ this request returns information of the key 
*/volume-of-bilbo/bucket-0/file-0*.
     {
       "version" : 0,
       "md5hash" : null,
-      "createdOn" : null,
+      "createdOn" : "Mon, 26 Jun 2017 04:23:30 GMT",
+      "modifiedOn" : "Mon, 26 Jun 2017 04:23:30 GMT",
       "size" : 0,
       "keyName" : "file-0"
     }
@@ -536,7 +539,8 @@ this request list keys under bucket 
*/volume-of-bilbo/bucket-0*, the listing res
       "keyList" : [ {
           "version" : 0,
           "md5hash" : null,
-          "createdOn" : null,
+          "createdOn" : "Mon, 26 Jun 2017 04:23:30 GMT",
+          "modifiedOn" : "Mon, 26 Jun 2017 04:23:30 GMT",
           "size" : 0,
           "keyName" : "file-0"
           },


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to