
Contributor II
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Unable to invoke an Apache Sqoop Job
Problem Description
A Talend Studio, Big Data Platform Job using Sqoop to import data from a local database to HDFS, fails with the following error:
[DEBUG]: org.apache.sqoop.orm.CompilationManager - D:/talend-workspace/DEMOPROJECT/poms/jobs/process/sqoopimport_0.1/target/classpath.jar;/C:/Program%20Files%20(x86)/Talend-Studio/studio/configuration/.m2/repository/org/talend/libraries/hadoop-common-2.6.0-cdh5.10.1/6.1.0/hadoop-common-2.6.0-cdh5.10.1-6.1.0.jar;/C:/Program%20Files%20(x86)/Talend-Studio/studio/configuration/.m2/repository/org/talend/libraries/hadoop-mapreduce-client-core-2.6.0-cdh5.10.1/6.1.0/hadoop-mapreduce-client-core-2.6.0-cdh5.10.1-6.1.0.jar;;/C:/Program Files (x86)/Talend-Studio/studio/configuration/.m2/repository/org/talend/libraries/hadoop-mapreduce-client-core-2.6.0-cdh5.10.1/6.1.0/hadoop-mapreduce-client-core-2.6.0-cdh5.10.1-6.1.0.jar;/C:/Program Files (x86)/Talend-Studio/studio/configuration/.m2/repository/org/talend/libraries/sqoop-1.4.6-cdh5.10.1/6.1.0/sqoop-1.4.6-cdh5.10.1-6.1.0.jar \tmp\sqoop-taha.iqbal\compile\6a84ceda68dc07bab6068a86b21f5af5\CLTCEN.java:7: error: package org.apache.hadoop.io does not exist import org.apache.hadoop.io.BytesWritable; \tmp\sqoop-taha.iqbal\compile\6a84ceda68dc07bab6068a86b21f5af5\CLTCEN.java:8: error: package org.apache.hadoop.io does not exist import org.apache.hadoop.io.Text; \tmp\sqoop-taha.iqbal\compile\6a84ceda68dc07bab6068a86b21f5af5\CLTCEN.java:9: error: package org.apache.hadoop.io does not exist import org.apache.hadoop.io.Writable;
Root Cause
Talend Studio is installed in the C:\Program Files (x86) path, so there is an empty character, and the Job can't find the correct JAR files.
Solution
Move Studio from C:\Program Files (x86) to another location with a path as short as possible and without any space character.
133 Views