ZZ:How to install Mondrian

mondrian使用测试 项目中需要调研使用mondrian,自己从网上下了一个的demo,但是运行过程中遇到了一些问题,随着对问题的分析和解决也加深了对mondrian的使用。 阅读详情
How to install Mondrian

  1. Introduction
  2. Set up test data with a non-embedded database
    1. Microsoft Access
    2. Other database
  3. Deploy and run the web application with a non-embedded database
  4. Deploy and run the web application with the embedded test database
  5. How to configure Mondrian as an XML/A provider
    1. Describe the data sources in datasources.xml
    2. Configure XmlaServlet in your web.xml
  6. Miscellaneous
    1. Configuring mondrian.properties
    2. Cache setup
  7. Database compatibility
  8. Compatibility issues
    1. Weblogic 6.1 and Xerces
    2. Xalan and Tomcat
    3. Log4j and Tomcat

1. Introduction 

The core of Mondrian is a JAR that acts as "JDBC for OLAP": providing connections and executing SQL against underlying relational databases. This can be run within a surrounding application. Mondrian comes to you as binaries packaged in a number of ways:

  1. As a WAR which includes JPivot, an OLAP web application framework, and example data that can be loaded into your database of choice.
  2. As a WAR with JPivot and an embedded Derby database, which requires no additional set up apart from deployment to an application server.

Both distributions contain the Mondrian source. All necessary JARs for Mondrian are contained in the WAR /WEB-INF/lib directory.

Here is how to install a binary release:

  1. Install the Java SDK (1.4.2 or later).
  2. Download the latest binary release mondrian-version.zip from SourceForge, and unzip it.
  3. For the non-embedded distribution, set up the FoodMart dataset, as described in section 2.
  4. Set up and start the web application, as described in section 3 or 4.

If you are a Mondrian developer, there are additional instructions for accessing the Perforce source-control server and building the code in the Developer's Guide.

2. Set up test data in a non-embedded database 

The 'FoodMart' test dataset is part of the non-embedded binary distribution. It is shipped in two formats: a Microsoft Access database (demo/access/MondrianFoodMart.mdb) and in a SQL script of insert statements (demo/FoodMartCreateData.sql).

Under Windows, using the Access database is easier to set up, because all you need to do is define an ODBC data source. If you want to test using a non Access database, or if you are not using Windows, you will need to create your own empty database and load it using the MondrianFoodMartLoader utility.

2.1. Microsoft Access 

If you are using Windows, Microsoft Access is the easiest database to use for the test dataset. You just need to set up an ODBC datasource for the test dataset.

The test dataset needs to be accessed by the unit tests if you are testing with just this database, or loading into another database.

