You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kylin.apache.org by suresh m <su...@gmail.com> on 2017/03/06 14:09:50 UTC

error while refreshing cube with curl script

Hi,

Please find the curl script what i am using for refreshing cube.

curl -u ADMIN:KYLIN -X PUT -H "Content-Type: application/json" -d
'{"startTime": 1404795900000,"endTime": 2240610900000,"buildType":
"REFRESH"}' http://*.*.*.*:7070/kylin/api/cubes/AL_RPT_PROD/rebuild
<http://172.17.0.63:7070/kylin/api/cubes/AL_ALERT_RPT_PROD/rebuild>



Getting below error when executing this script. But Same script is working
properly in Dev environment but facing issue in production.


{"url":"http://
*.*.*.*:7070/kylin/api/cubes/AL_RPT_PROD/rebuild","exception":null}


Please help me to solve this issue.


Regards,

Suresh

Re: error while refreshing cube with curl script

Posted by ShaoFeng Shi <sh...@apache.org>.
what happens in the backed? kylin.log should have more info.

2017-03-06 22:09 GMT+08:00 suresh m <su...@gmail.com>:

> Hi,
>
> Please find the curl script what i am using for refreshing cube.
>
> curl -u ADMIN:KYLIN -X PUT -H "Content-Type: application/json" -d
> '{"startTime": 1404795900000,"endTime": 2240610900000,"buildType":
> "REFRESH"}' http://*.*.*.*:7070/kylin/api/cubes/AL_RPT_PROD/rebuild
> <http://172.17.0.63:7070/kylin/api/cubes/AL_ALERT_RPT_PROD/rebuild>
>
>
>
> Getting below error when executing this script. But Same script is working
> properly in Dev environment but facing issue in production.
>
>
> {"url":"http://
> *.*.*.*:7070/kylin/api/cubes/AL_RPT_PROD/rebuild","exception":null}
>
>
> Please help me to solve this issue.
>
>
> Regards,
>
> Suresh
>



-- 
Best regards,

Shaofeng Shi 史少锋