[ 
https://issues.apache.org/jira/browse/KYLIN-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Shaofeng SHI closed KYLIN-2507.
-------------------------------

> curl usage in kylin
> -------------------
>
>                 Key: KYLIN-2507
>                 URL: https://issues.apache.org/jira/browse/KYLIN-2507
>             Project: Kylin
>          Issue Type: Bug
>    Affects Versions: v1.6.0
>         Environment: kylin
>            Reporter: prasannaP
>
> Hi all,
> can you please tell me what values i have to give in curl command for kylin 
> rebuild.can you explain me where i have to get startTime,endTime values.I am 
> using like the below,
> /usr/bin/curl -c /home/hdfs/cookiefile.txt -X POST -H "Authorization: Basic 
> QURNSU46S1lMSU4 =" -H 'Content-Type: application/json' 
> http://ipaddress:7070/kylin/api/user/authentication
> /usr/bin/curl -b /home/hdfs/cookiefile.txt -X PUT -H 'Content-Type: 
> application/json' -d '{"startTime":'1425384000000', "endTime": 
> '1489156500000', "buildType":"BUILD"}' 
> http://ipaddress:7070/kylin/api/cubes/analytics_cube/rebuild
> here i am getting startTime and endTime from 
> http://ipaddress:7070/kylin/api/cubes/analytics_cube of date_range_start and 
> date_range_end.am i using proper once or not.
> In manual build we can specify endDate of cube,but in curl where we can 
> specify end Date?anybody can you please explain me all these doubts.
> If i am using same query in crontab then i am not getting refreshed data from 
> hive into kylin.what i have to do for getting refreshed data?



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to