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" \|
|--table 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.
You have to use his port number and his location(address) of mysql
First you have to ensure that mysql host is reachable from your host you are operating the sqoop command