MongoDB / Olap4j的Pentaho分析报告

时间:2018-10-08 10:04:09

标签: mongodb pentaho mondrian olap4j

我必须通过Mondrian 4将pentaho 8.1 GA与MongoDB集成在一起才能使用Analysis Report。 我遵循了5.1版的Pentaho官方文档(使MongoDB与Analyzer配合使用),Pentaho 8.1缺少该文档: https://help.pentaho.com/Documentation/5.1/0N0/0S0/010

我已经将olap4j.properties文件配置如下:

mongoDB6.name=mongoDB6
mongoDB6.className=org.pentaho.platform.plugin.services.connections.PentahoSystemDriver
mongoDB6.connectString=jdbc:mondrian4:Host=<host>;dbname=DB{name='<db name>'};DataServicesProvider=com.pentaho.analysis.mongo.MongoDataServicesProvider;Catalog=C:/app/Pentaho/server/pentaho-server/pentaho-solutions/system/mongoDB6.xml;

但是我总是收到以下错误:

org.pentaho.platform.plugin.action.olap.IOlapServiceException: java.sql.SQLException: No suitable driver found for jdbc:mondrian4:Host=escher; dbname=DB{name='dwh'}; DataServicesProvider=com.pentaho.analysis.mongo.MongoDataServicesProvider; Catalog=C:/app/Pentaho/server/pentaho-server/pentaho-solutions/system/mongoDB6.xml
 at org.pentaho.platform.plugin.action.olap.impl.OlapServiceImpl.makeOlap4jConnection(OlapServiceImpl.java:815)
 at org.pentaho.platform.plugin.action.olap.impl.OlapServiceImpl.getConnection(OlapServiceImpl.java:699)
 at org.pentaho.platform.plugin.action.mondrian.mapper.MondrianAbstractPlatformUserRoleMapper.getMondrianRolesFromCatalog(MondrianAbstractPlatformUserRoleMapper.java:124)
 at org.pentaho.platform.plugin.action.mondrian.mapper.MondrianAbstractPlatformUserRoleMapper.mapConnectionRoles(MondrianAbstractPlatformUserRoleMapper.java:188)
 at org.pentaho.platform.plugin.services.connections.mondrian.MDXConnection.mapPlatformRolesToMondrianRolesHelper(MDXConnection.java:200)
 at org.pentaho.platform.plugin.services.connections.mondrian.MDXOlap4jConnection.connect(MDXOlap4jConnection.java:96)
 at org.pentaho.platform.plugin.services.connections.mondrian.MDXOlap4jConnection.setProperties(MDXOlap4jConnection.java:236)
 at org.pentaho.platform.engine.services.connection.PentahoConnectionFactory.getConnection(PentahoConnectionFactory.java:126)
 at com.pentaho.analyzer.service.impl.OlapConnectionManagerImpl.createConnection(SourceFile:148)
 at com.pentaho.analyzer.service.impl.OlapConnectionManagerImpl.createConnection(SourceFile:75)

[...]
Caused by: java.sql.SQLException: No suitable driver found for jdbc:mondrian4:Host=escher; dbname=DB{name='dwh'}; DataServicesProvider=com.pentaho.analysis.mongo.MongoDataServicesProvider; Catalog=C:/app/Pentaho/server/pentaho-server/pentaho-solutions/system/mongoDB6.xml
 at java.sql.DriverManager.getConnection(DriverManager.java:689)
 at java.sql.DriverManager.getConnection(DriverManager.java:208)
 at org.pentaho.platform.plugin.action.olap.impl.OlapServiceImpl.makeOlap4jConnection(OlapServiceImpl.java:811)

您有什么建议吗?

谢谢

路卡

0 个答案:

没有答案