<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: SOLVED: Sqoop connector for teradata error in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLVED-Sqoop-connector-for-teradata-error/m-p/9046#M1598</link>
    <description>&lt;P&gt;I'm glad to see that you were able to overcome the issue!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have very good documenation how to properly install the connector available on the following page:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/Connectors/Teradata/Cloudera-Connector-for-Teradata/cctd_topic_3.html"&gt;http://www.cloudera.com/content/cloudera-content/cloudera-docs/Connectors/Teradata/Cloudera-Connector-for-Teradata/cctd_topic_3.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also in addition we've fully automated the installation in our Cloudera Manager 5 and for CDH 5.&lt;/P&gt;</description>
    <pubDate>Mon, 21 Apr 2014 14:47:51 GMT</pubDate>
    <dc:creator>jarcec</dc:creator>
    <dc:date>2014-04-21T14:47:51Z</dc:date>
    <item>
      <title>SOLVED: Sqoop connector for teradata error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLVED-Sqoop-connector-for-teradata-error/m-p/8976#M1597</link>
      <description>&lt;P&gt;&lt;FONT face="georgia,palatino" size="2"&gt;We just finished installing the teradata connector for Sqoop along with the Teradata JDBC driver. Problem is, when we try to run a sample import, we get the following error:&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="georgia,palatino" size="2"&gt;sqoop import --driver com.teradata.jdbc.TeraDriver --connect jdbc:teradata&amp;amp;colon;//&amp;lt;server&amp;gt;/DATABASE=&amp;lt;database&amp;gt; --username &amp;lt;user&amp;gt; --P --table &amp;lt;sample table&amp;gt; --num-mappers 3 --verbose&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino" size="2"&gt;Warning: /usr/lib/hcatalog does not exist! HCatalog jobs will fail.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino" size="2"&gt;Please set $HCAT_HOME to the root of your HCatalog installation.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino" size="2"&gt;Warning: /opt/cloudera/parcels/CDH-4.6.0-1.cdh4.6.0.p0.26/bin/../lib/sqoop/../accumulo does not exist! Accumulo imports will fail.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino" size="2"&gt;Please set $ACCUMULO_HOME to the root of your Accumulo installation.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino" size="2"&gt;14/04/18 10:19:07 INFO sqoop.Sqoop: Running Sqoop version: 1.4.3-cdh4.6.0&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino" size="2"&gt;14/04/18 10:19:07 DEBUG tool.BaseSqoopTool: Enabled debug logging.&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino" size="2"&gt;Enter password:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino" size="2"&gt;14/04/18 10:19:11 DEBUG util.ClassLoaderStack: Checking for existing class: cloudera.connector.teradata.TeradataManagerFactory&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino" size="2"&gt;14/04/18 10:19:11 DEBUG util.ClassLoaderStack: Attempting to load jar through URL: jar:file:/opt/cloudera/parcels/CDH-4.6.0-1.cdh4.6.0.p0.26/lib/sqoop/lib/sqoop-connector-teradata-1.2c4.jar!/&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino" size="2"&gt;14/04/18 10:19:11 DEBUG util.ClassLoaderStack: Previous classloader is sun.misc.Launcher$AppClassLoader@63c78e57&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT face="georgia,palatino" size="2"&gt;14/04/18 10:19:11 DEBUG util.ClassLoaderStack: Testing class in jar: cloudera.connector.teradata.TeradataManagerFactory&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" color="#FF0000" face="georgia,palatino"&gt;&lt;STRONG&gt;14/04/18 10:19:11 ERROR sqoop.ConnFactory: Error loading ManagerFactory information from file /opt/cloudera/parcels/CDH-4.6.0-1.cdh4.6.0.p0.26/bin/../lib/sqoop/conf/managers.d/teradata_connector: java.io.IOException: Could not load jar /opt/cloudera/parcels/CDH-4.6.0-1.cdh4.6.0.p0.26/lib/sqoop/lib/sqoop-connector-teradata-1.2c4.jar into JVM. (Could not find class cloudera.connector.teradata.TeradataManagerFactory.)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at org.apache.sqoop.util.ClassLoaderStack.addJarFile(ClassLoaderStack.java:92)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at com.cloudera.sqoop.util.ClassLoaderStack.addJarFile(ClassLoaderStack.java:36)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at org.apache.sqoop.ConnFactory.addManagersFromFile(ConnFactory.java:235)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at org.apache.sqoop.ConnFactory.loadManagersFromConfDir(ConnFactory.java:294)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at org.apache.sqoop.ConnFactory.instantiateFactories(ConnFactory.java:85)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at org.apache.sqoop.ConnFactory.&amp;lt;init&amp;gt;(ConnFactory.java:62)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at com.cloudera.sqoop.ConnFactory.&amp;lt;init&amp;gt;(ConnFactory.java:36)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at org.apache.sqoop.tool.BaseSqoopTool.init(BaseSqoopTool.java:242)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at org.apache.sqoop.tool.ImportTool.init(ImportTool.java:84)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:494)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at org.apache.sqoop.Sqoop.run(Sqoop.java:147)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:183)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at org.apache.sqoop.Sqoop.runTool(Sqoop.java:222)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at org.apache.sqoop.Sqoop.runTool(Sqoop.java:231)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at org.apache.sqoop.Sqoop.main(Sqoop.java:240)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;Caused by: java.lang.ClassNotFoundException: cloudera.connector.teradata.TeradataManagerFactory&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at java.net.URLClassLoader$1.run(URLClassLoader.java:202)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at java.security.AccessController.doPrivileged(Native Method)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at java.net.URLClassLoader.findClass(URLClassLoader.java:190)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:306)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:627)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:247)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at java.lang.Class.forName0(Native Method)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at java.lang.Class.forName(Class.java:247)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;at org.apache.sqoop.util.ClassLoaderStack.addJarFile(ClassLoaderStack.java:88)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2" face="georgia,palatino"&gt;... 15 more&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF0000" face="georgia,palatino"&gt;&lt;STRONG&gt;14/04/18 10:19:11 ERROR sqoop.ConnFactory: Could not load ManagerFactory cloudera.connector.teradata.TeradataManagerFactory (not found)&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF0000" face="georgia,palatino"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF0000" face="georgia,palatino"&gt;&lt;FONT color="#000000"&gt;Could the problem be related to the CLASSPATH or it's something else?&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF0000" face="georgia,palatino"&gt;&lt;FONT color="#000000"&gt;Any help would be greatly appreciated.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF0000" face="georgia,palatino"&gt;&lt;FONT color="#000000"&gt;Thanks!&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF0000" face="georgia,palatino"&gt;&lt;FONT color="#000000"&gt;(CDH 4.6.0 + Sqoop&amp;nbsp;&lt;SPAN&gt;1.4.3+92)&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF0000" face="georgia,palatino"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;MC.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF0000" face="georgia,palatino"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF0000" face="georgia,palatino"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;**** Update ****&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF0000" face="georgia,palatino"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;We changed the import command by adding the --driver com.teradata.jdbc.TeraDriver&amp;nbsp;option. We still get the "not found" error reported above, but at least Sqoop is able to move on and complate the process after posting the following message:&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF0000" face="georgia,palatino"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" face="georgia,palatino"&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;14/04/18 11:02:14 WARN sqoop.ConnFactory: Parameter --driver is set to an explicit driver however appropriate connection manager is not being set (via --connection-manager). Sqoop is going to fall back to org.apache.sqoop.manager.GenericJdbcManager. Please specify explicitly which connection manager should be used next time.&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF0000" face="georgia,palatino"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF0000" face="georgia,palatino"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;**** Solved ****&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT size="2" color="#FF0000" face="georgia,palatino"&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;The file in managers.d in the Sqoop configuration directory had the wrong class name. Instead of reading&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;STRONG&gt;com.cloudera.connector.teradata.TeradataManagerFactory&lt;/STRONG&gt;&lt;/FONT&gt; it read&amp;nbsp;&lt;/SPAN&gt;&lt;/FONT&gt;&lt;SPAN&gt;&lt;STRONG&gt;cloudera.connector.teradata.TeradataManagerFactory&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;FONT color="#000000"&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2022 08:57:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLVED-Sqoop-connector-for-teradata-error/m-p/8976#M1597</guid>
      <dc:creator>MC</dc:creator>
      <dc:date>2022-09-16T08:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: SOLVED: Sqoop connector for teradata error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLVED-Sqoop-connector-for-teradata-error/m-p/9046#M1598</link>
      <description>&lt;P&gt;I'm glad to see that you were able to overcome the issue!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have very good documenation how to properly install the connector available on the following page:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="http://www.cloudera.com/content/cloudera-content/cloudera-docs/Connectors/Teradata/Cloudera-Connector-for-Teradata/cctd_topic_3.html"&gt;http://www.cloudera.com/content/cloudera-content/cloudera-docs/Connectors/Teradata/Cloudera-Connector-for-Teradata/cctd_topic_3.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also in addition we've fully automated the installation in our Cloudera Manager 5 and for CDH 5.&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2014 14:47:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLVED-Sqoop-connector-for-teradata-error/m-p/9046#M1598</guid>
      <dc:creator>jarcec</dc:creator>
      <dc:date>2014-04-21T14:47:51Z</dc:date>
    </item>
    <item>
      <title>Re: SOLVED: Sqoop connector for teradata error</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLVED-Sqoop-connector-for-teradata-error/m-p/17398#M1599</link>
      <description />
      <pubDate>Thu, 21 Aug 2014 23:45:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/SOLVED-Sqoop-connector-for-teradata-error/m-p/17398#M1599</guid>
      <dc:creator>AmitD</dc:creator>
      <dc:date>2014-08-21T23:45:54Z</dc:date>
    </item>
  </channel>
</rss>

