org.apache.commons.lang.StringUtils



API Populatity

89 Client projects

Project: org.apache

Project apache/hbase in file ...n.java.org.apache.hadoop.hbase.util.HBaseFsck.java (2014-12-12)
@@ -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();
Project apache/hbase in file ...ache.hadoop.hbase.util.hbck.OfflineMetaRepair.java (2014-12-12)
@@ -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;
Project impetus-opensource/Kundera in file ...s.client.cassandra.thrift.ThriftClientFactory.java (2013-01-08)
@@ -22,6 +22,7 @@ import net.dataforte.cassandra.pool.ConnectionPool;
 import net.dataforte.cassandra.pool.PoolConfiguration;
 import net.dataforte.cassandra.pool.PoolProperties;
 
+import org.apache.commons.lang.StringUtils;
 import org.apache.thrift.TException;
 import org.slf4j.Logger;
 import org.slf4j.LoggerFactory;
@@ -130,6 +131,8 @@ public class ThriftClientFactory extends GenericClientFactory
             keyspace = (String) props.get(PersistenceProperties.KUNDERA_KEYSPACE);
         }
 
+        onValidation(contactNodes, defaultPort);
+
         PoolConfiguration prop = new PoolProperties();
         prop.setHost(contactNodes);
         prop.setPort(Integer.parseInt(defaultPort));