You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "weiyongzhuang (JIRA)" <ji...@apache.org> on 2016/09/22 07:55:20 UTC
[jira] [Created] (KYLIN-2037) Unable to clean hive intermediate
tables by executing StorageCleanupJob.
weiyongzhuang created KYLIN-2037:
------------------------------------
Summary: Unable to clean hive intermediate tables by executing StorageCleanupJob.
Key: KYLIN-2037
URL: https://issues.apache.org/jira/browse/KYLIN-2037
Project: Kylin
Issue Type: Bug
Components: Storage - HBase
Affects Versions: all
Reporter: weiyongzhuang
Assignee: liyang
Fix For: Future
I try to clean intermediate data in Hive, HDFS, HBase by executing the command:
"${KYLIN_HOME}/bin/kylin.sh org.apache.kylin.storage.hbase.util.StorageCleanupJob --delete true", then I got the following error.
usage: StorageCleanupJob
-delete <delete> Delete the unused storage
Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: -3
at java.lang.String.substring(String.java:1904)
at org.apache.kylin.storage.hbase.util.StorageCleanupJob.cleanUnusedIntermediateHiveTable(StorageCleanupJob.java:290)
at org.apache.kylin.storage.hbase.util.StorageCleanupJob.run(StorageCleanupJob.java:97)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
at org.apache.kylin.storage.hbase.util.StorageCleanupJob.main(StorageCleanupJob.java:329)
2016-09-22 13:54:25,417 INFO [Thread-0 ConnectionManager$HConnectionImplementation:1830]: Closing zookeeper sessionid=0x3574cdb7ca609a7
2016-09-22 13:54:25,420 INFO [Thread-0 ZooKeeper:684]: Session: 0x3574cdb7ca609a7 closed
2016-09-22 13:54:25,420 INFO [main-EventThread ClientCnxn:512]: EventThread shut down
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)