Under the 'Administrative Tools' menu, click on the 'Data Sources (ODBC)' menu item to open the ODBC Data Source Administrator. Next, create a System DSN called MondrianFoodMart pointing to MONDRIAN_HOME/demo/access/MondrianFoodMart.mdb. (This allows Mondrian to access this data source using the JDBC connect string "jdbc:odbc:MondrianFoodMart".

2.2. Other database 

If not using Access, use the MondrianFoodMartLoader utility to create a database, and load data from a SQL script.

Syntax
MondrianFoodMartLoader
    [-verbose] [-tables] [-data] [-indexes]
    -jdbcDrivers=<jdbcDrivers>
    -outputJdbcURL=<jdbcURL>
    [ [ [-outputJdbcUser=user] [-outputJdbcPassword=password] [-outputJdbcBatchSize=<batch size>] ]
    | -outputDirectory=<directory name>
    ]
    [ [-inputJdbcURL=<jdbcURL> [-inputJdbcUser=user] [-inputJdbcPassword=password] ]
    | [-inputFile=<file name>]
    ]
Options
OptionDescription
-verboseVerbose mode.
-tablesCreate tables in output JDBC, or generate CREATE TABLE statement file in output directory for all FoodMart tables, as appropriate for the output database type. If not given, the tables are assumed to exist, and will be deleted first.
-dataLoad data from input (JDBC, insert statement file) to output (JDBC, insert statement file). Any existing data is deleted first.
-indexesCreate indexes in output JDBC, or generate CREATE INDEX statement file in output directory for all FoodMart tables, as appropriate for the output database type.
-jdbcDrivers=<driver list>Comma-separated list of JDBC drivers needed to connect to the source and target databases. The JAR files containing these drivers must also be in the classpath (the -cp argument to the java command).
-outputJdbcURL=<jdbcURL>

JDBC URL for target database

-outputJdbcUser=<user>User name for target database
-outputJdbcPassword=<password>Password for target database
-outputDirectory=<directory name>Optional. Directory where DB creation scripts will be placed. Statements are in a format that will work for the database type indicated by outputJdbcURL.
-outputJdbcBatchSize=<batch size>Size of batch for JDBC INSERT statement output. Defaults to 50. If set to 1, JDBC batches are not used.
-inputJdbcURL=<jdbcURL>JDBC URL for source database
-inputJdbcUser=<user>User name for source database
-inputJdbcPassword=<password>Password for source database
-inputFile=<file name>Optional. If no input DB parameters are given, assumes data comes from this file of INSERT statements.

The usual source for the MondrianFoodMartLoader utility is a SQL script ([-inputFile=<file name>]). But you have already loaded the data into one JDBC data source (say Microsoft Access), use the -inputJdbcURL and related options to copy data to another JDBC database.

The loader uses standard J2SE JDBC, the relevant JDBC driver JARs, and some classes out of Mondrian that do not rely on additional JARs. It has been tested against Oracle, Postgres, MySQL and Microsoft Access.

If you the target is a JDBC database, you must create the necessary database or schema first. This is database-specific.

You can safely ignore any log4j warnings:

log4j:WARN No appenders could be found for logger (mondrian.rolap.RolapUtil). 
log4j:WARN Please initialize the log4j system properly.
Examples

Here are some examples to give you a general idea how MondrianFoodMartLoader is invoked. The command line you use will vary depending upon your operating system, and intended source and target data sources.

Example 1. Loading MySQL from a file on Linux

The following example is a Linux command line to create a MySQL schema called 'foodmart', and create FoodMart tables from the test dataset in the SQL scripts. First, create a foodmart database and a foodmart user:

$ mysqladmin create foodmart
$
mysql
mysql> grant all privileges on *.* to 'foodmart'@'localhost' identified by 'foodmart';
Query OK, 0 rows affected (0.00 sec)

mysql>
quit
Bye

Now load the data:

$ java -cp "/mondrian/lib/mondrian.jar:/mondrian/lib/log4j-1.2.9.jar:/mondrian/lib/eigenbase-xom.jar:/mondrian/lib/eigenbase-resgen.jar:/mondrian/lib/eigenbase-properties.jar:/usr/local/mysql/mysql-connector-java-3.0.16-ga-bin.jar"
     mondrian.test.loader.MondrianFoodMartLoader
     -verbose -tables -data -indexes
     -jdbcDrivers=com.mysql.jdbc.Driver
     -inputFile=/mondrian/demo/FoodMartCreateData.sql
     -outputJdbcURL="jdbc:mysql://localhost/foodmart?user=foodmart&password=foodmart"
Example 2. Loading PostgreSQL from Access on Windows

The following example is a Windows command line to create FoodMart tables for PostgreSQL from the test dataset in the Access database:

C:/mondrian> java -cp "C:/mondrian/lib/mondrian.jar;C:/mondrian/lib/log4j-1.2.9.jar; C:/mondrian/lib/eigenbase-xom.jar; C:/mondrian/lib/eigenbase-resgen.jar; C:/mondrian/lib/eigenbase-properties.jar; C:/mondrian/lib/postgres-jdbc.jar"
     mondrian.test.loader.MondrianFoodMartLoader
     -verbose -tables -data -indexes
     -jdbcDrivers="org.postgresql.Driver,sun.jdbc.odbc.JdbcOdbcDriver"
     -inputJdbcURL="jdbc:odbc:MondrianFoodMart"
     -outputJdbcURL="jdbc:postgresql://localhost/foodmart"
     -outputJdbcUser=postgres
     -outputJdbcPassword=password

3. Deploy and run the web application with a non-embedded database 

  1. Install Tomcat (version 5.0.25 or later).
  2. From the unzipped binary release, explode lib/mondrian.war to TOMCAT_HOME/webapps/mondrian
  3. Open the mondrian.properties file in TOMCAT_HOME/webapps/mondrian and customize the  mondrian.jdbcDrivers properties for the database you set up from the instructions above.
  4. Open the web.xml file in TOMCAT_HOME/webapps/mondrian/WEB-INF and customize the two connect strings there to the same database parameters for the FoodMart database you installed as per the above instructions. That is,
    Provider=mondrian;Jdbc=jdbc:odbc:MondrianFoodMart;Catalog=/WEB-INF/queries/FoodMart.xml;JdbcDrivers=sun.jdbc.odbc.JdbcOdbcDriver;
    becomes
    Provider=mondrian;Jdbc=jdbc:mysql://localhost/foodmart?user=foodmart&#38;password=foodmart;Catalog=/WEB-INF/queries/FoodMart.xml;JdbcDrivers=com.mysql.jdbc.Driver;
  5. Modify the fourheir.jsp, mondrian.jsp, colors.jsp and arrows.jsp files in the TOMCAT_HOME/webapps/mondrian/WEB-INF/queries folder. Modify the line
    <jp:mondrianQuery id="query01" jdbcDriver="sun.jdbc.odbc.JdbcOdbcDriver" jdbcUrl="jdbc:odbc:MondrianFoodMart" catalogUri="/WEB-INF/queries/FoodMart.xml">

    to the same database parameters for the FoodMart database you installed as per the above instructions. For MySQL, this would be something like the following:

    <jp:mondrianQuery id="query01" jdbcDriver="com.mysql.jdbc.Driver" jdbcUrl="jdbc:mysql://localhost/foodmart?user=foodmart&password=foodmart" catalogUri="/WEB-INF/queries/FoodMart.xml">

     

  6. Copy the following files:
    • If needed, copy your JDBC driver JAR to TOMCAT_HOME/common/endorsed
    • Copy xalan.jar to TOMCAT_HOME/common/endorsed
  7. Start your database, if needed.
  8. Hit http://localhost:8080/mondrian.

4. Deploy and run the web application with the embedded test database 

  1. From the unzipped embedded database binary release, explode lib/mondrian-embedded.war to TOMCAT_HOME/webapps/mondrian-embedded
  2. Start up Tomcat
  3. Hit http://localhost:8080/mondrian-embedded

5. How to configure Mondrian as an XML/A provider 

To will setup XMLA service, follow these steps.

1. Describe the data sources in datasources.xml 

In WEB-INF directory of your webapp, create a file called datasources.xml, with content like this:

<?xml version="1.0"?>
<DataSources>
  <DataSource>
    <DataSourceName>MondrianFoodMart</DataSourceName>
    <DataSourceDescription>FoodMart 2000 Data Warehouse From MS Analysis Services</DataSourceDescription>
    <URL>http://localhost:8080/mondrian/xmla</URL>
    <DataSourceInfo>Provider=mondrian; Jdbc=jdbc:odbc:MondrianFoodMart; JdbcDrivers=sun.jdbc.odbc.JdbcOdbcDriver</DataSourceInfo>
    <ProviderType>MDP</ProviderType>
    <AuthenticationMode>Unauthenticated</AuthenticationMode>
    <Catalogs>
        <Catalog name="FoodMart">
            <Definition>/WEB-INF/schema/FoodMart.xml</Definition>
        </Catalog>
        <Catalog name="Marketing">
            <DataSourceInfo>Provider=mondrian; Jdbc=jdbc:odbc:MarketingDB; JdbcDrivers=sun.jdbc.odbc.JdbcOdbcDriver</DataSourceInfo>
            <Definition>/WEB-INF/schema/Marketing.xml</Definition>
        </Catalog>
    </Catalogs>
  </DataSource>

  <DataSource>
    <DataSourceName>PostgreSQLTest</DataSourceName>
    <DataSourceDescription>Test Data Warehouse On PostgreSQL</DataSourceDescription>
    <URL>http://localhost:8080/mondrian/xmla</URL>
    <DataSourceInfo>Provider=mondrian; Jdbc=jdbc:postgresql://localhost/olap; JdbcDrivers=org.postgresql.Driver; JdbcUser=pgsql; JdbcPassword=pgsql</DataSourceInfo>
    <ProviderName>Mondrian</ProviderName>
    <ProviderType>MDP</ProviderType>
    <AuthenticationMode>Unauthenticated</AuthenticationMode>
    <Catalogs>
        <Catalog name="Test">
            <Definition>/WEB-INF/schema/TestPgsql.xml</Definition>
        <Catalog>
    </Catalogs>
  </DataSource>
</DataSources>

<ProviderType> and <AuthenticationMode> are ignored because the XML/A implementation currently only supports 'MDP' and 'Unauthenticated'.

Multiple data sources and multiple catalogs

If you intend to use Mondrian with Microsoft's ADOMD.NET client library or Simba's O2X bridge, the data sources file must have precisely one <DataSource> element. These clients will ignore all but one data source. Other XML/A clients, such as Rex, work fine with multiple data sources.

Note that each catalog has a name attribute, and the URI (path) of an XML schema file. The name of the catalog must match the name attribute in the schema file (for example <Schema name="FoodMart">).

Whether  you use one data source or several, the catalogs in the datasources.xml file must have unique names.

5.2. Configure XmlaServlet in your web.xml 

For example:

<servlet>
  <servlet-name>MondrianXmlaServlet</servlet-name>
  <servlet-class>mondrian.xmla.impl.DefaultXmlaServlet</servlet-class>
</servlet>

6. Miscellaneous 

6.1. Configuring mondrian.properties 

Properties are described in the Configuration Guide.

6.2. Cache setup 

You will need to specify the amount of memory available to the cache using the -Xms Java VM option, for example -Xms256m for 256 megs of ram for the Java VM.

7. Database compatibility 

Mondrian is known to run on the following databases.

  1. Apache Derby (formerly known as Cloudscape)
  2. Firebird
  3. hsqldb
  4. IBM DB2
  5. Informix
  6. Ingres
  7. Interbase
  8. LucidDB
  9. Microsoft Access
  10. Microsoft SQL Server
  11. MySQL
  12. Oracle
  13. PostgreSQL
  14. Sybase
  15. Teradata

Mondrian can work on almost any JDBC data source, so even if your database doesn't appear in the above list, give it a try. Mondrian can generally figure out the capabilities of the database from the JDBC driver, and generate SQL accordingly.

If you get Mondrian working on another database, drop us a line. Let us know which driver you used, the version of your database, property settings, and any other tweaks which were required.

General database tips

For sample connect strings, look in mondrian.properties. There are are sample connect strings for most databases in there.

Ingres

Andy Grimm writes:

In addition, I had to run a perl script against the demo sql file:

> perl -pi -e "s/:00/.0/:00/g" FoodMartCreateData.sql

That drops the ".0" off each timestamp to make it a valid DATE. Our next release will support timestamps, so this is a short-term fix that could go into Release Notes.

 

Sybase

mizar_sf writes:

I tried some solutions to get mondrian (I used 2.1RC) connected with a Sybase ASE [version 12.5] server. Finally I found this solutions:

  • Downloaded a jdbc3 compliant driver like jtds-1.2.jar from sourceforge.
  • Placed the driver in TOMCAT_HOME/common/endorsed
  • In configuration files like
    • mondrian/WEB-INF/datasources.xml
    • mondrian/WEB-INF/web.xml
    I modified the parameters line in this way:
    Provider=mondrian; JdbcUser=userName; JdbcPassword=userPass; Jdbc=jdbc:jtds:sybase://xxx.xxx.xxx.xxx:port/dbName; JdbcDrivers=net.sourceforge.jtds.jdbc.Driver; Catalog=/WEB-INF/queries/myCatalog.xml
    (The datasources.xml doesn't need to be modified if you are only testing the db, but if you are using something like OPENI you have to.)

8. Compatibility issues 

8.1. Weblogic 6.1 and Xerces 

Weblogic 6.1 ships with an older, incompatible, version of Xerces. The symptom is the error

java.lang.VerifyError: (class: org/eigenbase/xom/wrappers/XercesDOMParser, method: parse signature: (Lorg/xml/sax/InputSource;)Lorg/w3c/dom/Document;) Incompatible object argument for function call
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:120)
at org.eigenbase.xom.XOMUtil.createDefaultParser(XOMUtil.java:165)
at org.eigenbase.resgen.Util.load(Util.java:49)
...

The solution is to place xml-apis.jar and xercesImpl.jar before weblogic.jar on your class-path.

Generally, Mondrian uses whichever JAXP-compliant XML parser is provided by the system. Unfortunately Weblogic's parser cannot be set to non-validating mode, and Mondrian needs this. Therefore, in a Weblogic environment, Mondrian explicitly uses Xerces.  Fyi, this note describes how to change Weblogic's default XML parser.

8.2. JDK, Xalan and Tomcat 

Mondrian binaries, as shipped, require JDK 1.4.x, Xalan 2.6.0, and Tomcat 5.0.25 or later. Things work better that way.

If you are running JDK 1.3.x, you will need some extra JAR files, because JDK 1.3 does not include the an XML parser. Copy xalan.jar and xml-apis.jar to TOMCAT_HOME/common/lib. (or TOMCAT_HOME/common/endorsed, if your version of Tomcat has one). If you get the configuration wrong, a typical error is

java.lang.VerifyError: Cannot inherit from final class
  at java.lang.ClassLoader.defineClass0(Native Method)
  at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
  at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
  at org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1664)
  at org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:953)
  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1394)
  at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1274)
  at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
  at org.apache.xerces.impl.XMLNSDocumentScannerImpl.createContentDispatcher(Unknown Source)
  at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.<init>(XMLDocumentFragmentScannerImpl.java:249)
  at org.apache.xerces.impl.XMLDocumentScannerImpl.<init>(XMLDocumentScannerImpl.java:245)
  at org.apache.xerces.impl.XMLNSDocumentScannerImpl.<init>(Unknown Source)
  at org.apache.xerces.parsers.IntegratedParserConfiguration.createDocumentScanner(Unknown Source)
  at org.apache.xerces.parsers.DTDConfiguration.<init>(DTDConfiguration.java:367)
  at org.apache.xerces.parsers.StandardParserConfiguration.<init>(StandardParserConfiguration.java:198)
  at org.apache.xerces.parsers.IntegratedParserConfiguration.<init>(Unknown Source)
  at org.apache.xerces.parsers.IntegratedParserConfiguration.<init>(Unknown Source)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

