hue安装

1
2
3
4
5
6
7
8
9
10
11
version: '3.1'
services:
mongo:
image: gethue/hue:latest
container_name: hue
restart: always
ports:
- 8888:8888
volumes:
- ./hue.ini:/usr/share/hue/desktop/conf/hue.ini
- /etc/hosts:/etc/hosts

配置hadoop

1
2
3
4
5
6
7
8
9
10
11
[hadoop]

# Configuration for HDFS NameNode
# ------------------------------------------------------------------------
[[hdfs_clusters]]
# HA support by using HttpFs

[[[default]]]
# Enter the filesystem uri
fs_defaultfs=hdfs://172.16.100.63:8020

配置yarn集群

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
[[yarn_clusters]]

[[[default]]]
# Enter the host on which you are running the ResourceManager
## resourcemanager_host=localhost

# The port where the ResourceManager IPC listens on
## resourcemanager_port=8032

# Whether to submit jobs to this cluster
submit_to=True

# Resource Manager logical name (required for HA)
## logical_name=

# Change this if your YARN cluster is Kerberos-secured
## security_enabled=false

# URL of the ResourceManager API
## resourcemanager_api_url=http://localhost:8088

# URL of the ProxyServer API
## proxy_api_url=http://localhost:8088

# URL of the HistoryServer API
history_server_api_url=http://172.16.100.71:10020

# URL of the Spark History Server
## spark_history_server_url=http://localhost:18088

# Change this if your Spark History Server is Kerberos-secured
## spark_history_server_security_enabled=false

# In secure mode (HTTPS), if SSL certificates from YARN Rest APIs
# have to be verified against certificate authority
## ssl_cert_ca_verify=True

# HA support by specifying multiple clusters.
# Redefine different properties there.
# e.g.

# [[[ha]]]
# Resource Manager logical name (required for HA)
## logical_name=my-rm-name

# Un-comment to enable
## submit_to=True

# URL of the ResourceManager API
resourcemanager_api_url=http://172.16.100.63:8088

# ...


###########################################################################
# Settings to configure Beeswax with Hive
###########################################################################

thrift_version 版本

1
thrift_version=7

配置mysql数据库

1
2
3
4
5
6
7
[[database]]
engine=mysql
host=172.16.100.177
port=3306
user=root
password=soyuan.123
name=huedb

启动

1
docker-compose up -d

第一次启动先创建个用户 root,root

http://172.16.100.92:8888/


hue安装
https://zhaops-hub.github.io/2021/11/30/hadoop/hue安装/
作者
赵培胜
发布于
2021年11月30日
许可协议