[ 
https://issues.apache.org/jira/browse/KYLIN-2037?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

liyang resolved KYLIN-2037.
---------------------------
    Resolution: Duplicate

> 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
>
>   Original Estimate: 96h
>  Remaining Estimate: 96h
>
> 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)

Reply via email to