1. impala
impala-shell -i host12.devtest.example.com:21000
2. impala 명령
cat > test1.txt
1, a, b, 4
2, c, d, 3
3, e, f, 5
4, g, h, 6
hadoop dfs -mkdir /user/hive/staging
hadoop dfs -put test1.txt /user/hive/staging
impala-shell -i master01
> create database test;
> use test;
> create table test1 (id int, n1 string, n2 string, wei float)
row format delimited fields terminated by ',';
> describe formatted test1;
'NoSQL > impala' 카테고리의 다른 글
impala slow query 분석 (0) | 2017.02.25 |
---|