Kylin在不操作元数据的情况下只能通过restAPI删除segment
可通过linux命令发送http请求:
curl -X DELETE --user ADMIN:KYLIN -H "Content-Type: application/json;charset=utf-8" http://localhost:7070/kylin/api/cubes/{cube's name}/segs/{segment's name}
API参考:http://kylin.apache.org/docs/howto/howto_use_restapi.html