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';
原文地址:https://www.cnblogs.com/chenzechao/p/9361566.html