You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by ni...@apache.org on 2020/02/11 02:25:50 UTC
[kylin] 06/08: remove htable toUpperCase,
for HBase tableName is case sensitive
This is an automated email from the ASF dual-hosted git repository.
nic pushed a commit to branch 2.6.x-hadoop3.1
in repository https://gitbox.apache.org/repos/asf/kylin.git
commit b07764bea4be97ff197606a9bac7875594eb54c4
Author: liuzx32 <li...@163.com>
AuthorDate: Wed Jun 26 16:27:26 2019 +0800
remove htable toUpperCase, for HBase tableName is case sensitive
---
.../main/java/org/apache/kylin/storage/hbase/steps/CubeHFileJob.java | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CubeHFileJob.java b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CubeHFileJob.java
index e0ecc35..c6ec255 100644
--- a/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CubeHFileJob.java
+++ b/storage-hbase/src/main/java/org/apache/kylin/storage/hbase/steps/CubeHFileJob.java
@@ -53,8 +53,6 @@ import org.apache.kylin.storage.hbase.HBaseConnection;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import java.util.Locale;
-
import static org.apache.hadoop.hbase.HBaseConfiguration.merge;
/**
@@ -106,7 +104,7 @@ public class CubeHFileJob extends AbstractHadoopJob {
Configuration hbaseConf = HBaseConfiguration.create(getConf());
- String hTableName = getOptionValue(OPTION_HTABLE_NAME).toUpperCase(Locale.ROOT);
+ String hTableName = getOptionValue(OPTION_HTABLE_NAME);
connection = ConnectionFactory.createConnection(hbaseConf);
Table table = connection.getTable(TableName.valueOf(hTableName));
RegionLocator regionLocator = connection.getRegionLocator(TableName.valueOf(hTableName));