λ°μν
HUE λ€μ΄λ‘λ
μνλ ν΄ μ ννμ¬ λ€μ΄λ‘λ
https://github.com/cloudera/hue/tags
Dependency 무νκ³ ν΅
mvn, database μ€μΉν κΈ°λ³Έμ μΈ μΈν μ μλ£ (hue λ°μ΄ν° λ² μ΄μ€μ μ μ μμ± μμ κΉμ§ !)
python pip upgrade
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py -o get-pip.py
python get-pip.py
pip install --upgrade pip
python package μ€μΉ
pip install psycopg2
pip install psycopg2-binary
OS Package μ€μΉ
sudo yum install ant asciidoc cyrus-sasl-devel cyrus-sasl-gssapi cyrus-sasl-plain gcc gcc-c++ krb5-devel libffi-devel libxml2-devel libxslt-devel make mysql mysql-devel openldap-devel python-devel sqlite-devel gmp-devel
libffi-devel python-devel openssl-devel -y
SQLite λ²μ μ κ·Έλ μ΄λ (hue django λλ¬Έμ λ무 μλλ²μ μΌμλ‘ μ€μΉ μλ¨)
https://kojipkgs.fedoraproject.org/packages/sqlite/
μ¬κΈ°μ λ§λ sqlite rpm, sqlite-devel rpm λ€μ΄λ‘λ
wget https://kojipkgs.fedoraproject.org/packages/sqlite/3.12.2/1.fc24/x86_64/sqlite-3.12.2-1.fc24.x86_64.rpm
wget https://kojipkgs.fedoraproject.org/packages/sqlite/3.12.2/1.fc24/x86_64/sqlite-devel-3.12.2-1.fc24.x86_64.rpm
rpm -Uvh sqlite-3.12.2-1.fc24.x86_64.rpm sqlite-devel-3.12.2-1.fc24.x86_64.rpm
HUE Build
desktop/devtools.mk μμ
DEVTOOLS += \
ipython[7.10.0] \
ipdb[0.13.9] \
ν΄ λΉλ
cd ${HUE_SRC}
make apps
HUE Start
[hue database λκΈ°ν] build/env/bin/hue migrate
[hue server μμ] build/env/bin/hue runserver 0.0.0.0:8000
[hue login] user id/ password -admin/admin
[hdfs user μμ±] hdfs dfs -mkdir /user/admin
[hdfs user dir κΆνλ³κ²½] hdfs dfs -chown -R admin:admin /user/admin
HUE Configs
vi ${HUE_SRC}/desktop/conf/pseudo-distributed.ini
[[database]]
engine=postgresql_psycopg2
host=1.2.3.4
name=hue
port=5432
user=hue
password=hue
[hadoop]
# Configuration for HDFS NameNode
# ------------------------------------------------------------------------
[[hdfs_clusters]]
# HA support by using HttpFs
[[[default]]]
# Enter the filesystem uri
fs_defaultfs=hdfs://1.2.3.4:8020
webhdfs_url=http://1.2.3.4:50070/webhdfs/v1
# ------------------------------------------------------------------------
[beeswax]
hive_server_host=1.2.3.4
hive_server_port=10000
hive_server_http_port=10001
max_number_of_sessions=3
thrift_version=11
use_sasl=true
# ------------------------------------------------------------------------
[hbase]
hbase_clusters=(Cluster|1.2.3.4:9090)
thrift_transport=buffered
ssl_cert_ca_verify=false
728x90
λ°μν
'BIGDATA > νλ‘μμ½μμ€ν ' μΉ΄ν κ³ λ¦¬μ λ€λ₯Έ κΈ
Grafana + Prometheus λͺ¨λν°λ§ κ΅¬μΆ (0) | 2022.05.25 |
---|---|
Hadoop HA μ€ν (0) | 2022.05.25 |
Imapa VS Hive (0) | 2022.03.30 |
[kudu] kudu clusterλͺ¨λλ‘ μ€ν (0) | 2022.03.29 |
[airflow] airflow μ€μΉ ν μ€ν (0) | 2022.03.23 |