You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ar...@apache.org on 2017/06/22 22:43:34 UTC
[1/2] hadoop git commit: HDFS-12010. TestCopyPreserveFlag fails
consistently because of mismatch in access time. Contributed by Mukul Kumar
Singh.
Repository: hadoop
Updated Branches:
refs/heads/branch-2 66f780e6a -> f9f6ef83e
refs/heads/trunk 6d116ffad -> 8ceaac187
HDFS-12010. TestCopyPreserveFlag fails consistently because of mismatch in access time. Contributed by Mukul Kumar Singh.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/8ceaac18
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/8ceaac18
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/8ceaac18
Branch: refs/heads/trunk
Commit: 8ceaac1877556794bd8ae3573c632f5ca9414472
Parents: 6d116ff
Author: Arpit Agarwal <ar...@apache.org>
Authored: Thu Jun 22 15:42:50 2017 -0700
Committer: Arpit Agarwal <ar...@apache.org>
Committed: Thu Jun 22 15:42:50 2017 -0700
----------------------------------------------------------------------
.../java/org/apache/hadoop/fs/shell/TestCopyPreserveFlag.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/8ceaac18/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCopyPreserveFlag.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCopyPreserveFlag.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCopyPreserveFlag.java
index 85e3dda..47dc601 100644
--- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCopyPreserveFlag.java
+++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCopyPreserveFlag.java
@@ -76,10 +76,10 @@ public class TestCopyPreserveFlag {
output.writeChar('\n');
}
output.close();
- fs.setTimes(FROM, MODIFICATION_TIME, ACCESS_TIME);
fs.setPermission(FROM, PERMISSIONS);
- fs.setTimes(DIR_FROM, MODIFICATION_TIME, ACCESS_TIME);
+ fs.setTimes(FROM, MODIFICATION_TIME, ACCESS_TIME);
fs.setPermission(DIR_FROM, PERMISSIONS);
+ fs.setTimes(DIR_FROM, MODIFICATION_TIME, ACCESS_TIME);
}
@After
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org
[2/2] hadoop git commit: HDFS-12010. TestCopyPreserveFlag fails
consistently because of mismatch in access time. Contributed by Mukul Kumar
Singh.
Posted by ar...@apache.org.
HDFS-12010. TestCopyPreserveFlag fails consistently because of mismatch in access time. Contributed by Mukul Kumar Singh.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/f9f6ef83
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/f9f6ef83
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/f9f6ef83
Branch: refs/heads/branch-2
Commit: f9f6ef83ebd13ae87b775da5a05541900f8abaad
Parents: 66f780e
Author: Arpit Agarwal <ar...@apache.org>
Authored: Thu Jun 22 15:42:50 2017 -0700
Committer: Arpit Agarwal <ar...@apache.org>
Committed: Thu Jun 22 15:43:00 2017 -0700
----------------------------------------------------------------------
.../java/org/apache/hadoop/fs/shell/TestCopyPreserveFlag.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/f9f6ef83/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCopyPreserveFlag.java
----------------------------------------------------------------------
diff --git a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCopyPreserveFlag.java b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCopyPreserveFlag.java
index 85e3dda..47dc601 100644
--- a/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCopyPreserveFlag.java
+++ b/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/fs/shell/TestCopyPreserveFlag.java
@@ -76,10 +76,10 @@ public class TestCopyPreserveFlag {
output.writeChar('\n');
}
output.close();
- fs.setTimes(FROM, MODIFICATION_TIME, ACCESS_TIME);
fs.setPermission(FROM, PERMISSIONS);
- fs.setTimes(DIR_FROM, MODIFICATION_TIME, ACCESS_TIME);
+ fs.setTimes(FROM, MODIFICATION_TIME, ACCESS_TIME);
fs.setPermission(DIR_FROM, PERMISSIONS);
+ fs.setTimes(DIR_FROM, MODIFICATION_TIME, ACCESS_TIME);
}
@After
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org