hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ss...@apache.org
Subject hadoop git commit: YARN-4816. Fix incompatible change in SystemClock.
Date Tue, 15 Mar 2016 03:15:14 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 19e8f0769 -> eba66a64d


YARN-4816. Fix incompatible change in SystemClock.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/eba66a64
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/eba66a64
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/eba66a64

Branch: refs/heads/trunk
Commit: eba66a64d28b50a660d6f537c767677f5fa0f7ea
Parents: 19e8f07
Author: Siddharth Seth <sseth@apache.org>
Authored: Mon Mar 14 20:14:33 2016 -0700
Committer: Siddharth Seth <sseth@apache.org>
Committed: Mon Mar 14 20:14:33 2016 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/yarn/util/SystemClock.java  | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/eba66a64/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/SystemClock.java
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/SystemClock.java
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/SystemClock.java
index c60368f..72e42d1 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/SystemClock.java
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-common/src/main/java/org/apache/hadoop/yarn/util/SystemClock.java
@@ -38,11 +38,12 @@ public final class SystemClock implements Clock {
     return INSTANCE;
   }
 
-  private SystemClock() {
+  @Deprecated
+  public SystemClock() {
     // do nothing
   }
 
   public long getTime() {
     return System.currentTimeMillis();
   }
-}
\ No newline at end of file
+}


Mime
View raw message