You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kylin.apache.org by 杨浩 <ya...@gmail.com> on 2017/10/13 03:13:26 UTC

How to remove error model?

There are some error model/cube in kylin, it cannot be seen in the website,
and I cannot genereate the same model named that, How to delete it?

Command bin/metastore.sh clean --delete true cannot delete the dirty model.

Re: How to remove error model?

Posted by Shuangyin Ge <go...@gmail.com>.
Hello Hao,

Can you please try the steps mentioned in this page
http://apache-kylin.74782.x6.nabble.com/How-to-clean-up-the-invisible-cube-td9023.html
?

This should resolve most of the metadata inconsistency issues.

2017-10-13 11:13 GMT+08:00 杨浩 <ya...@gmail.com>:

> There are some error model/cube in kylin, it cannot be seen in the
> website, and I cannot genereate the same model named that, How to delete it?
>
> Command bin/metastore.sh clean --delete true cannot delete the dirty model.
>
>

Re: How to remove error model?

Posted by Shuangyin Ge <go...@gmail.com>.
Hello Hao,

Can you please try the steps mentioned in this page
http://apache-kylin.74782.x6.nabble.com/How-to-clean-up-the-invisible-cube-td9023.html
?

This should resolve most of the metadata inconsistency issues.

2017-10-13 11:13 GMT+08:00 杨浩 <ya...@gmail.com>:

> There are some error model/cube in kylin, it cannot be seen in the
> website, and I cannot genereate the same model named that, How to delete it?
>
> Command bin/metastore.sh clean --delete true cannot delete the dirty model.
>
>

Re: How to remove error model?

Posted by 杨浩 <ya...@gmail.com>.
thanks, I have done this by

bin/metastore.sh remove /model_desc/***_model.json


2017-10-13 11:25 GMT+08:00 ShaoFeng Shi <sh...@apache.org>:

> Hi Hao,
>
> You can dump the metadata to local disk, modify them, and then restore
> back to HBase:
>
> https://kylin.apache.org/docs21/howto/howto_backup_metadata.html
>
> If you're doing this in production env, please be cautious, and take a
> backup is recommended.
>
>
> 2017-10-13 11:13 GMT+08:00 杨浩 <ya...@gmail.com>:
>
>> There are some error model/cube in kylin, it cannot be seen in the
>> website, and I cannot genereate the same model named that, How to delete it?
>>
>> Command bin/metastore.sh clean --delete true cannot delete the dirty
>> model.
>>
>>
>
>
> --
> Best regards,
>
> Shaofeng Shi 史少锋
>
>

Re: How to remove error model?

Posted by ShaoFeng Shi <sh...@apache.org>.
Hi Hao,

You can dump the metadata to local disk, modify them, and then restore back
to HBase:

https://kylin.apache.org/docs21/howto/howto_backup_metadata.html

If you're doing this in production env, please be cautious, and take a
backup is recommended.


2017-10-13 11:13 GMT+08:00 杨浩 <ya...@gmail.com>:

> There are some error model/cube in kylin, it cannot be seen in the
> website, and I cannot genereate the same model named that, How to delete it?
>
> Command bin/metastore.sh clean --delete true cannot delete the dirty model.
>
>


-- 
Best regards,

Shaofeng Shi 史少锋