You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kylin.apache.org by Kang-Sen Lu <kl...@anovadata.com> on 2018/12/14 15:12:38 UTC

about "Clean/Backup HBase Tables"

I just read this article in kylin doc. The title attracted my attention.

I am running kylin 2.5.1.

This command does not work for me:

hbase org.apache.hadoop.util.RunJar /${KYLIN_HOME}/lib/kylin-job-(version).jar org.apache.kylin.job.hadoop.cube.StorageCleanupJob --delete true

I ran:

jar tvf kylin-job-2.5.1-anovadata.jar  |grep StorageCleanup
  1964 Wed Nov 21 09:27:04 EST 2018 org/apache/kylin/storage/hbase/util/StorageCleanupJob$DeleteHTableRunnable.class
16092 Wed Nov 21 09:27:04 EST 2018 org/apache/kylin/sthistory


So there is no class for "org.apache.kylin.job.hadoop.cube.StorageCleanupJob".

Is this article for kylin after 2.5.1 release?

Thanks.

Kang-sen




答复: about "Clean/Backup HBase Tables"

Posted by Na Zhai <na...@kyligence.io>.
Hi, Kang-Sen Lu.
      Hope this can help you.
http://kylin.apache.org/docs/howto/howto_backup_metadata.html
http://kylin.apache.org/docs/howto/howto_use_cli.html


发送自 Windows 10 版邮件<https://go.microsoft.com/fwlink/?LinkId=550986>应用

________________________________
发件人: Kang-Sen Lu <kl...@anovadata.com>
发送时间: Saturday, December 15, 2018 2:48:03 AM
收件人: user@kylin.apache.org
主题: RE: about "Clean/Backup HBase Tables"

Yes. I have been using that command to clean up obsoleted hbase tables.

I am hoping to run some utilities for hbase tables backup and then restore to a new cluster, to avoid the lengthy cube build time.

Kang-sen

From: Jon Shoberg <jo...@gmail.com>
Sent: Friday, December 14, 2018 1:38 PM
To: user@kylin.apache.org
Subject: Re: about "Clean/Backup HBase Tables"

 ${KYLIN_HOME}/bin/kylin.sh org.apache.kylin.tool.StorageCleanupJob --force true --delete true

The above command has worked great for me


On Fri, Dec 14, 2018 at 8:12 AM Kang-Sen Lu <kl...@anovadata.com>> wrote:
I just read this article in kylin doc. The title attracted my attention.

I am running kylin 2.5.1.

This command does not work for me:

hbase org.apache.hadoop.util.RunJar /${KYLIN_HOME}/lib/kylin-job-(version).jar org.apache.kylin.job.hadoop.cube.StorageCleanupJob --delete true

I ran:

jar tvf kylin-job-2.5.1-anovadata.jar  |grep StorageCleanup
  1964 Wed Nov 21 09:27:04 EST 2018 org/apache/kylin/storage/hbase/util/StorageCleanupJob$DeleteHTableRunnable.class
16092 Wed Nov 21 09:27:04 EST 2018 org/apache/kylin/sthistory


So there is no class for “org.apache.kylin.job.hadoop.cube.StorageCleanupJob”.

Is this article for kylin after 2.5.1 release?

Thanks.

Kang-sen




RE: about "Clean/Backup HBase Tables"

Posted by Kang-Sen Lu <kl...@anovadata.com>.
Yes. I have been using that command to clean up obsoleted hbase tables.

I am hoping to run some utilities for hbase tables backup and then restore to a new cluster, to avoid the lengthy cube build time.

Kang-sen

From: Jon Shoberg <jo...@gmail.com>
Sent: Friday, December 14, 2018 1:38 PM
To: user@kylin.apache.org
Subject: Re: about "Clean/Backup HBase Tables"

 ${KYLIN_HOME}/bin/kylin.sh org.apache.kylin.tool.StorageCleanupJob --force true --delete true

The above command has worked great for me


On Fri, Dec 14, 2018 at 8:12 AM Kang-Sen Lu <kl...@anovadata.com>> wrote:
I just read this article in kylin doc. The title attracted my attention.

I am running kylin 2.5.1.

This command does not work for me:

hbase org.apache.hadoop.util.RunJar /${KYLIN_HOME}/lib/kylin-job-(version).jar org.apache.kylin.job.hadoop.cube.StorageCleanupJob --delete true

I ran:

jar tvf kylin-job-2.5.1-anovadata.jar  |grep StorageCleanup
  1964 Wed Nov 21 09:27:04 EST 2018 org/apache/kylin/storage/hbase/util/StorageCleanupJob$DeleteHTableRunnable.class
16092 Wed Nov 21 09:27:04 EST 2018 org/apache/kylin/sthistory


So there is no class for “org.apache.kylin.job.hadoop.cube.StorageCleanupJob”.

Is this article for kylin after 2.5.1 release?

Thanks.

Kang-sen




Re: about "Clean/Backup HBase Tables"

Posted by Jon Shoberg <jo...@gmail.com>.
 ${KYLIN_HOME}/bin/kylin.sh org.apache.kylin.tool.StorageCleanupJob --force
true --delete true

The above command has worked great for me


On Fri, Dec 14, 2018 at 8:12 AM Kang-Sen Lu <kl...@anovadata.com> wrote:

> I just read this article in kylin doc. The title attracted my attention.
>
>
>
> I am running kylin 2.5.1.
>
>
>
> This command does not work for me:
>
>
>
> hbase org.apache.hadoop.util.RunJar
> /${KYLIN_HOME}/lib/kylin-job-(version).jar
> org.apache.kylin.job.hadoop.cube.StorageCleanupJob --delete true
>
>
>
> I ran:
>
>
>
> jar tvf kylin-job-2.5.1-anovadata.jar  |grep StorageCleanup
>
>   1964 Wed Nov 21 09:27:04 EST 2018
> org/apache/kylin/storage/hbase/util/StorageCleanupJob$DeleteHTableRunnable.class
>
> 16092 Wed Nov 21 09:27:04 EST 2018 org/apache/kylin/sthistory
>
>
>
>
>
> So there is no class for
> “org.apache.kylin.job.hadoop.cube.StorageCleanupJob”.
>
>
>
> Is this article for kylin after 2.5.1 release?
>
>
>
> Thanks.
>
>
>
> Kang-sen
>
>
>
>
>
>
>