My Sqoop import is working only with 1 map task ( - m 1) not more.
This is working:
sqoop import --connect jdbc:mysql://localhost/databaseY --username root --password PASSWORD --table tableX --target-dir /tmp/databaseY --as-textfile -m 1
This not:
sqoop import --connect jdbc:mysql://localhost/databaseY --username root --password PASSWORD --table tableX --target-dir /tmp/databaseY --as-textfile -m 3
My cluster is a 3 nodes on AWS.
I missed something during the configuration?
----EDIT FOR THE SOLUTION ---- The problem was the localhost. I changed it by the IP address and it is working fine.