You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-commits@hadoop.apache.org by wa...@apache.org on 2013/09/07 00:53:26 UTC
svn commit: r1520712 -
/hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestHDFSFileContextMainOperations.java
Author: wang
Date: Fri Sep 6 22:53:26 2013
New Revision: 1520712
URL: http://svn.apache.org/r1520712
Log:
Revert HADOOP-9877 because of issues reported at HADOOP-9912
Modified:
hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestHDFSFileContextMainOperations.java
Modified: hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestHDFSFileContextMainOperations.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestHDFSFileContextMainOperations.java?rev=1520712&r1=1520711&r2=1520712&view=diff
==============================================================================
--- hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestHDFSFileContextMainOperations.java (original)
+++ hadoop/common/branches/branch-2/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/fs/TestHDFSFileContextMainOperations.java Fri Sep 6 22:53:26 2013
@@ -59,9 +59,6 @@ public class TestHDFSFileContextMainOper
defaultWorkingDirectory = fc.makeQualified( new Path("/user/" +
UserGroupInformation.getCurrentUser().getShortUserName()));
fc.mkdir(defaultWorkingDirectory, FileContext.DEFAULT_PERM, true);
- // Make defaultWorkingDirectory snapshottable to enable
- // testGlobStatusFilterWithHiddenPathTrivialFilter
- cluster.getFileSystem().allowSnapshot(defaultWorkingDirectory);
}
private static void restartCluster() throws IOException, LoginException {
@@ -76,9 +73,6 @@ public class TestHDFSFileContextMainOper
defaultWorkingDirectory = fc.makeQualified( new Path("/user/" +
UserGroupInformation.getCurrentUser().getShortUserName()));
fc.mkdir(defaultWorkingDirectory, FileContext.DEFAULT_PERM, true);
- // Make defaultWorkingDirectory snapshottable to enable
- // testGlobStatusFilterWithHiddenPathTrivialFilter
- cluster.getFileSystem().allowSnapshot(defaultWorkingDirectory);
}
@AfterClass
@@ -99,11 +93,6 @@ public class TestHDFSFileContextMainOper
}
@Override
- protected Path getHiddenPathForTest() {
- return new Path(defaultWorkingDirectory, ".snapshot");
- }
-
- @Override
protected Path getDefaultWorkingDirectory() {
return defaultWorkingDirectory;
}