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
The following commit(s) were added to refs/heads/2.6.x-hadoop3.1 by this push:
new 94bf32d remove htable toUpperCase, for HBase tableName is case
sensitive
94bf32d is described below
commit 94bf32db98cfb61cdb827fde43b654ab975afbb5
Author: liuzx32 <[email protected]>
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));