[
https://issues.apache.org/jira/browse/KYLIN-2507?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
prasannaP updated KYLIN-2507:
-----------------------------
Affects Version/s: v1.6.0
> 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 those 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.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)