From 7b5aea8175a4e19b3f24736165da6ddb17616f22 Mon Sep 17 00:00:00 2001 From: yliu Date: Wed, 21 Jan 2015 02:04:03 +0800 Subject: [PATCH] HDFS-7641. Update archival storage user doc for list/set/get block storage policies. (yliu) --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../src/site/apt/ArchivalStorage.apt.vm | 22 +++++++++---------- 2 files changed, 14 insertions(+), 11 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 53a23fd1826..7947fbf6304 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -463,6 +463,9 @@ Release 2.7.0 - UNRELEASED HDFS-7637. Fix the check condition for reserved path. (Yi Liu via jing9) + HDFS-7641. Update archival storage user doc for list/set/get block storage + policies. (yliu) + Release 2.6.1 - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/ArchivalStorage.apt.vm b/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/ArchivalStorage.apt.vm index 69674c74aea..5336ea3fa4c 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/ArchivalStorage.apt.vm +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/apt/ArchivalStorage.apt.vm @@ -189,7 +189,7 @@ hdfs mover [-p | -f ] * Command: +------------------------------------------+ -hdfs storagepolicies +hdfs storagepolicies -listPolicies +------------------------------------------+ * Arguments: none. @@ -201,16 +201,16 @@ hdfs storagepolicies * Command: +------------------------------------------+ -hdfs dfsadmin -setStoragePolicy +hdfs storagepolicies -setStoragePolicy -path -policy +------------------------------------------+ * Arguments: -*----------------------+-----------------------------------------------------+ -| <<<\>>> | The path referring to either a directory or a file. | -*----------------------+-----------------------------------------------------+ -| <<<\>>> | The name of the storage policy. | -*----------------------+-----------------------------------------------------+ +*--------------------------+-----------------------------------------------------+ +| <<<-path \>>> | The path referring to either a directory or a file. | +*--------------------------+-----------------------------------------------------+ +| <<<-policy \>>> | The name of the storage policy. | +*--------------------------+-----------------------------------------------------+ [] @@ -221,13 +221,13 @@ hdfs dfsadmin -setStoragePolicy * Command: +------------------------------------------+ -hdfs dfsadmin -getStoragePolicy +hdfs storagepolicies -getStoragePolicy -path +------------------------------------------+ * Arguments: -*----------------------+-----------------------------------------------------+ -| <<<\>>> | The path referring to either a directory or a file. | -*----------------------+-----------------------------------------------------+ +*----------------------------+-----------------------------------------------------+ +| <<<-path \>>> | The path referring to either a directory or a file. | +*----------------------------+-----------------------------------------------------+ []