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 <[email protected]>
发送时间: Saturday, December 15, 2018 2:48:03 AM
收件人: [email protected]
主题: 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 <[email protected]>
Sent: Friday, December 14, 2018 1:38 PM
To: [email protected]
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
<[email protected]<mailto:[email protected]>> 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