hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From e...@apache.org
Subject hbase git commit: HBASE-12678 HBCK should print command line arguments
Date Fri, 12 Dec 2014 21:18:54 GMT
Repository: hbase
Updated Branches:
  refs/heads/branch-1 54381aab1 -> 778f443b0


HBASE-12678 HBCK should print command line arguments


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

Branch: refs/heads/branch-1
Commit: 778f443b061e92f2e0c9bade07fa43c3ec05fb0e
Parents: 54381aa
Author: Enis Soztutar <enis@apache.org>
Authored: Fri Dec 12 13:17:06 2014 -0800
Committer: Enis Soztutar <enis@apache.org>
Committed: Fri Dec 12 13:17:47 2014 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java     | 3 +++
 .../java/org/apache/hadoop/hbase/util/hbck/OfflineMetaRepair.java | 3 +++
 2 files changed, 6 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/778f443b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java
index 56d10e0..3d666bd 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java
@@ -50,6 +50,7 @@ import java.util.concurrent.atomic.AtomicBoolean;
 import java.util.concurrent.atomic.AtomicInteger;
 
 
+import org.apache.commons.lang.StringUtils;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hbase.classification.InterfaceAudience;
@@ -4106,6 +4107,8 @@ public class HBaseFsck extends Configured {
       }
     }
 
+    errors.print("HBaseFsck command line options: " + StringUtils.join(args, " "));
+
     // pre-check current user has FS write permission or not
     try {
       preCheckPermission();

http://git-wip-us.apache.org/repos/asf/hbase/blob/778f443b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/hbck/OfflineMetaRepair.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/hbck/OfflineMetaRepair.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/hbck/OfflineMetaRepair.java
index 14c4123..343be0d 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/util/hbck/OfflineMetaRepair.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/util/hbck/OfflineMetaRepair.java
@@ -19,6 +19,7 @@ package org.apache.hadoop.hbase.util.hbck;
 
 import java.io.IOException;
 
+import org.apache.commons.lang.StringUtils;
 import org.apache.commons.logging.Log;
 import org.apache.commons.logging.LogFactory;
 import org.apache.hadoop.hbase.classification.InterfaceAudience;
@@ -110,6 +111,8 @@ public class OfflineMetaRepair {
       }
     }
 
+    System.out.println("OfflineMetaRepair command line options: " + StringUtils.join(args,
" "));
+
     // Fsck doesn't shutdown and and doesn't provide a way to shutdown its
     // threads cleanly, so we do a System.exit.
     boolean success = false;


Mime
View raw message