I am trying to run this simple sqoop command using PDI and it seems to be hanging when I run it through PDI but works fine when I do it within my cluster. I have been able to copy files using the copy command but I have not been able to use Sqoop for some reason, could someone point me to possible reasons for this?
sqoop import --connect jdbc:mysql://10.3.57.53:3306/hwscrub --username root --password test --verbose --table account --target-dir hdfs:/10.3.57.54/test34567
It seems to bet stuck at the following point
2015/01/26 08:53:47 - Sqoop Import - 2015/01/26 08:53:47 - mapred.jar is deprecated. Instead, use mapreduce.job.jar
2015/01/26 08:53:53 - Sqoop Import - 2015/01/26 08:53:53 - mapred.map.tasks is deprecated. Instead, use mapreduce.job.maps
2015/01/26 08:53:53 - Sqoop Import - 2015/01/26 08:53:53 - SQOOP_HOME is unset. May not be able to find all job dependencies.
2015/01/26 08:53:53 - Sqoop Import - 2015/01/26 08:53:53 - Connecting to ResourceManager at /172.28.104.198:8032
2015/01/26 08:53:56 - Sqoop Import - 2015/01/26 08:53:56 - Using read commited transaction isolation
2015/01/26 08:53:56 - Sqoop Import - 2015/01/26 08:53:56 - BoundingValsQuery: SELECT MIN(`id`), MAX(`id`) FROM `account`
2015/01/26 08:53:57 - Sqoop Import - 2015/01/26 08:53:57 - number of splits:2
2015/01/26 08:53:57 - Sqoop Import - 2015/01/26 08:53:57 - fs.default.name is deprecated. Instead, use fs.defaultFS
2015/01/26 08:53:58 - Sqoop Import - 2015/01/26 08:53:58 - Submitting tokens for job: job_1422050346255_0009
2015/01/26 08:53:59 - Sqoop Import - 2015/01/26 08:53:59 - Submitted application application_1422050346255_0009
2015/01/26 08:53:59 - Sqoop Import - 2015/01/26 08:53:59 - Running job: job_1422050346255_0009
sqoop import --connect jdbc:mysql://10.3.57.53:3306/hwscrub --username root --password test --verbose --table account --target-dir hdfs:/10.3.57.54/test34567
It seems to bet stuck at the following point
2015/01/26 08:53:47 - Sqoop Import - 2015/01/26 08:53:47 - mapred.jar is deprecated. Instead, use mapreduce.job.jar
2015/01/26 08:53:53 - Sqoop Import - 2015/01/26 08:53:53 - mapred.map.tasks is deprecated. Instead, use mapreduce.job.maps
2015/01/26 08:53:53 - Sqoop Import - 2015/01/26 08:53:53 - SQOOP_HOME is unset. May not be able to find all job dependencies.
2015/01/26 08:53:53 - Sqoop Import - 2015/01/26 08:53:53 - Connecting to ResourceManager at /172.28.104.198:8032
2015/01/26 08:53:56 - Sqoop Import - 2015/01/26 08:53:56 - Using read commited transaction isolation
2015/01/26 08:53:56 - Sqoop Import - 2015/01/26 08:53:56 - BoundingValsQuery: SELECT MIN(`id`), MAX(`id`) FROM `account`
2015/01/26 08:53:57 - Sqoop Import - 2015/01/26 08:53:57 - number of splits:2
2015/01/26 08:53:57 - Sqoop Import - 2015/01/26 08:53:57 - fs.default.name is deprecated. Instead, use fs.defaultFS
2015/01/26 08:53:58 - Sqoop Import - 2015/01/26 08:53:58 - Submitting tokens for job: job_1422050346255_0009
2015/01/26 08:53:59 - Sqoop Import - 2015/01/26 08:53:59 - Submitted application application_1422050346255_0009
2015/01/26 08:53:59 - Sqoop Import - 2015/01/26 08:53:59 - Running job: job_1422050346255_0009