You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@trafodion.apache.org by db...@apache.org on 2016/02/02 17:57:43 UTC

[09/25] incubator-trafodion git commit: Update HBaseClient.java

Update HBaseClient.java

remove unnecessary log.

Project: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/commit/0ea85521
Tree: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/tree/0ea85521
Diff: http://git-wip-us.apache.org/repos/asf/incubator-trafodion/diff/0ea85521

Branch: refs/heads/master
Commit: 0ea8552120bd12d8c5ed1757325276cca3eac172
Parents: 5292fdc
Author: mashengchen <ma...@gmail.com>
Authored: Mon Jan 11 13:39:43 2016 +0800
Committer: mashengchen <ma...@gmail.com>
Committed: Mon Jan 11 13:39:43 2016 +0800

----------------------------------------------------------------------
 core/sql/src/main/java/org/trafodion/sql/HBaseClient.java | 10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-trafodion/blob/0ea85521/core/sql/src/main/java/org/trafodion/sql/HBaseClient.java
----------------------------------------------------------------------
diff --git a/core/sql/src/main/java/org/trafodion/sql/HBaseClient.java b/core/sql/src/main/java/org/trafodion/sql/HBaseClient.java
index 66de284..fa68650 100644
--- a/core/sql/src/main/java/org/trafodion/sql/HBaseClient.java
+++ b/core/sql/src/main/java/org/trafodion/sql/HBaseClient.java
@@ -236,9 +236,7 @@ public class HBaseClient {
             cleanupCache(tblName);
             HTableDescriptor desc = new HTableDescriptor(tblName);
             CoprocessorUtils.addCoprocessor(config.get("hbase.coprocessor.region.classes"), desc);
-            for (String str : desc.getCoprocessors()) {
-                logger.debug(tblName + "has coprocessor : " + str);
-            }
+
             for (int i = 0; i < colFamNameList.length ; i++) {
 		String  colFam = (String)colFamNameList[i];
                 HColumnDescriptor colDesc = new HColumnDescriptor(colFam);
@@ -490,10 +488,8 @@ public class HBaseClient {
             String trueStr = "TRUE";
             cleanupCache(tblName);
             HTableDescriptor desc = new HTableDescriptor(tblName);
-        CoprocessorUtils.addCoprocessor(config.get("hbase.coprocessor.region.classes"), desc);
-        for (String str : desc.getCoprocessors()) {
-            logger.debug(tblName + "has coprocessor : " + str);
-        }
+            CoprocessorUtils.addCoprocessor(config.get("hbase.coprocessor.region.classes"), desc);
+
             int defaultVersionsValue = 0;
             if (isMVCC)
                 defaultVersionsValue = DtmConst.MVCC_MAX_VERSION;