svn merge -c 1403714 FIXES: HADOOP-8994. TestDFSShell creates file named "noFileHere", making further tests hard to understand (Andy Isaacson via daryn)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1403717 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
4fbfe304bc
commit
bf335b6124
|
@ -182,6 +182,9 @@ Release 2.0.3-alpha - Unreleased
|
||||||
HDFS-4127. Log message is not correct in case of short of replica.
|
HDFS-4127. Log message is not correct in case of short of replica.
|
||||||
(Junping Du via suresh)
|
(Junping Du via suresh)
|
||||||
|
|
||||||
|
HADOOP-8994. TestDFSShell creates file named "noFileHere", making further
|
||||||
|
tests hard to understand (Andy Isaacson via daryn)
|
||||||
|
|
||||||
Release 2.0.2-alpha - 2012-09-07
|
Release 2.0.2-alpha - 2012-09-07
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -1145,7 +1145,7 @@ public class TestDFSShell {
|
||||||
|
|
||||||
args = new String[2];
|
args = new String[2];
|
||||||
args[0] = "-touchz";
|
args[0] = "-touchz";
|
||||||
args[1] = "/test/mkdirs/noFileHere";
|
args[1] = "/test/mkdirs/isFileHere";
|
||||||
val = -1;
|
val = -1;
|
||||||
try {
|
try {
|
||||||
val = shell.run(args);
|
val = shell.run(args);
|
||||||
|
@ -1157,7 +1157,7 @@ public class TestDFSShell {
|
||||||
|
|
||||||
args = new String[2];
|
args = new String[2];
|
||||||
args[0] = "-touchz";
|
args[0] = "-touchz";
|
||||||
args[1] = "/test/mkdirs/thisDirNotExists/noFileHere";
|
args[1] = "/test/mkdirs/thisDirNotExists/isFileHere";
|
||||||
val = -1;
|
val = -1;
|
||||||
try {
|
try {
|
||||||
val = shell.run(args);
|
val = shell.run(args);
|
||||||
|
@ -1171,7 +1171,7 @@ public class TestDFSShell {
|
||||||
args = new String[3];
|
args = new String[3];
|
||||||
args[0] = "-test";
|
args[0] = "-test";
|
||||||
args[1] = "-e";
|
args[1] = "-e";
|
||||||
args[2] = "/test/mkdirs/noFileHere";
|
args[2] = "/test/mkdirs/isFileHere";
|
||||||
val = -1;
|
val = -1;
|
||||||
try {
|
try {
|
||||||
val = shell.run(args);
|
val = shell.run(args);
|
||||||
|
|
Loading…
Reference in New Issue