You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kylin.apache.org by "kailun0315@126.com" <ka...@126.com> on 2018/09/06 08:35:03 UTC

回复: 回复:refresh cube with api error

  $endTime  and $startTime  shown in the picture


kailun0315@126.com
 
发件人: Wayne
发送时间: 2018-09-06 16:06
收件人: user
主题: 回复: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"<ka...@126.com>;
发送时间: 2018年9月6日(星期四) 中午11:25
收件人: "user"<us...@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

Re: 回复:refresh cube with api error

Posted by ShaoFeng Shi <sh...@apache.org>.
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 <wa...@qq.com> 于2018年9月6日周四 下午6:00写道:

> Hi kailun:
>    Can you try startTime = 1514764800000 endTime = 1546300800000 ?
>
>
> ------------------ 原始邮件 ------------------
> *发件人:* "kailun0315@126.com"<ka...@126.com>;
> *发送时间:* 2018年9月6日(星期四) 下午4:35
> *收件人:* "user"<us...@kylin.apache.org>;
> *主题:* 回复: 回复:refresh cube with api error
>
>   $endTime  and $startTime  shown in the picture
> ------------------------------
> kailun0315@126.com
>
>
> *发件人:* Wayne <wa...@qq.com>
> *发送时间:* 2018-09-06 16:06
> *收件人:* user <us...@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"<ka...@126.com>;
> *发送时间:* 2018年9月6日(星期四) 中午11:25
> *收件人:* "user"<us...@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 史少锋

回复: 回复:refresh cube with api error

Posted by Wayne <wa...@qq.com>.
Hi kailun:
   Can you try startTime = 1514764800000 endTime = 1546300800000 ?




------------------ 原始邮件 ------------------
发件人: "kailun0315@126.com"<ka...@126.com>;
发送时间: 2018年9月6日(星期四) 下午4:35
收件人: "user"<us...@kylin.apache.org>;

主题: 回复: 回复:refresh cube with api error



 
   $endTime  and $startTime  shown in the picture

 kailun0315@126.com


  
发件人: Wayne
发送时间: 2018-09-06 16:06
收件人: user
主题: 回复: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"<ka...@126.com>;
发送时间: 2018年9月6日(星期四) 中午11:25
收件人: "user"<us...@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