I am working with sqoop, I can import and export data from mysql to hive or hbase with the command:
sqoop import \ |
--connect "jdbc:mysql://localhost:3306/retail_db" \ |
--username=retail_dba \ |
--password=password \ |
--table departments \ |
--as-sequencefile \ |
--target-dir=/user/departments |
It work fine for me.
Now I am trying to import and export from diffrent machine (my friend's machine)what I have to do.
Thanks