์ผ | ์ | ํ | ์ | ๋ชฉ | ๊ธ | ํ |
---|---|---|---|---|---|---|
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 |
- ์ค์๋ธ
- ๋ฆฌ๋ ์ค
- ์ค์นผ๋ผ ๋ถ
- ๋ฆฌ๋ ์ค RPM
- ํ์ด๋ธ
- ํ๋ก
- LeetCode
- ์๋ผ์คํฑ์์น
- BIGDATA
- ์คํํฌ
- ์ค์๋ธ ์ค์น
- Apache spark
- elastic stack
- ํด ์ค์น
- kudu
- ๋ฐ์ดํฐ๋ถ์์ค์ ๋ฌธ๊ฐ
- standalone
- rpmbuild
- ๋ฆฟ์ฝ๋
- ํ๋ก์์ฝ์์คํ
- airflow
- HBase
- ๋น ๋ฐ์ดํฐ
- hadoop
- CLF-C02
- aws ccp
- ์ฑ๊ธ์๋ฒ
- ์ํ์น ์คํํฌ
- ํ๋ก์ค์น
- ansible
- Today
- Total
๋ชฉ๋กstandalone (5)
data_lab
livy-env.sh export SPARK_HOME=/usr/lib/spark export HADOOP_CONF_DIR=/etc/hadoop/conf livy start ./bin/livy-server start livy ์ ์๋์ํ๋์ง spark์์ ํ ์คํธํ๋ ์์ sudo pip install requests import json, pprint, requests, textwrap host = 'http://localhost:8998' data = {'kind': 'spark'} headers = {'Content-Type': 'application/json'} r = requests.post(host + '/sessions', data=json.dumps(data), headers=headers) r..
$ wget https://archive.apache.org/dist/hbase/2.2.0/hbase-2.2.0-bin.tar.gz $ tar xvzf hbase-2.2.0-bin.tar.gz $ ln -s hbase-2.2.0-bin hbase hbase ์ค์น ํ ์์ถ ํ๊ณ ์ฌ๋ณผ๋ฆญ ๋งํฌ๋ฅผ ๊ฑด๋ค. hbase.rootdir hdfs://localhost:9000/hbase hbase.master.port 60000 hbase.master.info.port 60010 hbase.regionserver.info.bindAddress 0.0.0.0 hbase.regionserver.port 60020 hbase.regionserver.info.port 60030 hbase.zookeeper.quorum bdh2..
https://dlcdn.apache.org/hive/hive-3.1.2/ Index of /hive/hive-3.1.2 dlcdn.apache.org apache mirror ์ฌ์ดํธ์์ ์ํ๋ hive ๋ฒ์ ์ binary ํด๋๋ฅผ ๋ค์ด๋ฐ๋๋ค. ์ฌ์ ์์ - Hadoop Path ์ค์ ๋์ด์์ด์ผํจ export HADOOP_HOME= ์์ถํด์ wget https://dlcdn.apache.org/hive/hive-3.1.2/apache-hive-3.1.2-bin.tar.gz tar xvzf apache-hive-3.1.2-bin.tar.gz ํ๊ฒฝ๋ณ์ ์ค์ Hive ํ ํ๊ฒฝ๋ณ์๋ฅผ ์ค์ ํด์ผํ๋ค. .bash_prifile์์ ์์ ํ๋ ๋ฐฉ์๋ณด๋จ /etc/profile.d/์ ์ ์คํฌ๋ฆฝํธ๋ฅผ ์ถ๊ฐํด์ค๊ฒ vi /etc/p..
์ฑ๊ธ๋ ธ๋์์ ํ๋ก์ ์ด๋ป๊ฒ ์ค์นํ๋์ง ์์ฑํ๋ คํ๋ค. ํ๋ก์ ์ค์นํ๊ธฐ ์ ์ ๊ธฐ๋ณธ์ ์ผ๋ก os์์ ์ค์ ์ ๋ฐ๊ฟ์ผ ํ๋๊ฒ ์๋ค. ์ผ๋จ ๊ธฐ๋ณธ์ ์ผ๋ก os ๋ฒ์ ์ cent os7.x ์ด๋ค. ์ธํ๋ผ๋ฅผ ์ด์ํ ๋ root ๊ณ์ ์ ์ฌ์ฉํ์ง ์๋๋ค. ๋ค๋ฅธ ๊ณ์ ์ ์์ฑํ์ฌ sudo ๊ถํ์ ๋ถ์ฌ๋ฐ๊ณ ์ต๋ํ ๊ทธ ๊ณ์ ์ผ๋ก ์ค์น๋ฅผ ์งํํ๋ค. ํ๋ก์ ์ค์นํ๊ธฐ ์ ์?๋ฐฉํ๋ฒฝ์ ๋ด๋ฆฌ๊ณ selinux disabled ๊ทธ๋ฆฌ๊ณ ์ ์ ๊ณ์ ์ ์ถ๊ฐํ์ฌ ๋๋๋ก root๊ณ์ ์ ์ฌ์ฉํ์ง ์๊ณ ์งํํ๋ คํ๋ค. ์๋ฐ๋ open jdk 1.8๋ฒ์ ์ ์ค์นํ์ฌ ํ๊ฒฝ๋ณ์ ์ถ๊ฐํ๋ค. ํด๋น ๋ด์ฉ์ ์ถํ์ ์ถ๊ฐ์์ ์ด๋ค.ํ๋ก ์ค์น์ค์น ๋ฒ์ : Apache Hadoop 3.1.1https://hadoop.apache.org/release/3.1.1.htmltar.gz ๋ฒ์ ์ผ๋ก..