Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
roalro
Contributor III
Contributor III

tSqoopImport error load java classes (TOS_BD 7.1.1.)

Hi.

I have the problem, which is shown completely in the error log archive which is attached below and a sample of it in the text of this post.

I'm trying to import a table from PostgreSQL with component tSqoopImport and when run the job the log says:


[WARN ]: org.apache.hadoop.hdfs.shortcircuit.DomainSocketFactory - The short-circuit local reads feature cannot be used because UNIX Domain sockets are not available on Windows.
[WARN ]: org.apache.sqoop.ConnFactory - $SQOOP_CONF_DIR has not been set in the environment. Cannot check for additional configuration.
\tmp\sqoop-Roberto Alvarez\compile\3c0fcc15297a1402205e0dcdc88c14e7\QueryResult.java:7: error: package org.apache.hadoop.io does not exist
import org.apache.hadoop.io.BytesWritable;
^
\tmp\sqoop-Roberto Alvarez\compile\3c0fcc15297a1402205e0dcdc88c14e7\QueryResult.java:8: error: package org.apache.hadoop.io does not exist
import org.apache.hadoop.io.Text;
^
\tmp\sqoop-Roberto Alvarez\compile\3c0fcc15297a1402205e0dcdc88c14e7\QueryResult.java:9: error: package org.apache.hadoop.io does not exist
import org.apache.hadoop.io.Writable;

...


Other classes like


import org.apache.hadoop.mapred.lib.db.DBWritable;
import com.cloudera.sqoop.lib.JdbcWritableBridge;
import com.cloudera.sqoop.lib.DelimiterSet;
import com.cloudera.sqoop.lib.FieldFormatter;
import com.cloudera.sqoop.lib.RecordParser;
import com.cloudera.sqoop.lib.BooleanParser;
import com.cloudera.sqoop.lib.BlobRef;
import com.cloudera.sqoop.lib.ClobRef;
import com.cloudera.sqoop.lib.LargeObjectLoader;
import com.cloudera.sqoop.lib.SqoopRecord;


are correctly load but not the others. Why does this problem happen? How did the others members solve this?


Version of the components:


TOS BD 7.1.1

CDH_5_14_4

JDK 1.8

Windows 10

PostgreSQL 9.4


Thanks.

Labels (1)
2 Replies
roalro
Contributor III
Contributor III
Author

Sorry. I need a response. Thanks

Anonymous
Not applicable

Hello,

We have replied to your another topic:https://community.talend.com/t5/Design-and-Development/TOS-BD-Error-package-org-apache-hadoop-io-doe...

Could you please check it?

Best regards

Sabrina