You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@kylin.apache.org by "XiaoXiang Yu (JIRA)" <ji...@apache.org> on 2019/01/21 15:41:00 UTC

[jira] [Commented] (KYLIN-3778) Invalid data source for each project at project level

    [ https://issues.apache.org/jira/browse/KYLIN-3778?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16748031#comment-16748031 ] 

XiaoXiang Yu commented on KYLIN-3778:
-------------------------------------

Thank you , [~caiyt2001]
Since KYLIN-3315 has introduce new feature for project level configuration of data source, but it looks like it miss some front-end change. 
Currently the request sent by front end miss param project, so the back end know nothing about which project is user ask for.

 

You can check following code in TableController.

 

 

/**
* Show all databases in Hive
*
* @return Hive databases list
* @throws IOException
*/
@RequestMapping(value = "/hive", method = \{ RequestMethod.GET }, produces = \{ "application/json" })
@ResponseBody
private List<String> showHiveDatabases(@RequestParam(value = "project", required = false) String project) throws IOException {
 try {
 return tableService.getSourceDbNames(project);
 } catch (Throwable e) {
 logger.error(e.getLocalizedMessage(), e);
 throw new InternalErrorException(e.getLocalizedMessage());
 }
}

> Invalid data source for each project at project level
> -----------------------------------------------------
>
>                 Key: KYLIN-3778
>                 URL: https://issues.apache.org/jira/browse/KYLIN-3778
>             Project: Kylin
>          Issue Type: Bug
>          Components: RDBMS Source
>    Affects Versions: v2.6.0, v2.5.2
>            Reporter: caiyinting
>            Assignee: XiaoXiang Yu
>            Priority: Major
>             Fix For: v2.6.1
>
>
> 按照 https://issues.apache.org/jira/browse/KYLIN-3315应该已经支持每个项目都可以独立配置自己的数据源了,测试了下2.5.2 和从master 下载编译的版本 都不支持这个功能
> 请帮忙看下怎么解决,谢谢!



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)