kylin-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ShaoFeng Shi <shaofeng...@apache.org>
Subject Re: 回复:refresh cube with api error
Date Mon, 10 Sep 2018 10:19:00 GMT
The easiest way to debug is, using Chrome, press F12 to enable debug mode,
and then click segment "Refresh" on Kylin web GUI; In the same time, check
the HTTP request in Chrome's console.

Wayne <wayne.l@qq.com> 于2018年9月6日周四 下午6:00写道:

> Hi kailun:
>    Can you try startTime = 1514764800000 endTime = 1546300800000 ?
>
>
> ------------------ 原始邮件 ------------------
> *发件人:* "kailun0315@126.com"<kailun0315@126.com>;
> *发送时间:* 2018年9月6日(星期四) 下午4:35
> *收件人:* "user"<user@kylin.apache.org>;
> *主题:* 回复: 回复:refresh cube with api error
>
>   $endTime  and $startTime  shown in the picture
> ------------------------------
> kailun0315@126.com
>
>
> *发件人:* Wayne <wayne.l@qq.com>
> *发送时间:* 2018-09-06 16:06
> *收件人:* user <user@kylin.apache.org>
> *主题:* 回复:refresh cube with api error
> Hi kailun:
>   What's the real value of $endTime and $startTime? It seems like you
> don't give the actual value for parameter endTime and startTime.
>
>
>
> ------------------ 原始邮件 ------------------
> *发件人:* "kailun0315@126.com"<kailun0315@126.com>;
> *发送时间:* 2018年9月6日(星期四) 中午11:25
> *收件人:* "user"<user@kylin.apache.org>;
> *主题:* refresh cube with api error
>
> curl -X PUT -H "Authorization: Basic QURNSU46S1lMSU4=" -H 'Content-Type:
> application/json' -d '{"endTime":'$endTime',"startTime":'$startTime',
> "buildType":"REFRESH"}'
> http://localhost:7070/kylin/api/cubes/$cubename/rebuild
>
> it shows "does not mathc the segment",but there exists the segment in the
> cube,how could i refresh segement use the restful api?
> ------------------------------
> kailun0315@126.com
>
>

-- 
Best regards,

Shaofeng Shi 史少锋

Mime
View raw message