Created 02-23-2017 06:23 PM
I was trying to create a cube from scratch on HDP 2.4 sandbox using rest api with a json file of cube definition, i tried curl commands to the rest api which doesn't seem to work and i tried using their kylin client tool and even that fails to create a cube,so i am wondering if its possible to create a project, model and cube from rest api?
curl -b /home/raghu/cookiefile.txt -X PUT -H 'Accept: application/json' -H 'Content-Type:application/json;charset=UTF-8' -data @/home/raghu/cube_def.json http://1.1.1.1:7070/kylin/api/cubes/test_cube/build
Created 02-23-2017 06:27 PM
Not sure if you have tried the steps mentioned here : http://kylin.apache.org/docs16/howto/howto_use_restapi.html#build-cube
Created 02-23-2017 07:21 PM
Hi sandeep,
I've seen that doc, but it just gives examples on how to build the cube once its created through the UI, but im looking to create the cube definition itself and cube mode and project from rest api instead of using kylin's UI.
Created 02-07-2018 11:34 PM
did you find solution to your problem , I am trying to do similar thing, creating project , model and cube from api after that building and monitoring.
Looks like they have api for monitoring and building but not for creating.
,Created 08-16-2018 02:50 PM
Appears like the documentation and possibly the capabilities are expanded in the time since the OP.
Check out how to Build Cube Via RestFul API here:
http://kylin.apache.org/docs16/howto/howto_build_cube_with_restapi.html