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:17:27 GMT
Repository: hbase
Updated Branches:
  refs/heads/master 3275b964c -> a0e473730


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/a0e47373
Tree: http://git-wip-us.apache.org/repos/asf/hbase/tree/a0e47373
Diff: http://git-wip-us.apache.org/repos/asf/hbase/diff/a0e47373

Branch: refs/heads/master
Commit: a0e473730e2cd819e7442dbd2b332d7833755ba2
Parents: 3275b96
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:06 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/a0e47373/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 08dd0ec..bcda25c 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
@@ -49,6 +49,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;
@@ -4225,6 +4226,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/a0e47373/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