sqoop將mysql的數據導入到hive表中

1:先將mysql一張表的數據用sqoop導入到hdfs中 準備一張表  bin/sqoop import \ --connect jdbc:mysql://10.10.5.149:3306/shenbi \ --username root \ --password root \ --query 'select id,name from tab where $CONDITIONS LIMIT 10
相關文章
相關標籤/搜索