<?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: TDCH export from hive to teradata in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/TDCH-export-from-hive-to-teradata/m-p/141331#M23621</link>
    <description>&lt;P&gt;Org.apache.hcatalog.mapreduce.HcatInputFormat is pretty old, pre-0.13 Hive. Hcatalog was moved into Hive and vorrwct package is org.apache.hive.hcatalog.mapreduce.HcatInputFormat. you might have version mismatch and or missing libs. Hdp 2.3 is at Hive 1.2.1. Hope that helps, great question.&lt;/P&gt;&lt;P&gt;Here's the HcatLoader wiki, there is info on what jars you need to include rather than guessing yourself. &lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/Hive/AdminManual+Installation" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/AdminManual+Installation&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 24 Mar 2016 18:27:08 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-03-24T18:27:08Z</dc:date>
    <item>
      <title>TDCH export from hive to teradata</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/TDCH-export-from-hive-to-teradata/m-p/141330#M23620</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am using TDCH 1.3 to export data from Hive to Teradata. I added HADOOP_CLASSPATH and HIve home, Hcat home and Sqoop home and HCAT_LIB_JARS and passed this in TDCH command.&lt;/P&gt;&lt;PRE&gt;export HCAT_LIB_JARS=${HCAT_HOME}/share/hcatalog/hive-hcatalog-core.jar,$HIVE_HOME/lib/hive-cli.jar,$HIVE_HOME/lib/hive-exec.jar,$HIVE_HOME/lib/hive-metastore.jar,$HIVE_HOME/lib/libfb303-0.9.2.jar,$HIVE_HOME/lib/libthrift-0.9.2.jar,$HIVE_HOME/lib/jdo-api-3.0.1.jar&lt;/PRE&gt;&lt;P&gt;I get the following error. I added all the jars I found the HcatInputFormat class also (the one that is said as missing) in the hive-hcatalog jars ${HCAT_HOME}/share/hcatalog/hive-hcatalog-core.jar. But the path is slightly different in this. &lt;/P&gt;&lt;P&gt;org/apache/&lt;STRONG&gt;&lt;EM&gt;hive&lt;/EM&gt;&lt;/STRONG&gt;/hcatalog/mapreduce/HCatInputFormat.class --&amp;gt; highlighted the difference.
&lt;/P&gt;&lt;P&gt;But this class is reported as missing when it is in different path. How to fix this?&lt;/P&gt;&lt;PRE&gt;16/03/23 17:33:41 INFO tool.ConnectorExportTool: java.lang.NoClassDefFoundError: org/apache/hcatalog/mapreduce/HCatInputFormat
        at com.teradata.connector.hcat.processor.HCatInputProcessor.inputPreProcessor(HCatInputProcessor.java:41)
&lt;/PRE&gt;</description>
      <pubDate>Thu, 24 Mar 2016 05:45:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/TDCH-export-from-hive-to-teradata/m-p/141330#M23620</guid>
      <dc:creator>mraghuram_87</dc:creator>
      <dc:date>2016-03-24T05:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: TDCH export from hive to teradata</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/TDCH-export-from-hive-to-teradata/m-p/141331#M23621</link>
      <description>&lt;P&gt;Org.apache.hcatalog.mapreduce.HcatInputFormat is pretty old, pre-0.13 Hive. Hcatalog was moved into Hive and vorrwct package is org.apache.hive.hcatalog.mapreduce.HcatInputFormat. you might have version mismatch and or missing libs. Hdp 2.3 is at Hive 1.2.1. Hope that helps, great question.&lt;/P&gt;&lt;P&gt;Here's the HcatLoader wiki, there is info on what jars you need to include rather than guessing yourself. &lt;/P&gt;&lt;P&gt;&lt;A href="https://cwiki.apache.org/confluence/display/Hive/AdminManual+Installation" target="_blank"&gt;https://cwiki.apache.org/confluence/display/Hive/AdminManual+Installation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 Mar 2016 18:27:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/TDCH-export-from-hive-to-teradata/m-p/141331#M23621</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-24T18:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: TDCH export from hive to teradata</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/TDCH-export-from-hive-to-teradata/m-p/141332#M23622</link>
      <description>&lt;P&gt;Hortonworks Connector for Teradata v1.4.1 is available from &lt;A href="http://hortonworks.com/hdp/addons/"&gt;downloads&lt;/A&gt;, it should work well with HDP-2.3.2.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Mar 2016 02:42:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/TDCH-export-from-hive-to-teradata/m-p/141332#M23622</guid>
      <dc:creator>deepesh1</dc:creator>
      <dc:date>2016-03-25T02:42:24Z</dc:date>
    </item>
    <item>
      <title>Re: TDCH export from hive to teradata</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/TDCH-export-from-hive-to-teradata/m-p/141333#M23623</link>
      <description>&lt;P&gt;Hi I just tried again the next day. I didnt change anything. Same variables for hadoop home hive home, hcat home and Hcat lib jars. Today it worked with both 1.3 and 1.4 TDCH.. Not sure why it didnt work the first time.&lt;/P&gt;&lt;P&gt;Thanks for your time and help!&lt;/P&gt;</description>
      <pubDate>Sat, 26 Mar 2016 01:50:54 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/TDCH-export-from-hive-to-teradata/m-p/141333#M23623</guid>
      <dc:creator>mraghuram_87</dc:creator>
      <dc:date>2016-03-26T01:50:54Z</dc:date>
    </item>
  </channel>
</rss>

