You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by zhang lin <hg...@hotmail.com> on 2017/11/06 09:37:04 UTC

reply to: KYLIN-2846 : TableNotFoundException while executing the step: cuboid Data to HFile

Thanks to Shaohui, yanghong and yaowu , I have resolved this problem according to https://issues.apache.org/jira/browse/KYLIN-2846



From 677400ee7b4cf5be0ddc9b595d80e02a0ba87c12 Mon Sep 17 00:00:00 2001

From: Liu Shaohui <li...@xiaomi.com>

Date: Fri, 15 Sep 2017 14:34:18 +0800

Subject: [PATCH] Addium for KYLIN-2846



---

.../main/java/org/apache/kylin/storage/hbase/steps/CubeHFileJob.java    | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)



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 9f9b382..7a583ca 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

@@ -92,7 +92,7 @@ public class CubeHFileJob extends AbstractHadoopJob {

             attachCubeMetadata(cube, job.getConfiguration());

             Configuration hbaseConf = HBaseConfiguration.create(getConf());

-            HTable htable = new HTable(hbaseConf, getOptionValue(OPTION_HTABLE_NAME).toUpperCase());

+            HTable htable = new HTable(hbaseConf, getOptionValue(OPTION_HTABLE_NAME));





发件人: zhang lin
发送时间: 2017年11月1日 11:00
收件人: dev@kylin.apache.org
主题: KYLIN-2846 : TableNotFoundException while executing the step: cuboid Data to HFile



Hello, Thanks to the Kylin development team, We have used kylin in our production environment for six months ,the current version is kylin-2.1.

But now, we have got a problem, we need to storage cuboid in user defined namespace not default.

The newest source code kylin-2.3 in github has submitted this changes while the newest official releases is kylin-2.1. I added the changes according to KYLIN-2846 and added the packed jars into the war folder in production environment.

kylin-2846:https://github.com/apache/kylin/commit/ffcbdb7f4288fa6011f018163bdce9602415cf10



But when I building the cube I got this error on the step: cuboid Data to HFile



org.apache.hadoop.hbase.TableNotFoundException:ISW:KYLIN_F3KD3ZC1LU

at org.apache.hadoop.hbase.client.HBaseAdmin.getTableDescriptor(HBaseAdmin.java:575)



I checked the HBase namespace ‘isw’ through hbase shell ,the table KYLIN_F3KD3ZC1LU has been created successfully.

I don’t know how to solve this problem




Re: reply to: KYLIN-2846 : TableNotFoundException while executing the step: cuboid Data to HFile

Posted by Li Yang <li...@apache.org>.
I recall a few followup commits on KYLIN-2846. Have you ported all of them?

git log | grep KYLIN-2846 -3
Author: shaofengshi <sh...@apache.org>
Date:   Sat Oct 21 23:25:41 2017 +0800

    KYLIN-2846 update unit test

commit dbf59e5cd06ad7bb45f22d89478bba7f19618608
Author: zeng.yaowu <51...@qq.com>
Date:   Sat Oct 21 23:05:17 2017 +0800

    KYLIN-2846 use configured hbase namespace in StorageCleanJobHbaseUtil

commit f3d3585ed6360657574ac5b89535b18e41ac3efa
Author: Liu Shaohui <li...@xiaomi.com>
Date:   Fri Sep 15 14:34:18 2017 +0800

    Addium for KYLIN-2846

    Signed-off-by: shaofengshi <sh...@apache.org>


On Mon, Nov 6, 2017 at 5:37 PM, zhang lin <hg...@hotmail.com> wrote:

> Thanks to Shaohui, yanghong and yaowu , I have resolved this problem
> according to https://issues.apache.org/jira/browse/KYLIN-2846
>
>
>
> From 677400ee7b4cf5be0ddc9b595d80e02a0ba87c12 Mon Sep 17 00:00:00 2001
>
> From: Liu Shaohui <li...@xiaomi.com>
>
> Date: Fri, 15 Sep 2017 14:34:18 +0800
>
> Subject: [PATCH] Addium for KYLIN-2846
>
>
>
> ---
>
> .../main/java/org/apache/kylin/storage/hbase/steps/CubeHFileJob.java    |
> 2 +-
>
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
>
>
> 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 9f9b382..7a583ca 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
>
> @@ -92,7 +92,7 @@ public class CubeHFileJob extends AbstractHadoopJob {
>
>              attachCubeMetadata(cube, job.getConfiguration());
>
>              Configuration hbaseConf = HBaseConfiguration.create(
> getConf());
>
> -            HTable htable = new HTable(hbaseConf,
> getOptionValue(OPTION_HTABLE_NAME).toUpperCase());
>
> +            HTable htable = new HTable(hbaseConf,
> getOptionValue(OPTION_HTABLE_NAME));
>
>
>
>
>
> 发件人: zhang lin
> 发送时间: 2017年11月1日 11:00
> 收件人: dev@kylin.apache.org
> 主题: KYLIN-2846 : TableNotFoundException while executing the step: cuboid
> Data to HFile
>
>
>
> Hello, Thanks to the Kylin development team, We have used kylin in our
> production environment for six months ,the current version is kylin-2.1.
>
> But now, we have got a problem, we need to storage cuboid in user defined
> namespace not default.
>
> The newest source code kylin-2.3 in github has submitted this changes
> while the newest official releases is kylin-2.1. I added the changes
> according to KYLIN-2846 and added the packed jars into the war folder in
> production environment.
>
> kylin-2846:https://github.com/apache/kylin/commit/
> ffcbdb7f4288fa6011f018163bdce9602415cf10
>
>
>
> But when I building the cube I got this error on the step: cuboid Data to
> HFile
>
>
>
> org.apache.hadoop.hbase.TableNotFoundException:ISW:KYLIN_F3KD3ZC1LU
>
> at org.apache.hadoop.hbase.client.HBaseAdmin.
> getTableDescriptor(HBaseAdmin.java:575)
>
>
>
> I checked the HBase namespace ‘isw’ through hbase shell ,the table
> KYLIN_F3KD3ZC1LU has been created successfully.
>
> I don’t know how to solve this problem
>
>
>
>