/kylin/api/tables/{project}/{tableName} is the right format
2017-11-08
lk_kylin
发件人:Billy Liu <[email protected]>
发送时间:2017-11-08 12:51
主题:Re: can't get hive table by restful api
收件人:"user"<[email protected]>
抄送:
Kylin has refactored the table into project recently.
Please try /kylin/api/{project}/{tableName}
2017-11-08 9:15 GMT+08:00 lk_kylin <[email protected]>:
hi,all:
I installed kylin 2.2.0 ,and build the sample cube,when I try the rest
api I got error:
my code :
this line work fine :
ResponseEntity<String> b = restTemplate.getForEntity("http://" +
serverIp + "/kylin/api/model/{modelName}", String.class, "kylin_sales_model");
this line got error:
ResponseEntity<String> a = restTemplate.getForEntity("http://" +
serverIp + "/kylin/api/tables/{tableName}", String.class, "KYLIN_SALES");
error from kylin.log:
WARN [http-bio-7070-exec-9] servlet.PageNotFound:1176 : No mapping
found for HTTP request with URI [/kylin/api/tables/KYLIN_SALES] in
DispatcherServlet with name 'kylin'
I don't know why?
2017-11-08
lk_kylin