kylin-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "lk_kylin"<lk_ky...@163.com>
Subject can't get hive table by restful api
Date Wed, 08 Nov 2017 01:15:02 GMT
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 
Mime
View raw message