This error occurred under JDK 1.3.1, Tomcat 4.1.18, Xalan 2.4.1. The solutions to the error were (a) move to JDK 1.4 and remove xml-apis.jar and xercesImpl.jar from mondrian.war, or (b) revert to Xalan 2.3.1.

8.3. Log4j and Tomcat 

The Mondrian WARs come packaged with a version of log4j.jar. This may conflict with your app server, such as JBoss, and cause errors in the log about log4j appenders. The fix is to remove the log4j.jar from the Mondrian WAR.

DuckDB+Python实现多维聚合分析实战 多维聚合是OLAP分析的核心能力,指在时间、区域、产品等多个业务维度构成的立方体中,进行切片(Slice)、切块(Dice)、钻取(Drill Down)和旋转(Pivot)等动态指标计算。其技术原理依赖于分层维度建模、GROUPING SETS/CUBE语义保证的聚合一致性,以及跨粒度比率计算等关键操作。相比传统SQL GROUP BY的组合爆炸与维护困境,现代轻量级方案如DuckDB凭借原生ROLLUP/CUBE支持、零配置嵌入式特性及与Pandas无缝协同,显著提升多维数据操作(Data Manipu 阅读详情

相关推荐

eigenbase-resgen-1.3

[DIR] Parent Directory - [ ] eigenbase-resgen-1.3.3-javadoc.jar 06-Dec-2013 18:19 124K [ ] eigenbase-resgen-1.3.3-javadoc.jar.md5 06-Dec-2013 18:19 32 [ ] eigenbase-resgen-1.3.3-javadoc.jar.sha1 06-Dec-2013 18:19 40 [ ] eigenbase-resgen-1.3.3-sources.jar 06-Dec-2013 18:19 45K [ ] eigenbase-resgen-1.3.3-sources.jar.md5 06-Dec-2013 18:19 32 [ ] eigenbase-resgen-1.3.3-sources.jar.sha1 06-Dec-2013 18:19 40 [ ] eigenbase-resgen-1.3.3.jar 06-Dec-2013 18:19 64K [ ] eigenbase-resgen-1.3.3.jar.md5 06-Dec-2013 18:19 32 [ ] eigenbase-resgen-1.3.3.jar.sha1 06-Dec-2013 18:19 40 [ ] eigenbase-resgen-1.3.3.pom 06-Dec-2013 18:19 4.3K [ ] eigenbase-resgen-1.3.3.pom.md5 06-Dec-2013 18:19 32 [ ] eigenbase-resgen-1.3.3.pom.sha1

mondrian 配置XMLA例子2

XMLA配置好之后需要先使用XMLA test page测试看是否配置正确 Mondrian is an open source Java OLAP server under Pentaho. One of its great feature is that it can be act asXML/A (XML for Analysis) server that can be consu

Athenaer的专栏 1874

eigenbase-xom.jar

jar包,官方版本,自测可用

Mondrian中Schema解析流程

一、解析XML生成Schema 每个RolapConnection有一个RolapSchema,创建RolapConnection时,会自动调用RolapConnection的构造函数,通过RolapSchema的load方法,传入Catalog的XML形式的Schema,使用org.eigenbase.xom.XOMUtil创建一个XML的解析器,将XML传入解析器,返回一个DOMWrappe

expleeve 1887

全国30米分辨率逐年植被覆盖度(FVC)数据集

植被覆盖度是描述地表植被的重要参数与生态环境的基本指标,在大气圈、土壤圈、水圈和生物圈中都占据着重要的地位,区域及全球范围的植被覆盖度估算对植被及相关领域的研究具有重要意义。往往参照《土壤侵蚀分类分级标准》,将植被覆盖度划分为4个等级:<30%为低覆盖度、30%—45%为中低覆盖度、45%—60%为中覆盖度、>60%为高覆盖度。本数据集包括1986至2022年间,全国植被覆盖度数据,FVC范围值为0-1,数据为浮点型,GeoTIFF格式。NDVImax 和NDVImin分别为区域内最大和最小的NDVI值。

地球资源数据云的官方博客 1975

GEOS-Chem笔记——模式下载安装+驱动数据+运行流程

看过我博客的会发现我写了很多CESM的笔记,但是说实话,平时科研我其实更多时候是GEOS-Chemuser。之所以写了很多CESM笔记,其实是因为不会,就边学边写。然后GEOS-Chem已经用比较熟了,所以也没想过做笔记啥的。但是我发现越来越多朋友私信我各种CESM问题,我觉得我可能给大家营造了一种我是CESM达人的错觉。感觉自己有点跑偏了呢。公平起见,我觉得我有必要补充点GEOS-Chem笔记。 GEOS-Chem是研究大气化学的人常用的大气化学传输模式,在全世界范围的大气化学研究组中被广泛使用。不过.

砍柴姑娘Jourosy的博客 1万+

Saku实力挖坑记!!(十八)

Saiku实力挖坑记!!!!!!! 我可真真真的是个挖坑小能手呀!不知道你们有没有遇到过这个异常:Enclosure class mondrian.olap.MondrianDef not found 如果你编译过Mondrian或者尝试过编译Mondrian源码就会知道 MondrianDef这个类是ant命令生成的一个类,如果是自己整合Mondrian与Saiku,缺失这个类很有可...

weixin_30755709的博客 186

反激变压器设计学习笔记

反激变压器匝比感量设计

m0_55419117的博客 5282

kylin安装步骤和注意的点

下载官方的tar包后,解压,配置KYLIN_HOME和HIVE_CONF(hive-site.xml所在的目录)配置conf/kylin.properties和tomcat/conf/server.xmlconf/kylin.properties根据自己需要去配置,主要配置下hive和hbase的相关参数,tomcat/conf/server.xml主要有2个地方需要注意:1.keystore &...

weixin_34326179的博客 498

Rancher操作手册(v2.7.5-rc1)

选择需要创建ingress的命名空间 ==》填写ingress名称 ==》在“规则”一栏,选择“Prefix” ==》输入访问路径 ==》选择访问路径对应的service ==》如果需要继续添加访问路径,点击“添加路径”,重复前面的步骤即可。选择需要创建Deployment的命名空间 ==》填写Deployment名称 ==》选择通用 ==》填写容器名称 ==》填写镜像 ==》选择镜像的拉取密文 ==》点击添加端口或Service。点击左侧菜单栏的集群里的“项目/命名空间”,点击右下角的“创建命名空间”。

weixin_60197334的博客 5584

解决linux 2.5G网卡驱动问题

解决linux 2.5G网卡驱动问题 关键词:2.5G网卡驱动,ubuntu,安装,2.5G Ethernet LINUX driver,Realtek网卡驱动 由于2.5G网卡较新,各linux发行版的通用驱动已不适用,新装的系统会出现无法上网问题,由于国内网络环境去Realtek官网很难下载到驱动文件,故本文提供github上的2.5G Ethernet LINUX driver r8125 for kernel up to 5.6的版本驱动文件r8125-9.003.05.tar.bz2各位可以自

poorguy_aos的博客 1万+

多维聚合实战:从SQL GROUP BY到OLAP立方体的工程化落地

多维聚合是现代数据分析的核心能力,本质是基于维度建模对高基数业务数据进行可复现、可交互的分组聚合与交叉分析。其原理源于OLAP立方体思想——通过定义稳定维度(如时间、地域、产品)和可加性度量(如销售额、完课率),实现切片、切块、钻取、旋转等动态探查。技术价值在于打破传统SQL GROUP BY的静态降维局限,支撑BI自助分析与实时决策。典型应用场景涵盖电商销售归因、用户行为路径分析、教育平台完课率监控等。本文聚焦工程落地,覆盖维度建模规范、ClickHouse/Polars/DuckDB等工具链选型及Lam

chuiqi9947的博客 411

Allegro如何改变线宽操作指导

用Allegro做pcb设计的时候,改变走线线宽是非常常用的功能,如下图。线宽目前是12mil,需要把线宽改成15mil。如何改变线宽操作指导。

weixin_54787054的博客 4260

java常用jar包解释

dom4j-1.6.1.jar  解析XML dwr.jar 是一个用于改善web页面与Java类交互的远程服务器端Ajax开源框架 ehcache-1.2.3.jar可以对页面、对象、数据进行缓存,同时支持集群/分布式缓存 eigenbase-properties.jar eigenbase-resgen.jar eigenbase-xom.jar fastjson-1.2.11...

风行天下 502

uniapp+coze制作app智能体

使用 UniApp 配合 Coze 平台来开发一个具备 AI 智能体的 App,是一个高效且实用的选择。其核心思路主要有两种:一种是通过,另一种则是通过实现更自主的集成。下面的流程图可以帮你快速了解这两种方案的全貌。下面,我们来详细看看这两种方案分别如何操作。

suny8的专栏 578

详解AUTOSAR:DaVinci Configurator导入ARXML配置(拓展篇—2)

DaVinci Configurator导入ARXML配置。

不脱发的程序猿 3352

mondrian支持的sql函数oracle和postgresql实现以及深度功能实现

2019独角兽企业重金招聘Python工程师标准>>> ...

weixin_34355881的博客 319

IDEA的使用指南

IDEA基于java的使用手册,可以最快速的上手,在使用中不断的丰富自己的使用技巧.

找不到sun.jdbc.odbc.JdbcOdbcDriver的解决办法

使用JDK8+JDBC连接数据库提示 sun.jdbc.odbc.JdbcOdbcDriver找不到的错误。原因是jdk8已经调整了ODBC的连接库,所以在rt.jar里面示找不到该类的,解决办法是使用jdk7替换jdk8,问题解决。 具体步骤 下载JDK 7或JRE 7。 转到JRE \ lib文件夹并找到rt.jar。 将其解压缩(如果您安装了WinRAR或7zip),或者您可以将其重命名为...

qq_42839596的博客 1万+

迈瑞BS系列全自动生化分析仪LIS协议接口手册(内含HL7和ASTM)

迈瑞BS系列全自动生化分析仪LIS协议接口手册,内含HL7和ASTM)

