本文主要是介绍Cloudera Manager Hue 集成其他组件,希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
Hue 集成其它组件
Hue集成其它组件很简单,首先需要安装好需要集成的组件。然后在Hue 配置页面
勾选中需要集成的组件,然后重启Hue就可以了,如下图所示:
但是,Hue集成RDMBS(DB Query)需要额外配置:
put configuration in HUE as below:
在上面配置框中输入如下配置:
[librdbms]# The RDBMS app can have any number of databases configured in the databases# section. A database is known by its section name# (IE sqlite, mysql, psql, and oracle in the list below).[[databases]]# sqlite configuration.## [[[sqlite]]]# Name to show in the UI.## nice_name=SQLite# For SQLite, name defines the path to the database.#name=/tmp/sqlite.db# Database backend to use.#engine=sqlite# Database options to send to the server when connecting.# https://docs.djangoproject.com/en/1.4/ref/databases/## options={}# mysql, oracle, or postgresql configuration.[[[mysql]]]# Name to show in the UI.nice_name="MySQL DB"# For MySQL and PostgreSQL, name is the name of the database.# For Oracle, Name is instance of the Oracle server. For express edition# this is 'xe' by default.name=test# Database backend to use. This can be:# 1. mysql# 2. postgresql# 3. oracleengine=mysql# IP or hostname of the database to connect to.host=master# Port the database server is listening to. Defaults are:# 1. MySQL: 3306# 2. PostgreSQL: 5432# 3. Oracle Express Edition: 1521## port=3306# Username to authenticate with when connecting to the database.user=root# Password matching the username to authenticate with when# connecting to the database.password=123456# Database options to send to the server when connecting.# https://docs.djangoproject.com/en/1.4/ref/databases/## options={}
保存配置,然后重启Hue即可使用DB Query
这篇关于Cloudera Manager Hue 集成其他组件的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!