hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cnaur...@apache.org
Subject [2/2] hadoop git commit: HDFS-8539. Hdfs doesnt have class debug in windows. Contributed by Anu Engineer.
Date Sun, 07 Jun 2015 20:02:15 GMT
HDFS-8539. Hdfs doesnt have class debug in windows. Contributed by Anu Engineer.

(cherry picked from commit a6cb4894b45b0b909aca716058590dd6f0e3a6f9)


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

Branch: refs/heads/branch-2
Commit: 953c4a049ace73b771732a6ac4e6a2454ee8243c
Parents: 322e7d0
Author: cnauroth <cnauroth@apache.org>
Authored: Sun Jun 7 13:01:43 2015 -0700
Committer: cnauroth <cnauroth@apache.org>
Committed: Sun Jun 7 13:02:01 2015 -0700

----------------------------------------------------------------------
 hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt           | 3 +++
 hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs.cmd | 8 +++++++-
 2 files changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/953c4a04/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 aa5dd39..63a128a 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
+++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
@@ -524,6 +524,9 @@ Release 2.8.0 - UNRELEASED
     HDFS-8463. Calling DFSInputStream.seekToNewSource just after stream creation
     causes NullPointerException (Masatake Iwasaki via kihwal)
 
+    HDFS-8539. Hdfs doesnt have class 'debug' in windows.
+    (Anu Engineer via cnauroth)
+
 Release 2.7.1 - UNRELEASED
 
   INCOMPATIBLE CHANGES

http://git-wip-us.apache.org/repos/asf/hadoop/blob/953c4a04/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs.cmd
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs.cmd b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs.cmd
index 8115349..2181e47 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs.cmd
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/bin/hdfs.cmd
@@ -59,7 +59,7 @@ if "%1" == "--loglevel" (
     )
   )
 
-  set hdfscommands=dfs namenode secondarynamenode journalnode zkfc datanode dfsadmin haadmin
fsck balancer jmxget oiv oev fetchdt getconf groups snapshotDiff lsSnapshottableDir cacheadmin
mover storagepolicies classpath crypto
+  set hdfscommands=dfs namenode secondarynamenode journalnode zkfc datanode dfsadmin haadmin
fsck balancer jmxget oiv oev fetchdt getconf groups snapshotDiff lsSnapshottableDir cacheadmin
mover storagepolicies classpath crypto debug
   for %%i in ( %hdfscommands% ) do (
     if %hdfs-command% == %%i set hdfscommand=true
   )
@@ -179,6 +179,11 @@ goto :eof
   set CLASS=org.apache.hadoop.hdfs.tools.CryptoAdmin
   goto :eof
 
+:debug
+  set CLASS=org.apache.hadoop.hdfs.tools.DebugAdmin
+  goto :eof
+
+
 @rem This changes %1, %2 etc. Hence those cannot be used after calling this.
 :make_command_arguments
   if "%1" == "--config" (
@@ -237,4 +242,5 @@ goto :eof
   @echo.
   @echo Most commands print help when invoked w/o parameters.
 
+@rem There are also debug commands, but they don't show up in this listing.
 endlocal


Mime
View raw message