简体   繁体   English

通过与wso2 DAS集成在wso2 ML中创建数据集

[英]Create dataset in wso2 ML by integration with wso2 DAS

I want create a new dataset in wso2 ML with source type equal DAS. 我想在wso2 ML中创建一个新的数据集,其源类型等于DAS。 I am runing ML in https://localhost:9444 and DAS in https://localhost:9445 . 我在https:// localhost:9444中运行ML并在https:// localhost:9445中运行DAS。 When I select DAS as source type, I dont get data from DAS. 当我选择DAS作为源类型时,我没有从DAS获取数据。 In Das I have three tables. 在达斯,我有3张桌子。 View image. 看图片。

在此处输入图片说明

I reviewed this documentation: https://docs.wso2.com/display/ML100/Integration+with+WSO2+Data+Analytics+Server and verified analytics-datasource.xml in DAS and ML where ANALYTICS_FS_DB, ANALYTICS_EVENT_STORE and ANALYTICS_PROCESSED_DATA_STORE have the same configuration in the two systems. 我查看了此文档: https : //docs.wso2.com/display/ML100/Integration+with+WSO2+Data+Analytics+Server并在DAS和ML中验证了analytics-datasource.xml,其中ANALYTICS_FS_DB,ANALYTICS_EVENT_STORE和ANALYTICS_PROCESSED_DATA_STORE具有相同的内容在两个系统中进行配置。

You need to provide paths to WSO2 DAS datasources as URLs in <ML_HOME>/repository/conf/datasources/analytics-datasources.xml file for given DBs. 您需要在给定<ML_HOME>/repository/conf/datasources/analytics-datasources.xml文件中以URL的形式提供WSO2 DAS数据源的路径。

eg For WSO2_ANALYTICS_EVENT_STORE_DB the value of <url> element should look like below, 例如,对于WSO2_ANALYTICS_EVENT_STORE_DB<url>元素的值应如下所示,

<url>jdbc:h2:/home/user/wso2das-3.0.0/repository/database/ANALYTICS_EVENT_STORE;AUTO_SERVER=TRUE;DB_CLOSE_ON_EXIT=FALSE;LOCK_TIMEOUT=60000</url>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM