hadoop git commit: HDFS-8187. Remove usage of '-setStoragePolicy' and '-getStoragePolicy' using dfsadmin cmd (as it is not been supported) (Contributed by J.Andreina)
Repository: hadoop Updated Branches: refs/heads/trunk 4b00ae5c1 - e642eff0e HDFS-8187. Remove usage of '-setStoragePolicy' and '-getStoragePolicy' using dfsadmin cmd (as it is not been supported) (Contributed by J.Andreina) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/e642eff0 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/e642eff0 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/e642eff0 Branch: refs/heads/trunk Commit: e642eff0e0065d1c504e41bc87993948b4bc073c Parents: 4b00ae5 Author: Vinayakumar B vinayakum...@apache.org Authored: Fri May 8 14:16:30 2015 +0530 Committer: Vinayakumar B vinayakum...@apache.org Committed: Fri May 8 14:16:30 2015 +0530 -- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt| 3 +++ .../hadoop-hdfs/src/site/markdown/ArchivalStorage.md | 6 +++--- .../hadoop-hdfs/src/site/markdown/HDFSCommands.md | 6 +- 3 files changed, 7 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/e642eff0/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt -- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 80f579a..fc03bbe 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -675,6 +675,9 @@ Release 2.8.0 - UNRELEASED HDFS-8108. Fsck should provide the info on mandatory option to be used along with -blocks , -locations and -racks (J.Andreina via umamahesh) +HDFS-8187. Remove usage of -setStoragePolicy and -getStoragePolicy using +dfsadmin cmd (as it is not been supported) (J.Andreina via vinayakumarb) + Release 2.7.1 - UNRELEASED INCOMPATIBLE CHANGES http://git-wip-us.apache.org/repos/asf/hadoop/blob/e642eff0/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/ArchivalStorage.md -- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/ArchivalStorage.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/ArchivalStorage.md index d924f80..bde4e7b 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/ArchivalStorage.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/ArchivalStorage.md @@ -1,4 +1,4 @@ -!--- +!--- Licensed under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at @@ -84,13 +84,13 @@ Note that the Lasy\_Persist policy is useful only for single replica blocks. For ### Storage Policy Resolution -When a file or directory is created, its storage policy is *unspecified*. The storage policy can be specified using the [`dfsadmin -setStoragePolicy`](#Set_Storage_Policy) command. The effective storage policy of a file or directory is resolved by the following rules. +When a file or directory is created, its storage policy is *unspecified*. The storage policy can be specified using the [`storagepolicies -setStoragePolicy`](#Set_Storage_Policy) command. The effective storage policy of a file or directory is resolved by the following rules. 1. If the file or directory is specificed with a storage policy, return it. 2. For an unspecified file or directory, if it is the root directory, return the *default storage policy*. Otherwise, return its parent's effective storage policy. -The effective storage policy can be retrieved by the [`dfsadmin -getStoragePolicy`](#Get_Storage_Policy) command. +The effective storage policy can be retrieved by the [`storagepolicies -getStoragePolicy`](#Get_Storage_Policy) command. ### Configuration http://git-wip-us.apache.org/repos/asf/hadoop/blob/e642eff0/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md -- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md index 254a77c4..8f5306b 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md @@ -1,4 +1,4 @@ -!--- +!--- Licensed under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at @@ -309,8 +309,6 @@ Usage: [-clrQuota dirname...dirname] [-setSpaceQuota quota [-storageType storagetype] dirname...dirname] [-clrSpaceQuota [-storageType storagetype] dirname...dirname] - [-setStoragePolicy path policyName] - [-getStoragePolicy
hadoop git commit: HDFS-8187. Remove usage of '-setStoragePolicy' and '-getStoragePolicy' using dfsadmin cmd (as it is not been supported) (Contributed by J.Andreina)
Repository: hadoop Updated Branches: refs/heads/branch-2 a56f57b42 - 10999ffd7 HDFS-8187. Remove usage of '-setStoragePolicy' and '-getStoragePolicy' using dfsadmin cmd (as it is not been supported) (Contributed by J.Andreina) (cherry picked from commit e642eff0e0065d1c504e41bc87993948b4bc073c) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/10999ffd Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/10999ffd Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/10999ffd Branch: refs/heads/branch-2 Commit: 10999ffd7ab030524c2846248926e1d89457 Parents: a56f57b Author: Vinayakumar B vinayakum...@apache.org Authored: Fri May 8 14:16:30 2015 +0530 Committer: Vinayakumar B vinayakum...@apache.org Committed: Fri May 8 14:26:58 2015 +0530 -- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt| 3 +++ .../hadoop-hdfs/src/site/markdown/ArchivalStorage.md | 6 +++--- .../hadoop-hdfs/src/site/markdown/HDFSCommands.md | 6 +- 3 files changed, 7 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/10999ffd/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt -- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 41157b7..bcb08c8 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -348,6 +348,9 @@ Release 2.8.0 - UNRELEASED HDFS-8108. Fsck should provide the info on mandatory option to be used along with -blocks , -locations and -racks (J.Andreina via umamahesh) +HDFS-8187. Remove usage of -setStoragePolicy and -getStoragePolicy using +dfsadmin cmd (as it is not been supported) (J.Andreina via vinayakumarb) + Release 2.7.1 - UNRELEASED INCOMPATIBLE CHANGES http://git-wip-us.apache.org/repos/asf/hadoop/blob/10999ffd/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/ArchivalStorage.md -- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/ArchivalStorage.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/ArchivalStorage.md index d924f80..bde4e7b 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/ArchivalStorage.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/ArchivalStorage.md @@ -1,4 +1,4 @@ -!--- +!--- Licensed under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at @@ -84,13 +84,13 @@ Note that the Lasy\_Persist policy is useful only for single replica blocks. For ### Storage Policy Resolution -When a file or directory is created, its storage policy is *unspecified*. The storage policy can be specified using the [`dfsadmin -setStoragePolicy`](#Set_Storage_Policy) command. The effective storage policy of a file or directory is resolved by the following rules. +When a file or directory is created, its storage policy is *unspecified*. The storage policy can be specified using the [`storagepolicies -setStoragePolicy`](#Set_Storage_Policy) command. The effective storage policy of a file or directory is resolved by the following rules. 1. If the file or directory is specificed with a storage policy, return it. 2. For an unspecified file or directory, if it is the root directory, return the *default storage policy*. Otherwise, return its parent's effective storage policy. -The effective storage policy can be retrieved by the [`dfsadmin -getStoragePolicy`](#Get_Storage_Policy) command. +The effective storage policy can be retrieved by the [`storagepolicies -getStoragePolicy`](#Get_Storage_Policy) command. ### Configuration http://git-wip-us.apache.org/repos/asf/hadoop/blob/10999ffd/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md -- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md index c1101a2..1153de7 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md +++ b/hadoop-hdfs-project/hadoop-hdfs/src/site/markdown/HDFSCommands.md @@ -1,4 +1,4 @@ -!--- +!--- Licensed under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at @@ -309,8 +309,6 @@ Usage: [-clrQuota dirname...dirname] [-setSpaceQuota quota [-storageType storagetype] dirname...dirname] [-clrSpaceQuota [-storageType storagetype] dirname...dirname] -