728x90
๋ฐ์ํ
๐ก ๋ ๋ฆฝ์ ์ธ ๋ฐ์ดํฐ ๋ฒ ์ด์ค๋ก ์ฌ์ฉ ๊ฐ๋ฅํ๋ 1.7 ๊ธฐ์ค Table Create, Select๋ง ํ์ธ ๊ฐ๋ฅํ๋ค. Java, C++ ๋ฑ๊ณผ ํจ๊ป ์ฌ์ฉํ๋ฉด CRUD ๋ชจ๋ ๊ฐ๋ฅํ๋ค.
https://github.com/apache/kudu/tree/master/examples/java/java-example
Kudu Master Server ์ ์
//Kudu Master Server Name ํ์ธ
$ docker ps
$ docker exec -it docker-kudu-master-1-1 bash
Kudu Table Create Select
//Create
//https://kudu.apache.org/docs/command_line_tools_reference.html#table-create ํ
์คํธ Json ์ ๊ณต
$ kudu table create
//Select
$ kudu table scan
์์ธํ Kudu ๋ช ๋ น์ด๋ ์๋ URL ์ฐธ๊ณ
Apache Kudu - Apache Kudu Command Line Tools Reference
predicates (optional) Query predicates on columns. Unlike traditional SQL syntax, the scan tool’s simple query predicates are represented in a simple JSON syntax. Three types of predicates are supported, including 'Comparison', 'InList' and 'IsNull'. * T
kudu.apache.org
Kudu master_addresses ํ์ธ
- Kudu Master Server Page ์ง์
ํ Tablet Servers ๋ฉ๋ด ํด๋ฆญ
EX) http://192.168.10.XXX:8051 - ์ํ๋ rpc_addresses์ Host์ Port ์ ๋ณด๋ฅผ ์ฌ์ฉ
$ kudu table scan <rpc_addresses HOST>:<rpc_addresses PORT> <table_name>
$ kudu table scan 192.168.10.255:9999 user
728x90
๋ฐ์ํ
'๋น ๋ฐ์ดํฐDB' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
KUDU Docker JAVA API (1) | 2024.02.05 |
---|---|
Apache Impala + Kudu Query (0) | 2024.02.01 |
Presto JDBC ์ฐ๊ฒฐ (1) | 2024.01.23 |
Single Store JDBC ์ฐ๊ฒฐ (0) | 2024.01.23 |
Hive Create Update Delete Select Table (0) | 2024.01.23 |