- 浏览: 2539406 次
- 性别:
- 来自: 成都
文章分类
最新评论
-
nation:
你好,在部署Mesos+Spark的运行环境时,出现一个现象, ...
Spark(4)Deal with Mesos -
sillycat:
AMAZON Relatedhttps://www.godad ...
AMAZON API Gateway(2)Client Side SSL with NGINX -
sillycat:
sudo usermod -aG docker ec2-use ...
Docker and VirtualBox(1)Set up Shared Disk for Virtual Box -
sillycat:
Every Half an Hour30 * * * * /u ...
Build Home NAS(3)Data Redundancy -
sillycat:
3 List the Cron Job I Have>c ...
Build Home NAS(3)Data Redundancy
MetaBase UI Console(1)Run from Jar File
Metabase source codes are here
https://github.com/metabase/metabase
How to Build the Metabase Jar
Get the source code
> git clone https://github.com/metabase/metabase
Here is my Blog to install the ENV
http://sillycat.iteye.com/blog/2400566
> brew update
> brew search clojure
==> Formulae
clojure clojurescript
> brew install leiningen
> brew install clojurescript
Verify the installation
> lein repl
nREPL server started on port 63805 on host 127.0.0.1 - nrepl://127.0.0.1:63805
REPL-y 0.3.7, nREPL 0.2.12
Clojure 1.8.0
Java HotSpot(TM) 64-Bit Server VM 1.8.0_161-b12
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
Results: Stored in vars *1, *2, *3, an exception in *e
user=> (+ 1 2 3 4 5 6)
21
Set Up that on Eclipse
https://dev.clojure.org/display/doc/Getting+Started+with+Eclipse+and+Counterclockwise
Search this “Counterclockwise”, Install the PLUGIN
Try to run the build command on MAC
>bin/build
Exception:
Building translation resources failed, please install 'gettext', or build without translations by running './bin/build no-translations'.
Cannot find module 'underscore'
Solution:
> npm install
Check my ENV
> java -version
java version "1.8.0_161"
> node --version
v8.11.3
> brew install yarn
> yarn --version
1.12.3
Exception:
> error metabase@0.0.0: The engine "node" is incompatible with this module. Expected version ">=8.11.4". Got "8.11.3"
Solution:
Upgrade NODE
> wget https://nodejs.org/dist/v8.13.0/node-v8.13.0.tar.gz
> wget https://nodejs.org/dist/v9.9.0/node-v9.9.0.tar.gz
For example
> ./configure --prefix=/Users/hluo/tool/node-v8.13.0
Then make and make install the version 8.13.0, it works pretty well
I get met abase build here
Created /Users/hluo/install/metabase/target/uberjar/metabase-metabase-SNAPSHOT.jar
Created /Users/hluo/install/metabase/target/uberjar/metabase.jar
Try with nodeJS 9.9.0, It works well. All different versions of NODEJS are here https://nodejs.org/dist/
Copy the file metabase-metabase-SNAPSHOT.jar
Create the directory
> mkdir ~/tool/metabase-master
> mv metabase-metabase-SNAPSHOT.jar ~/tool/metabase-master/metabase-metabase-2018-11-27.jar
Simple command to start metabase
> java -jar ./metabase-metabase-2018-11-27.jar
Exception:
Exception in thread "main" java.lang.NoClassDefFoundError: clojure/lang/Var
at metabase.core.<clinit>(Unknown Source)
Caused by: java.lang.ClassNotFoundException: clojure.lang.Var
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Solution:
Change to use the other JAR file
> cp metabase.jar ~/tool/metabase-master/metabase-metabase-2018-11-27.jar
Or we can directly download the JAR file from here http://downloads.metabase.com/v0.31.1/metabase.jar
More options for start the command
#H2
export MB_DB_TYPE=h2
export MB_DB_FILE=/path/to/my/h2.db
#mysql
export MB_DB_TYPE=mysql
export MB_DB_DBNAME=metabase
export MB_DB_PORT=3306
export MB_DB_USER=metabase
export MB_DB_PASS=xxxxxxx
export MB_DB_HOST=localhost
#general
export MB_JETTY_PORT=3000
export MB_JETTY_HOST=0.0.0.0
#export MB_JETTY_SSL=“true”
#export MB_JETTY_SSL_Port=“8443”
#export MB_JETTY_SSL_Keystore=“path/to/keystore.jks”
#export MB_JETTY_SSL_Keystore_Password=“storepass”
Start the metabase again
> java -jar -Xms2048M -Xmx2048M -XX:NewSize=512m -XX:MaxNewSize=1024m metabase-metabase-2018-11-27.jar
Then I can visit the UI console now
http://localhost:3000/setup
Change to use MySQL as Persistence Layer
https://www.jianshu.com/p/f6b5cf74f57d
How to Setup Metabase
https://www.metabase.com/docs/latest/setting-up-metabase.html
We can start 2 metabase and connect to 1 MySQL database in the backend.
References:
http://www.jianshu.com/p/f6b5cf74f57d
http://www.jianshu.com/p/2qimbD
https://github.com/metabase/metabase
Old blog
http://sillycat.iteye.com/blog/2400566
https://www.metabase.com/docs/latest/operations-guide/start.html#installing-and-running-metabase
https://github.com/metabase/metabase/blob/master/Dockerfile
Metabase source codes are here
https://github.com/metabase/metabase
How to Build the Metabase Jar
Get the source code
> git clone https://github.com/metabase/metabase
Here is my Blog to install the ENV
http://sillycat.iteye.com/blog/2400566
> brew update
> brew search clojure
==> Formulae
clojure clojurescript
> brew install leiningen
> brew install clojurescript
Verify the installation
> lein repl
nREPL server started on port 63805 on host 127.0.0.1 - nrepl://127.0.0.1:63805
REPL-y 0.3.7, nREPL 0.2.12
Clojure 1.8.0
Java HotSpot(TM) 64-Bit Server VM 1.8.0_161-b12
Docs: (doc function-name-here)
(find-doc "part-of-name-here")
Source: (source function-name-here)
Javadoc: (javadoc java-object-or-class-here)
Exit: Control+D or (exit) or (quit)
Results: Stored in vars *1, *2, *3, an exception in *e
user=> (+ 1 2 3 4 5 6)
21
Set Up that on Eclipse
https://dev.clojure.org/display/doc/Getting+Started+with+Eclipse+and+Counterclockwise
Search this “Counterclockwise”, Install the PLUGIN
Try to run the build command on MAC
>bin/build
Exception:
Building translation resources failed, please install 'gettext', or build without translations by running './bin/build no-translations'.
Cannot find module 'underscore'
Solution:
> npm install
Check my ENV
> java -version
java version "1.8.0_161"
> node --version
v8.11.3
> brew install yarn
> yarn --version
1.12.3
Exception:
> error metabase@0.0.0: The engine "node" is incompatible with this module. Expected version ">=8.11.4". Got "8.11.3"
Solution:
Upgrade NODE
> wget https://nodejs.org/dist/v8.13.0/node-v8.13.0.tar.gz
> wget https://nodejs.org/dist/v9.9.0/node-v9.9.0.tar.gz
For example
> ./configure --prefix=/Users/hluo/tool/node-v8.13.0
Then make and make install the version 8.13.0, it works pretty well
I get met abase build here
Created /Users/hluo/install/metabase/target/uberjar/metabase-metabase-SNAPSHOT.jar
Created /Users/hluo/install/metabase/target/uberjar/metabase.jar
Try with nodeJS 9.9.0, It works well. All different versions of NODEJS are here https://nodejs.org/dist/
Copy the file metabase-metabase-SNAPSHOT.jar
Create the directory
> mkdir ~/tool/metabase-master
> mv metabase-metabase-SNAPSHOT.jar ~/tool/metabase-master/metabase-metabase-2018-11-27.jar
Simple command to start metabase
> java -jar ./metabase-metabase-2018-11-27.jar
Exception:
Exception in thread "main" java.lang.NoClassDefFoundError: clojure/lang/Var
at metabase.core.<clinit>(Unknown Source)
Caused by: java.lang.ClassNotFoundException: clojure.lang.Var
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:338)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
Solution:
Change to use the other JAR file
> cp metabase.jar ~/tool/metabase-master/metabase-metabase-2018-11-27.jar
Or we can directly download the JAR file from here http://downloads.metabase.com/v0.31.1/metabase.jar
More options for start the command
#H2
export MB_DB_TYPE=h2
export MB_DB_FILE=/path/to/my/h2.db
#mysql
export MB_DB_TYPE=mysql
export MB_DB_DBNAME=metabase
export MB_DB_PORT=3306
export MB_DB_USER=metabase
export MB_DB_PASS=xxxxxxx
export MB_DB_HOST=localhost
#general
export MB_JETTY_PORT=3000
export MB_JETTY_HOST=0.0.0.0
#export MB_JETTY_SSL=“true”
#export MB_JETTY_SSL_Port=“8443”
#export MB_JETTY_SSL_Keystore=“path/to/keystore.jks”
#export MB_JETTY_SSL_Keystore_Password=“storepass”
Start the metabase again
> java -jar -Xms2048M -Xmx2048M -XX:NewSize=512m -XX:MaxNewSize=1024m metabase-metabase-2018-11-27.jar
Then I can visit the UI console now
http://localhost:3000/setup
Change to use MySQL as Persistence Layer
https://www.jianshu.com/p/f6b5cf74f57d
How to Setup Metabase
https://www.metabase.com/docs/latest/setting-up-metabase.html
We can start 2 metabase and connect to 1 MySQL database in the backend.
References:
http://www.jianshu.com/p/f6b5cf74f57d
http://www.jianshu.com/p/2qimbD
https://github.com/metabase/metabase
Old blog
http://sillycat.iteye.com/blog/2400566
https://www.metabase.com/docs/latest/operations-guide/start.html#installing-and-running-metabase
https://github.com/metabase/metabase/blob/master/Dockerfile
发表评论
-
Update Site will come soon
2021-06-02 04:10 1672I am still keep notes my tech n ... -
Stop Update Here
2020-04-28 09:00 310I will stop update here, and mo ... -
NodeJS12 and Zlib
2020-04-01 07:44 465NodeJS12 and Zlib It works as ... -
Docker Swarm 2020(2)Docker Swarm and Portainer
2020-03-31 23:18 361Docker Swarm 2020(2)Docker Swar ... -
Docker Swarm 2020(1)Simply Install and Use Swarm
2020-03-31 07:58 363Docker Swarm 2020(1)Simply Inst ... -
Traefik 2020(1)Introduction and Installation
2020-03-29 13:52 328Traefik 2020(1)Introduction and ... -
Portainer 2020(4)Deploy Nginx and Others
2020-03-20 12:06 419Portainer 2020(4)Deploy Nginx a ... -
Private Registry 2020(1)No auth in registry Nginx AUTH for UI
2020-03-18 00:56 428Private Registry 2020(1)No auth ... -
Docker Compose 2020(1)Installation and Basic
2020-03-15 08:10 364Docker Compose 2020(1)Installat ... -
VPN Server 2020(2)Docker on CentOS in Ubuntu
2020-03-02 08:04 444VPN Server 2020(2)Docker on Cen ... -
Buffer in NodeJS 12 and NodeJS 8
2020-02-25 06:43 376Buffer in NodeJS 12 and NodeJS ... -
NodeJS ENV Similar to JENV and PyENV
2020-02-25 05:14 464NodeJS ENV Similar to JENV and ... -
Prometheus HA 2020(3)AlertManager Cluster
2020-02-24 01:47 413Prometheus HA 2020(3)AlertManag ... -
Serverless with NodeJS and TencentCloud 2020(5)CRON and Settings
2020-02-24 01:46 330Serverless with NodeJS and Tenc ... -
GraphQL 2019(3)Connect to MySQL
2020-02-24 01:48 242GraphQL 2019(3)Connect to MySQL ... -
GraphQL 2019(2)GraphQL and Deploy to Tencent Cloud
2020-02-24 01:48 443GraphQL 2019(2)GraphQL and Depl ... -
GraphQL 2019(1)Apollo Basic
2020-02-19 01:36 320GraphQL 2019(1)Apollo Basic Cl ... -
Serverless with NodeJS and TencentCloud 2020(4)Multiple Handlers and Running wit
2020-02-19 01:19 306Serverless with NodeJS and Tenc ... -
Serverless with NodeJS and TencentCloud 2020(3)Build Tree and Traverse Tree
2020-02-19 01:19 310Serverless with NodeJS and Tenc ... -
Serverless with NodeJS and TencentCloud 2020(2)Trigger SCF in SCF
2020-02-19 01:18 284Serverless with NodeJS and Tenc ...
相关推荐
《Metabase.jar.zip:开启数据可视化与分析的新篇章》 Metabase 是一款开源的企业级数据探索和分析工具,它的核心是 Metabase.jar 文件。这个文件是 Metabase 的可执行 JAR 包,包含了整个应用的所有功能。通过将 ...
java -jar metabase.jar 直接运行此代码,然后进3000端口就可以使用metabase了
本教程将详细讲解如何利用Metabase最新版本1.46.1,搭配Java JDK 16.0.2以及Oracle驱动ojdbc8.jar来设置和启动Metabase服务,以便与Oracle数据库进行交互。 首先,我们需要安装Java Development Kit(JDK)。这里...
java -jar metabase.jar 直接运行此代码,然后进3000端口就可以使用metabase了
1) 下载Metabase jar,在官网下载后缀jar的文件包,建议放在D盘,后面power shell 切换到D盘方便; 2) 下载java,我安装的最新版本jdk-13_windows-x64_bin,不像老版本还需要装jre,按照默认目录一直next安装就好; 3...
在 metabase 文件夹下,需要设置环境变量MB_DB_TYPE=h2和MB_DB_FILE=metabase.h2.db,以便 metabase 能够正确地连接到数据库。在每次启动 metabase 之前,需要指定MB_DB_FILE环境变量,以便 metabase 能够正确地连接...
元数据库-clickhouse-驱动程序( )商业智能前端的 ( )数据库驱动程序安装下载Metabase Jar and Run 从“下载最新的元数据库二进制发行版(jar文件)。 从该存储库的“发布”页面下载ClickHouse驱动程序jar 创建一...
java -jar metabase.jar ``` 启动后,Metabase会监听默认端口3000,你可以通过浏览器访问`http://localhost:3000`来查看和配置你的Metabase实例。 接下来是**metabase的使用教程.pdf**,该文档将详细介绍Metabase...
使用metabase连接Clickhouse需要的驱动,当前版本0.7.3适用于metabase 0.37.3
1. Java Development Kit (JDK) 1.8:Metabase依赖JDK来运行其Clojure后端。 2. Leiningen 2.8.1:这是一个Clojure项目的构建和依赖管理工具。 安装Leiningen时,可能需要将其添加到系统环境变量,并验证安装是否...
在这里分别讲解一下在linux操作系统上基于docker安装的Metabase配置oracle数据库和Windows操作系统直接使用java -jar运行metabase配置oracle数据库。
1. **用户界面翻译**:Metabase的界面元素,如按钮、菜单、提示信息等,都可以通过多语言包进行翻译。这样,当用户选择特定的语言时,界面会显示相应的翻译,提高用户体验。 2. **数据查询语言**:虽然SQL是通用的...
1. **安装与配置**:首先,确保你的Metabase实例是最新的,并且已经开启了多语言支持。如果尚未开启,可能需要在Metabase的设置中进行调整。 2. **替换语言文件**:将下载的`zh.json`文件放到Metabase的正确语言目录...
Metabase是一款开源的企业级数据探索和分析工具,它提供了简单易用的界面,使得非技术用户也能方便地对数据库进行查询和理解。Metabase的翻译文件是其国际化(i18n)支持的重要组成部分,允许用户将其界面语言设置为...
from metabase_api import MetabaseClient client = MetabaseClient('http://your.metabase.url', api_key='your_api_key') client.db.add('mysql', 'Database Name', {'host': 'localhost', 'port': 3306, '...
玛拉元数据库 ... 运行make setup-metabase将下载一个Metabase jar文件,运行数据库迁移,添加一个admin用户并创建到数据仓库的数据库连接。 然后,运行make run-metabase将在端口3000上启动Metabase
1. **Question构建器**: Metabase的Question构建器允许用户通过简单的拖放界面或直接编写SQL来创建查询。对于不熟悉SQL的用户,可以使用预定义的过滤器和聚合函数来构建复杂查询。 2. **实时仪表板**: 用户可以将多...
将Oracle的JDBC驱动JAR文件(如`ojdbc.jar`)放到MetaBase的`ext`目录下,重启服务后,MetaBase将能够识别Oracle数据源。 2. **配置连接参数**:在设置Oracle数据源时,确保输入正确的JDBC URL,格式通常为`jdbc:...