You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kylin.apache.org by ???? <mr...@qq.com> on 2018/04/23 07:54:50 UTC
kylin根据分区build cube,出错的job直接删除,没有执行job的DISCARDED操作,然后通过调用rest API删除没有成功的segment报错
您好:
我在创建一个 cube ,根据一个时间字段分区,定时build
build 这个时间段的时候,job 出错,我直接将job 删除(drop)掉了
然后再重新build (执行上图的操作),会报如下错误:
我执行refresh操作会报错
在storage中会有这个segment
但是我到hbase下查看 却没有KYLIN_KE4A0U0TUZ 这张表。
我通过javaScript调用kylin的rest API 删除这个segment 的时候报错:
我想要重新build 这个segment 该怎么办? 谢谢
Re: kylin根据分区build cube,出错的job直接删除,没有执行job的DISCARDED操作,然后通过调用rest API删除没有成功的segment报错
Posted by Billy Liu <bi...@apache.org>.
Agree with Silas. The job drop bug has been fixed and you are
suggested to upgrade.
With Warm regards
Billy Liu
2018-04-24 15:17 GMT+08:00 Ge Silas <go...@live.cn>:
> Hello,
>
> What is your Apache Kylin version? In latest versions, I don’t think the job with error status can be dropped directly before discarding it.
>
> At this moment, you may need to download, edit to remove this segment and then upload your metadata, or start over with cloning the original cube.
>
> Thanks,
> Silas
>
> On Apr 23, 2018, at 3:54 PM, ???? <mr...@qq.com> wrote:
>
> 您好:
> 我在创建一个 cube ,根据一个时间字段分区,定时build
> <F3...@F5EFDC33.4A91DD5A.jpg>
> build 这个时间段的时候,job 出错,我直接将job 删除(drop)掉了
> 然后再重新build (执行上图的操作),会报如下错误:
> <5B...@06B12437.4A91DD5A.jpg>
> 我执行refresh操作<92...@6FCC1714.4A91DD5A.jpg>
> 在storage中会有这个segment<94...@9EE4C26E.4A91DD5A.jpg>
>
> 但是我到hbase下查看 却没有KYLIN_KE4A0U0TUZ 这张表。
> 我通过javaScript调用kylin的rest API 删除这个segment 的时候报错:
> <9A...@0003853F.4A91DD5A.jpg>
> 我想要重新build 这个segment 该怎么办? 谢谢
>
>
>
回复: kylin根据分区build cube,出错的job直接删除,没有执行job的DISCARDED操作,然后通过调用rest API删除没有成功的segment报错
Posted by ???? <mr...@qq.com>.
Hi ,
I get it. Thank you very much.
------------------ 原始邮件 ------------------
发件人: "ShaoFeng Shi"<sh...@apache.org>;
发送时间: 2018年4月28日(星期六) 下午2:48
收件人: "user"<us...@kylin.apache.org>;
主题: Re: kylin根据分区build cube,出错的job直接删除,没有执行job的DISCARDED操作,然后通过调用rest API删除没有成功的segment报错
Hi MR,
You can delete the segment manually with backing up metadata to local disk, and restore after the modification:
https://kylin.apache.org/docs23/howto/howto_backup_metadata.html
After backup to local, you can open the "cube/<cube_name>.json" file with an text editor, then you can see a segment list. You can manually delete the invalid segment.
Please be careful if you're doing in a production environment.
2018-04-28 13:59 GMT+08:00 ???? <mr...@qq.com>:
Hello,
My Apche Kylin version is 2.1.0 . Do I have to download the latest version ? Can I manually delete metadata information ?
Thank you
------------------ 原始邮件 ------------------
发件人: "Ge Silas"<go...@live.cn>;
发送时间: 2018年4月24日(星期二) 下午3:17
收件人: "user@kylin.apache.org"<us...@kylin.apache.org>;
主题: Re: kylin根据分区build cube,出错的job直接删除,没有执行job的DISCARDED操作,然后通过调用rest API删除没有成功的segment报错
Hello,
What is your Apache Kylin version? In latest versions, I don’t think the job with error status can be dropped directly before discarding it.
At this moment, you may need to download, edit to remove this segment and then upload your metadata, or start over with cloning the original cube.
Thanks,
Silas
On Apr 23, 2018, at 3:54 PM, ???? <mr...@qq.com> wrote:
您好:
我在创建一个 cube ,根据一个时间字段分区,定时build
<F3...@F5EFDC33.4A91DD5A.jpg>
build 这个时间段的时候,job 出错,我直接将job 删除(drop)掉了
然后再重新build (执行上图的操作),会报如下错误:
<5B...@06B12437.4A91DD5A.jpg>
我执行refresh操作<92...@6FCC1714.4A91DD5A.jpg>
在storage中会有这个segment<94...@9EE4C26E.4A91DD5A.jpg>
但是我到hbase下查看 却没有KYLIN_KE4A0U0TUZ 这张表。
我通过javaScript调用kylin的rest API 删除这个segment 的时候报错:
<9A...@0003853F.4A91DD5A.jpg>
我想要重新build 这个segment 该怎么办? 谢谢
--
Best regards,
Shaofeng Shi 史少锋
Re: kylin根据分区build cube,出错的job直接删除,没有执行job的DISCARDED操作,然后通过调用rest API删除没有成功的segment报错
Posted by ShaoFeng Shi <sh...@apache.org>.
Hi MR,
You can delete the segment manually with backing up metadata to local disk,
and restore after the modification:
https://kylin.apache.org/docs23/howto/howto_backup_metadata.html
After backup to local, you can open the "cube/<cube_name>.json" file with
an text editor, then you can see a segment list. You can manually delete
the invalid segment.
Please be careful if you're doing in a production environment.
2018-04-28 13:59 GMT+08:00 ???? <mr...@qq.com>:
> Hello,
> My Apche Kylin version is 2.1.0 . Do I have to download the latest
> version ? Can I manually delete metadata information ?
> Thank you
>
> ------------------ 原始邮件 ------------------
> *发件人:* "Ge Silas"<go...@live.cn>;
> *发送时间:* 2018年4月24日(星期二) 下午3:17
> *收件人:* "user@kylin.apache.org"<us...@kylin.apache.org>;
> *主题:* Re: kylin根据分区build cube,出错的job直接删除,没有执行job的DISCARDED操作,然后通过调用rest
> API删除没有成功的segment报错
>
> Hello,
>
> What is your Apache Kylin version? In latest versions, I don’t think the
> job with error status can be dropped directly before discarding it.
>
> At this moment, you may need to download, edit to remove this segment and
> then upload your metadata, or start over with cloning the original cube.
>
> Thanks,
> Silas
>
> On Apr 23, 2018, at 3:54 PM, ???? <mr...@qq.com> wrote:
>
> 您好:
> 我在创建一个 cube ,根据一个时间字段分区,定时build
> <F3...@F5EFDC33.4A91DD5A.jpg>
> build 这个时间段的时候,job 出错,我直接将job 删除(drop)掉了
> 然后再重新build (执行上图的操作),会报如下错误:
> <5B...@06B12437.4A91DD5A.jpg>
> 我执行refresh操作<92...@6B75B22F.4A91DD5A.jpg>会报错<
> BE002C1D@6FCC1714.4A91DD5A.jpg>
> 在storage中会有这个segment<94...@4AB61B61.4A91DD5A.jpg><
> 96EADAEB@9EE4C26E.4A91DD5A.jpg>
>
> 但是我到hbase下查看 却没有KYLIN_KE4A0U0TUZ 这张表。
> 我通过javaScript调用kylin的rest API 删除这个segment 的时候报错:
> <9A...@0003853F.4A91DD5A.jpg>
> 我想要重新build 这个segment 该怎么办? 谢谢
>
>
>
>
--
Best regards,
Shaofeng Shi 史少锋
回复: kylin根据分区build cube,出错的job直接删除,没有执行job的DISCARDED操作,然后通过调用rest API删除没有成功的segment报错
Posted by ???? <mr...@qq.com>.
Hello,
My Apche Kylin version is 2.1.0 . Do I have to download the latest version ? Can I manually delete metadata information ?
Thank you
------------------ 原始邮件 ------------------
发件人: "Ge Silas"<go...@live.cn>;
发送时间: 2018年4月24日(星期二) 下午3:17
收件人: "user@kylin.apache.org"<us...@kylin.apache.org>;
主题: Re: kylin根据分区build cube,出错的job直接删除,没有执行job的DISCARDED操作,然后通过调用rest API删除没有成功的segment报错
Hello,
What is your Apache Kylin version? In latest versions, I don’t think the job with error status can be dropped directly before discarding it.
At this moment, you may need to download, edit to remove this segment and then upload your metadata, or start over with cloning the original cube.
Thanks,
Silas
On Apr 23, 2018, at 3:54 PM, ???? <mr...@qq.com> wrote:
您好:
我在创建一个 cube ,根据一个时间字段分区,定时build
<F3...@F5EFDC33.4A91DD5A.jpg>
build 这个时间段的时候,job 出错,我直接将job 删除(drop)掉了
然后再重新build (执行上图的操作),会报如下错误:
<5B...@06B12437.4A91DD5A.jpg>
我执行refresh操作<92...@6FCC1714.4A91DD5A.jpg>
在storage中会有这个segment<94...@9EE4C26E.4A91DD5A.jpg>
但是我到hbase下查看 却没有KYLIN_KE4A0U0TUZ 这张表。
我通过javaScript调用kylin的rest API 删除这个segment 的时候报错:
<9A...@0003853F.4A91DD5A.jpg>
我想要重新build 这个segment 该怎么办? 谢谢
Re: kylin根据分区build cube,出错的job直接删除,没有执行job的DISCARDED操作,然后通过调用rest API删除没有成功的segment报错
Posted by Ge Silas <go...@live.cn>.
Hello,
What is your Apache Kylin version? In latest versions, I don’t think the job with error status can be dropped directly before discarding it.
At this moment, you may need to download, edit to remove this segment and then upload your metadata, or start over with cloning the original cube.
Thanks,
Silas
On Apr 23, 2018, at 3:54 PM, ???? <mr...@qq.com> wrote:
您好:
我在创建一个 cube ,根据一个时间字段分区,定时build
<F3...@F5EFDC33.4A91DD5A.jpg>
build 这个时间段的时候,job 出错,我直接将job 删除(drop)掉了
然后再重新build (执行上图的操作),会报如下错误:
<5B...@06B12437.4A91DD5A.jpg>
我执行refresh操作<92...@6FCC1714.4A91DD5A.jpg>
在storage中会有这个segment<94...@9EE4C26E.4A91DD5A.jpg>
但是我到hbase下查看 却没有KYLIN_KE4A0U0TUZ 这张表。
我通过javaScript调用kylin的rest API 删除这个segment 的时候报错:
<9A...@0003853F.4A91DD5A.jpg>
我想要重新build 这个segment 该怎么办? 谢谢