[21/50] [abbrv] hadoop git commit: HDFS-8388. Time and Date format need to be in sync in NameNode UI page. Contributed by Surendra Singh Lilhore.
HDFS-8388. Time and Date format need to be in sync in NameNode UI page. Contributed by Surendra Singh Lilhore. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/65ccf2b1 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/65ccf2b1 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/65ccf2b1 Branch: refs/heads/YARN-3926 Commit: 65ccf2b1252a5c83755fa24a93cf1d30ee59b2c3 Parents: 00804e2 Author: Akira AjisakaAuthored: Wed Sep 2 14:28:38 2015 +0900 Committer: Akira Ajisaka Committed: Wed Sep 2 14:28:38 2015 +0900 -- .../hadoop-common/src/site/markdown/Metrics.md | 2 ++ hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java | 5 + .../apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java | 6 ++ .../hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html | 5 ++--- .../hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js | 6 +++--- .../hadoop-hdfs/src/main/webapps/hdfs/explorer.html | 1 + .../hadoop-hdfs/src/main/webapps/hdfs/explorer.js| 2 +- .../hadoop-hdfs/src/main/webapps/static/dfs-dust.js | 8 +++- 9 files changed, 30 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/65ccf2b1/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md -- diff --git a/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md b/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md index de706ad..8722968 100644 --- a/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md +++ b/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md @@ -192,6 +192,8 @@ Each metrics record contains tags such as ProcessName, SessionId, and Hostname a | `PutImageNumOps` | Total number of fsimage uploads to SecondaryNameNode | | `PutImageAvgTime` | Average fsimage upload time in milliseconds | | `TotalFileOps`| Total number of file operations performed | +| `NNStarted`| NameNode start time | +| `NNStartedTimeInMillis`| NameNode start time in milliseconds | FSNamesystem http://git-wip-us.apache.org/repos/asf/hadoop/blob/65ccf2b1/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt -- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index ea398f2..14a9248 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -1270,6 +1270,9 @@ Release 2.8.0 - UNRELEASED HDFS-8950. NameNode refresh doesn't remove DataNodes that are no longer in the allowed list (Daniel Templeton) +HDFS-8388. Time and Date format need to be in sync in NameNode UI page. +(Surendra Singh Lilhore via aajisaka) + Release 2.7.2 - UNRELEASED INCOMPATIBLE CHANGES http://git-wip-us.apache.org/repos/asf/hadoop/blob/65ccf2b1/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java -- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java index f4952f7..adcb1d6 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java @@ -6131,6 +6131,11 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean, return getStartTime().toString(); } + @Override // NameNodeMXBean + public long getNNStartedTimeInMillis() { +return startTime; + } + @Override // NameNodeMXBean public String getCompileInfo() { return VersionInfo.getDate() + " by " + VersionInfo.getUser() + http://git-wip-us.apache.org/repos/asf/hadoop/blob/65ccf2b1/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java -- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java index 0e4d445..00c1abe 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java +++
[20/50] [abbrv] hadoop git commit: HDFS-8388. Time and Date format need to be in sync in NameNode UI page. Contributed by Surendra Singh Lilhore.
HDFS-8388. Time and Date format need to be in sync in NameNode UI page. Contributed by Surendra Singh Lilhore. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/65ccf2b1 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/65ccf2b1 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/65ccf2b1 Branch: refs/heads/YARN-1197 Commit: 65ccf2b1252a5c83755fa24a93cf1d30ee59b2c3 Parents: 00804e2 Author: Akira AjisakaAuthored: Wed Sep 2 14:28:38 2015 +0900 Committer: Akira Ajisaka Committed: Wed Sep 2 14:28:38 2015 +0900 -- .../hadoop-common/src/site/markdown/Metrics.md | 2 ++ hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java | 5 + .../apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java | 6 ++ .../hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html | 5 ++--- .../hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js | 6 +++--- .../hadoop-hdfs/src/main/webapps/hdfs/explorer.html | 1 + .../hadoop-hdfs/src/main/webapps/hdfs/explorer.js| 2 +- .../hadoop-hdfs/src/main/webapps/static/dfs-dust.js | 8 +++- 9 files changed, 30 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/65ccf2b1/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md -- diff --git a/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md b/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md index de706ad..8722968 100644 --- a/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md +++ b/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md @@ -192,6 +192,8 @@ Each metrics record contains tags such as ProcessName, SessionId, and Hostname a | `PutImageNumOps` | Total number of fsimage uploads to SecondaryNameNode | | `PutImageAvgTime` | Average fsimage upload time in milliseconds | | `TotalFileOps`| Total number of file operations performed | +| `NNStarted`| NameNode start time | +| `NNStartedTimeInMillis`| NameNode start time in milliseconds | FSNamesystem http://git-wip-us.apache.org/repos/asf/hadoop/blob/65ccf2b1/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt -- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index ea398f2..14a9248 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -1270,6 +1270,9 @@ Release 2.8.0 - UNRELEASED HDFS-8950. NameNode refresh doesn't remove DataNodes that are no longer in the allowed list (Daniel Templeton) +HDFS-8388. Time and Date format need to be in sync in NameNode UI page. +(Surendra Singh Lilhore via aajisaka) + Release 2.7.2 - UNRELEASED INCOMPATIBLE CHANGES http://git-wip-us.apache.org/repos/asf/hadoop/blob/65ccf2b1/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java -- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java index f4952f7..adcb1d6 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java @@ -6131,6 +6131,11 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean, return getStartTime().toString(); } + @Override // NameNodeMXBean + public long getNNStartedTimeInMillis() { +return startTime; + } + @Override // NameNodeMXBean public String getCompileInfo() { return VersionInfo.getDate() + " by " + VersionInfo.getUser() + http://git-wip-us.apache.org/repos/asf/hadoop/blob/65ccf2b1/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java -- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java index 0e4d445..00c1abe 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java +++
hadoop git commit: HDFS-8388. Time and Date format need to be in sync in NameNode UI page. Contributed by Surendra Singh Lilhore.
Repository: hadoop Updated Branches: refs/heads/trunk 00804e245 -> 65ccf2b12 HDFS-8388. Time and Date format need to be in sync in NameNode UI page. Contributed by Surendra Singh Lilhore. Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/65ccf2b1 Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/65ccf2b1 Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/65ccf2b1 Branch: refs/heads/trunk Commit: 65ccf2b1252a5c83755fa24a93cf1d30ee59b2c3 Parents: 00804e2 Author: Akira AjisakaAuthored: Wed Sep 2 14:28:38 2015 +0900 Committer: Akira Ajisaka Committed: Wed Sep 2 14:28:38 2015 +0900 -- .../hadoop-common/src/site/markdown/Metrics.md | 2 ++ hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java | 5 + .../apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java | 6 ++ .../hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html | 5 ++--- .../hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js | 6 +++--- .../hadoop-hdfs/src/main/webapps/hdfs/explorer.html | 1 + .../hadoop-hdfs/src/main/webapps/hdfs/explorer.js| 2 +- .../hadoop-hdfs/src/main/webapps/static/dfs-dust.js | 8 +++- 9 files changed, 30 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/65ccf2b1/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md -- diff --git a/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md b/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md index de706ad..8722968 100644 --- a/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md +++ b/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md @@ -192,6 +192,8 @@ Each metrics record contains tags such as ProcessName, SessionId, and Hostname a | `PutImageNumOps` | Total number of fsimage uploads to SecondaryNameNode | | `PutImageAvgTime` | Average fsimage upload time in milliseconds | | `TotalFileOps`| Total number of file operations performed | +| `NNStarted`| NameNode start time | +| `NNStartedTimeInMillis`| NameNode start time in milliseconds | FSNamesystem http://git-wip-us.apache.org/repos/asf/hadoop/blob/65ccf2b1/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt -- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index ea398f2..14a9248 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -1270,6 +1270,9 @@ Release 2.8.0 - UNRELEASED HDFS-8950. NameNode refresh doesn't remove DataNodes that are no longer in the allowed list (Daniel Templeton) +HDFS-8388. Time and Date format need to be in sync in NameNode UI page. +(Surendra Singh Lilhore via aajisaka) + Release 2.7.2 - UNRELEASED INCOMPATIBLE CHANGES http://git-wip-us.apache.org/repos/asf/hadoop/blob/65ccf2b1/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java -- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java index f4952f7..adcb1d6 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java @@ -6131,6 +6131,11 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean, return getStartTime().toString(); } + @Override // NameNodeMXBean + public long getNNStartedTimeInMillis() { +return startTime; + } + @Override // NameNodeMXBean public String getCompileInfo() { return VersionInfo.getDate() + " by " + VersionInfo.getUser() + http://git-wip-us.apache.org/repos/asf/hadoop/blob/65ccf2b1/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java -- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java index 0e4d445..00c1abe 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java +++
hadoop git commit: HDFS-8388. Time and Date format need to be in sync in NameNode UI page. Contributed by Surendra Singh Lilhore.
Repository: hadoop Updated Branches: refs/heads/branch-2 a61c0f5ca -> 25efccba0 HDFS-8388. Time and Date format need to be in sync in NameNode UI page. Contributed by Surendra Singh Lilhore. (cherry picked from commit 65ccf2b1252a5c83755fa24a93cf1d30ee59b2c3) Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/25efccba Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/25efccba Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/25efccba Branch: refs/heads/branch-2 Commit: 25efccba01d02bedebfb7c92e6d2e9ecc2e26926 Parents: a61c0f5 Author: Akira AjisakaAuthored: Wed Sep 2 14:28:38 2015 +0900 Committer: Akira Ajisaka Committed: Wed Sep 2 14:30:23 2015 +0900 -- .../hadoop-common/src/site/markdown/Metrics.md | 2 ++ hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java | 5 + .../apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java | 6 ++ .../hadoop-hdfs/src/main/webapps/hdfs/dfshealth.html | 5 ++--- .../hadoop-hdfs/src/main/webapps/hdfs/dfshealth.js | 6 +++--- .../hadoop-hdfs/src/main/webapps/hdfs/explorer.html | 1 + .../hadoop-hdfs/src/main/webapps/hdfs/explorer.js| 2 +- .../hadoop-hdfs/src/main/webapps/static/dfs-dust.js | 8 +++- 9 files changed, 30 insertions(+), 8 deletions(-) -- http://git-wip-us.apache.org/repos/asf/hadoop/blob/25efccba/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md -- diff --git a/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md b/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md index 2e9a4f7..75dfc9f 100644 --- a/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md +++ b/hadoop-common-project/hadoop-common/src/site/markdown/Metrics.md @@ -191,6 +191,8 @@ Each metrics record contains tags such as ProcessName, SessionId, and Hostname a | `GetImageAvgTime` | Average fsimage download time in milliseconds | | `PutImageNumOps` | Total number of fsimage uploads to SecondaryNameNode | | `PutImageAvgTime` | Average fsimage upload time in milliseconds | +| `NNStarted`| NameNode start time | +| `NNStartedTimeInMillis`| NameNode start time in milliseconds | FSNamesystem http://git-wip-us.apache.org/repos/asf/hadoop/blob/25efccba/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt -- diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 73a93b2..2b3f264 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -926,6 +926,9 @@ Release 2.8.0 - UNRELEASED HDFS-8950. NameNode refresh doesn't remove DataNodes that are no longer in the allowed list (Daniel Templeton) +HDFS-8388. Time and Date format need to be in sync in NameNode UI page. +(Surendra Singh Lilhore via aajisaka) + Release 2.7.2 - UNRELEASED INCOMPATIBLE CHANGES http://git-wip-us.apache.org/repos/asf/hadoop/blob/25efccba/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java -- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java index 433445b..84bb82c 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/FSNamesystem.java @@ -6126,6 +6126,11 @@ public class FSNamesystem implements Namesystem, FSNamesystemMBean, return getStartTime().toString(); } + @Override // NameNodeMXBean + public long getNNStartedTimeInMillis() { +return startTime; + } + @Override // NameNodeMXBean public String getCompileInfo() { return VersionInfo.getDate() + " by " + VersionInfo.getUser() + http://git-wip-us.apache.org/repos/asf/hadoop/blob/25efccba/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java -- diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java b/hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/server/namenode/NameNodeMXBean.java index 0e4d445..00c1abe 100644 ---