From ebdd6bae1b44fd1277fb08394287d927d39d2e1b Mon Sep 17 00:00:00 2001 From: gongweibao Date: Sun, 14 May 2017 12:07:56 +0800 Subject: [PATCH] fix bugs --- doc/design/file_manager/README.md | 8 ++++++-- doc/design/file_manager/pfs/pfsclient.md | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/doc/design/file_manager/README.md b/doc/design/file_manager/README.md index 2fe8fc28187..2bb0af98ae2 100644 --- a/doc/design/file_manager/README.md +++ b/doc/design/file_manager/README.md @@ -1,6 +1,7 @@ # FileManager设计文档 ## 目标 在本文档中,我们设计说明了名为FileManager系统,方便让用户上传自己的训练数据以进行分布式训练 + 主要功能包括: - 提供常用的命令行管理命令管理文件和目录 @@ -41,13 +42,16 @@ RESTful API - `POST /api/v1/files`: Create files or directories. - `DELETE /api/v1/files`: Delete files or directories. +- /api/v1/file/chunks + - `GET /api/v1/storage/file/chunks`: Get chunks's attributes in a file. + - /api/v1/storage/files - `GET /api/v1/storage/files`: Download files or directories to local. - `POST /api/v1/storage/files`: Upload files or directories to server. - /api/v1/storage/file/chunks - - `GET /api/v1/storage/file/chunks`: Get chunks's attributes in a file. - - `POST /api/v1/storage/file/chunks`: Upload chunks to a file. + - `GET /api/v1/storage/file/chunks`: Upload chunks data. + - `POST /api/v1/storage/file/chunks`: Download chunks data. ``` ## 文件传输优化 diff --git a/doc/design/file_manager/pfs/pfsclient.md b/doc/design/file_manager/pfs/pfsclient.md index 307d6b448f0..eb119689bf5 100644 --- a/doc/design/file_manager/pfs/pfsclient.md +++ b/doc/design/file_manager/pfs/pfsclient.md @@ -31,7 +31,7 @@ When using a command, we need to specify path arguments. There are two path argu A `pfspath` begin with `/pfs`, eg: `/pfs/$DATACENTER/home/$USER/folder`. -[Here](https://github.com/PaddlePaddle/Paddle/blob/develop/doc/design/cluster_train/data_dispatch.md#上传训练文件) is how to config DataCenter +[Here](https://github.com/PaddlePaddle/Paddle/blob/develop/doc/design/cluster_train/data_dispatch.md#上传训练文件) is how to config datacenters. ## order of Path Arguments Commonly, if there are two path arguments, the first is the source, and the second is the destination. -- GitLab