hive export import

 

 

1 create database target_db;
2 drop table target_db.kylin_account;
3 dfs -rm -r /tmp/kylin_account;
4 export table default.kylin_account to '/tmp/kylin_account';
5 import table target_db.kylin_account from '/tmp/kylin_account';

 

posted @ 2018-07-24 17:53  chenzechao  阅读(155)  评论(0编辑  收藏  举报