๋ฐ์ํ
NoSQL ๊ธฐ๋ฐ ๋ฐ์ดํฐ๋ฒ ์ด์ค์ด๋ค.
ํ๋ก์ ๋ฐ์ดํฐ๋ฅผ NoSQL (Key, value) ์์ผ๋ก ์ ์ฅํจ
$ /hadoop/sbin/start-all.sh
$ ./start-hbase.sh
$ ./hbase shell
### hbase test ###
create 'test', 'cf'
list 'test'
describe 'test'
put 'test', 'row1', 'cf:a', 'value1'
put 'test', 'row2', 'cf:b', 'value2'
put 'test', 'row3', 'cf:c', 'value3'
scan 'test'
------------------------
ROW COLUMN+CELL
row1 column=cf:a, timestamp=1612833812641, value=value1
row2 column=cf:b, timestamp=1612833817184, value=value2
row3 column=cf:c, timestamp=1612833818011, value=value3
3 row(s)
Took 0.8014 seconds
whoami
grant 'username','RWXCA'
728x90
๋ฐ์ํ
'BIGDATA > ํ๋ก์์ฝ์์คํ ' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
[Hadoop] Hadoop 3.1.1 ๋ฒ์ ํ ์คํธ / ํ๋ก ํ ์คํธ ๋ฐฉ๋ฒ (0) | 2021.06.28 |
---|---|
[Spark] ์ํ์น ์คํํฌ, Apache Spark ๋ช ๋ น์ด ์ ๋ฆฌ (0) | 2021.05.02 |
[Hive] ํ์ด๋ธ ๋ช ๋ น์ด ์ ๋ฆฌ/ Hive ๋ช ๋ น์ด ์ ๋ฆฌ (0) | 2021.05.02 |
[Hadoop] ํ๋ก ๋ช ๋ น์ด ์ ๋ฆฌ / Hadoop ๋ช ๋ น์ด ์ ๋ฆฌ (0) | 2021.05.02 |
[ํ๋ก์์ฝ์์คํ ] ์คํํฌ / apache spark (0) | 2021.03.30 |