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
>

Reply via email to