"Go" cleans up intermediate storage data for Kylin (HDFS & HBase Tables)

Source: Internet
Author: User

http://blog.csdn.net/jiangshouzhuang/article/details/51290399

Kylin generates intermediate data on HDFS during the cube creation process. Also, when we execute purge/drop/merge on cube, some hbase tables may remain in hbase, and the tables are no longer queried, although Kylin does some automatic garbage collection, but it may not overwrite all aspects, So we need to be able to do some cleanup work for offline storage at intervals. The steps are as follows:

1. Check which resources need to be cleaned up, and this action will not delete any content:

${kylin_home}/bin/kylin.sh Org.apache.kylin.storage.hbase.util.StorageCleanupJob--delete False

2. Based on the above output, select one or two resources to see if it is no longer needed. Next, add the "–delete true" option on top of the command above to start the cleanup operation, and the intermediate HDFs and box htables tables are removed after the command execution is complete.

"Go" cleans up intermediate storage data for Kylin (HDFS & HBase Tables)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.