HADOOP-7193. Correct the "fs -touchz" command help message. Contributed by Uma Maheswara Rao G
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1084769 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
151c1a7952
commit
06699c900a
|
@ -598,6 +598,9 @@ Release 0.21.1 - Unreleased
|
||||||
fs.checkpoint.* with dfs.namenode.checkpoint.* in documentations.
|
fs.checkpoint.* with dfs.namenode.checkpoint.* in documentations.
|
||||||
(Harsh J Chouraria via szetszwo)
|
(Harsh J Chouraria via szetszwo)
|
||||||
|
|
||||||
|
HADOOP-7193. Correct the "fs -touchz" command help message.
|
||||||
|
(Uma Maheswara Rao G via szetszwo)
|
||||||
|
|
||||||
Release 0.21.0 - 2010-08-13
|
Release 0.21.0 - 2010-08-13
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -1499,8 +1499,9 @@ public class FsShell extends Configured implements Tool {
|
||||||
+ "\t\tThe -R flag requests a recursive change of replication level \n"
|
+ "\t\tThe -R flag requests a recursive change of replication level \n"
|
||||||
+ "\t\tfor an entire tree.\n";
|
+ "\t\tfor an entire tree.\n";
|
||||||
|
|
||||||
String touchz = "-touchz <path>: Write a timestamp in yyyy-MM-dd HH:mm:ss format\n" +
|
String touchz = "-touchz <path>: Creates a file of zero length\n"
|
||||||
"\t\tin a file at <path>. An error is returned if the file exists with non-zero length\n";
|
+ "\t\t at <path> with current time as the timestamp of that <path>.\n"
|
||||||
|
+ "\t\t An error is returned if the file exists with non-zero length\n";
|
||||||
|
|
||||||
String test = "-test -[ezd] <path>: If file { exists, has zero length, is a directory\n" +
|
String test = "-test -[ezd] <path>: If file { exists, has zero length, is a directory\n" +
|
||||||
"\t\tthen return 0, else return 1.\n";
|
"\t\tthen return 0, else return 1.\n";
|
||||||
|
|
Loading…
Reference in New Issue