hive 数据hadoop数据etl交换
先将本地数据上传到hadoop,在将hadoop 数据导入hive数据仓库:hive> use toys ;
OK
Time taken: 1.372 seconds
hive> load data local inpath ‘/data/projects/test.txt‘ overwrite into table emp ;
Loading data to table toys.emp
OK
Time taken: 2.502 seconds
hive> select * from emp ;