RU DOS版、EFI版32bit/64bit BIOS常用工具

DOS版、EFI版的RU工具,可用来查看IO、MEM、PCI、SMBIOS等资源。亲测在EFI SHELL下可用。

Mondrian 3.0.4 学习总结

Mondrian 是一个用 Java 写成的 OLAP 引擎,是开源项目 Pentaho 的一部分。它实现了 MDX 语言、XML 解析、JOLAP 规范。它从 SQL 和其它数据源读取数据并把数据聚集在内存缓存中,然后经过 Java API用多维的方式对结果进行展示,同时可以不写 SQL就能分析存储于 SQL 数据库的庞大数据集,可以封装 JDBC数据源并把数据以多维的方式展现出来。

zhangzhongzhong的博客 7423

贝叶斯统计 [韦来生编]

贝叶斯(Bayes)统计是近几十年来迅速发展起来的数理统计的一个重要分支。贝叶斯方法与经典统计方法的主要不同之处是进行统计推断时除了利用样本信息外,还要利用参数的先验信息,因此可以提高统计推断或统计决策的效果。它在经济、金融、生物、医学、自然科学和社会科学等许多领域具有广泛的应用。贝叶斯方法的研究已渗透到了统计学的几乎所有领域。作者在给中国科学技术大学概率论与数理统计专业本科生开设的“数理统计”课程中有一章专门讲授“贝叶斯方法和统计决策理论”,近十年来也给中国科学技术大学概率统计专业研究生开设过几次“贝叶斯分析”课。本书是在对过去讲稿的内容作了适当的增减和调整的基础上完成的。  本书共分六章。第1章是绪论,介绍了贝叶斯统计的若干基本概念,同时对必要的数理统计的基础知识有重点地作了回顾。第二章介绍了确定先验分布的若干可供选择的方法。第三章介绍了几类常见统计模型参数的后验分布的主要结果和计算方法。第四章和第五章分别介绍了“贝叶斯统计推断”和“贝叶斯统计决策”的内容。第六章介绍了贝叶斯统计计算的若干方法,包括蒙特卡洛方法和马尔可夫链蒙特卡洛(MCMC)方法以及相关统计软件的简介。本书的每一章附右大量的例题和习题,书末附有常用的几个表格和部分习题解答供读者查用。  大约可在54学时内讲授本书的第1章至第六章的主要内容,教师可根据学时需要选讲本书第1章至第六章的部分内容。书中标“*”号的章节可略去不讲,留给读者作为阅读材料。第六章例题中的R代码和部分例题的数据文件等可从作者个人主页下载。  作者在编写本书的过程中参考了J.O.Berger教授的《统计决策论及贝叶斯分析》和茆诗松教授编写的《贝叶斯统计》等书中的一些内容,以及《贝叶斯分析》一书中由张伟平博士编写的有关贝叶斯统计计算的一些内容。在此表示衷心感谢。  本书编写准备过程中,中国科学技术大学统计与金融系的几个研究生帮助完成了本书部分中文的录入和排版,作者对他们的辛勤工作表示真诚的感谢。高等教育出版社为本书的出版给予了大力支持。在此一并致谢。

