Thank you for pointing out this mistake. A new document update is submitted. https://github.com/apache/kylin/commit/bf5f126e04a852d8b2808ec575ad3ed5d30dd2d4 The website will be updated one day later.
2017-11-08 14:47 GMT+08:00 lk_kylin <[email protected]>: > /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 >> > >