olap分析平台的设计与实现(二)_数据库读写

这一部分:开发配置及olap4j maven 下引入mondrian相关的包:这里我引入的是mondrain3.14的版本。 <dependency> <groupId>net.sf.json-lib</groupId> <artifactId&......

wh_xia_jun的专栏 1160

FoodMart数据仓库mysql表及数据初始化及重度汇总脚本

数据仓库FoodMart完整初始化表及数据Mysql版-数仓入门必知必会案例

数据科学汇集 3186

hive报错---安装系列六

Mondrian对Hive的支持 一.测试Mondrian对Hive的支持 1.创建一个web项目,把olap4j.jar  Mondrian.jar以及hive相关的jar包放进项目中 2. 准备四张表 Customer - 客户信息维表 Product - 产品维表 ProductType - 产品类表维表 Sale - 销售记录表: 在hive shell下执行下面命令: crea...

独立开发,substack顶级编辑 3844

olap分析平台的设计与实现(十七)- springboot集成mondrian

开发环境搭建: 1个想法一通向导搞定spring boot ps:使用IDEA构建一个SpringBoot + Hibernate + Gradle项目 这一步,算是建造了spring + hibernate,后面还有连接池,换成mybatis的问题。 idea中Alt + Enter导入包,和eclipse有点不一样。 甲骨文罐子??:ps: gradle开发springboot项目...

wh_xia_jun的专栏 2284

Mondrian初涉入门--运行自带演示程序FoodMart配置步骤

最近刚接触Mondrian,准备学习这个强大的开源Olap工具,首先从它自带的demo例子程序学起,下面将在windows平台给出几种连接数据库(odbc数据源、mysql、oracle)的配置方法。一、对Mondrian的介绍(引用官方的介绍):    Mondrian is an OLAP (online analytical processing) database written in J

songgl的专栏 6850
上一篇: 项目软件过程的迭代设计作业(案例设计)
下一篇: 一个低级问题的低级答案
songgl
博客等级 码龄20年 20粉丝 20原创
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值