<?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: sqoop export with hdp teradata connector error in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/sqoop-export-with-hdp-teradata-connector-error/m-p/127120#M89842</link>
    <description>&lt;P&gt;Are you exporting xml? It looks like a syntax issue. Please post the command. Check the field #62, do you have an emty field? You may need to escape it or convert to null. &lt;A href="https://community.hortonworks.com/questions/10848/sqoop-export-to-teradata-issue-exporting-n-instead.html" target="_blank"&gt;https://community.hortonworks.com/questions/10848/sqoop-export-to-teradata-issue-exporting-n-instead.html&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 16 Mar 2016 05:56:59 GMT</pubDate>
    <dc:creator>aervits</dc:creator>
    <dc:date>2016-03-16T05:56:59Z</dc:date>
    <item>
      <title>sqoop export with hdp teradata connector error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/sqoop-export-with-hdp-teradata-connector-error/m-p/127119#M89841</link>
      <description>&lt;P&gt;Trying to export the data from hdfs to teradata and got below error . &lt;/P&gt;&lt;P&gt;2016-03-14 17:18:09,688 INFO [main] org.apache.hadoop.mapreduce.v2.app.MRAppMaster: Created MRAppMaster for application appattempt_1454014691973_216609_000001&lt;/P&gt;&lt;PRE&gt;2016-03-14 17:18:10,010 FATAL [main] org.apache.hadoop.conf.Configuration: error parsing conf job.xml
org.xml.sax.SAXParseException; systemId: file://temp/yarn/local/usercache/*****/appcache/application_1454014691973_216609/container_e14_1454014691973_216609_01_000001/job.xml; lineNumber: 90; columnNumber: 62; Character reference "&amp;#0;" is an invalid XML character.
	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:150)
	at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2480)
	at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2549)
	at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2502)
	at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2405)
	at org.apache.hadoop.conf.Configuration.get(Configuration.java:1232)
	at org.apache.hadoop.mapreduce.v2.util.MRWebAppUtil.initialize(MRWebAppUtil.java:51)
	at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.main(MRAppMaster.java:1482)
2016-03-14 17:18:10,012 FATAL [main] org.apache.hadoop.mapreduce.v2.app.MRAppMaster: Error starting MRAppMaster
java.lang.RuntimeException: org.xml.sax.SAXParseException; systemId: file:///temp/yarn/local/usercache/****/appcache/application_1454014691973_216609/container_e14_1454014691973_216609_01_000001/job.xml; lineNumber: 90; columnNumber: 62; Character reference "&amp;#0;" is an invalid XML character.
	at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2645)
	at org.apache.hadoop.conf.Configuration.loadResources(Configuration.java:2502)
	at org.apache.hadoop.conf.Configuration.getProps(Configuration.java:2405)
	at org.apache.hadoop.conf.Configuration.get(Configuration.java:1232)
	at org.apache.hadoop.mapreduce.v2.util.MRWebAppUtil.initialize(MRWebAppUtil.java:51)
	at org.apache.hadoop.mapreduce.v2.app.MRAppMaster.main(MRAppMaster.java:1482)
Caused by: org.xml.sax.SAXParseException; systemId: file:///apps/opt/data07/hadoop/yarn/local/usercache/rajenne/appcache/application_1454014691973_216609/container_e14_1454014691973_216609_01_000001/job.xml; lineNumber: 90; columnNumber: 62; Character reference "&amp;#0;" is an invalid XML character.
	at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:150)
	at org.apache.hadoop.conf.Configuration.parse(Configuration.java:2480)
	at org.apache.hadoop.conf.Configuration.loadResource(Configuration.java:2549)
	... 5 more
2016-03-14 17:18:10,014 INFO [main] org.apache.hadoop.util.ExitUtil: Exiting with status 1&lt;/PRE&gt;</description>
      <pubDate>Tue, 15 Mar 2016 04:25:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/sqoop-export-with-hdp-teradata-connector-error/m-p/127119#M89841</guid>
      <dc:creator>nelsonarasu</dc:creator>
      <dc:date>2016-03-15T04:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop export with hdp teradata connector error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/sqoop-export-with-hdp-teradata-connector-error/m-p/127120#M89842</link>
      <description>&lt;P&gt;Are you exporting xml? It looks like a syntax issue. Please post the command. Check the field #62, do you have an emty field? You may need to escape it or convert to null. &lt;A href="https://community.hortonworks.com/questions/10848/sqoop-export-to-teradata-issue-exporting-n-instead.html" target="_blank"&gt;https://community.hortonworks.com/questions/10848/sqoop-export-to-teradata-issue-exporting-n-instead.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 05:56:59 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/sqoop-export-with-hdp-teradata-connector-error/m-p/127120#M89842</guid>
      <dc:creator>aervits</dc:creator>
      <dc:date>2016-03-16T05:56:59Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop export with hdp teradata connector error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/sqoop-export-with-hdp-teradata-connector-error/m-p/127121#M89843</link>
      <description>&lt;P&gt;Find the below command to export the text data from HDFS to teradata . &lt;/P&gt;&lt;P&gt;sqoop export  -Dmapred.job.queue.name=xxxxx --connect jdbc:teradata://xxxxxx/Database=xxxxxx --connection-manager org.apache.sqoop.teradata.TeradataConnManager --username xxxxxx  --password xxxxxx  --table xxxxxx_teradata_table_name --export-dir /hdfs_data_path/insert_dt=2016-03-01 --input-null-string '\\N' --input-null-non-string '\\N' &lt;/P&gt;&lt;P&gt;I tried  with --input-null-string '\\N' --input-null-non-string '\\N' and got same exception. It is looks like some version mismatch issue . &lt;/P&gt;&lt;P&gt;find below version details .:&lt;/P&gt;&lt;P&gt;hdp teradata version :  1.4.1&lt;/P&gt;&lt;P&gt;hdp version : 2.3.4&lt;/P&gt;</description>
      <pubDate>Wed, 16 Mar 2016 08:45:45 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/sqoop-export-with-hdp-teradata-connector-error/m-p/127121#M89843</guid>
      <dc:creator>nelsonarasu</dc:creator>
      <dc:date>2016-03-16T08:45:45Z</dc:date>
    </item>
    <item>
      <title>Re: sqoop export with hdp teradata connector error</title>
      <link>https://community.cloudera.com/t5/Support-Questions/sqoop-export-with-hdp-teradata-connector-error/m-p/127122#M89844</link>
      <description>&lt;P&gt;It is working fine after removing duplicate hdp teradata connector jar file from sqoop lib location .&lt;/P&gt;</description>
      <pubDate>Wed, 06 Apr 2016 22:50:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/sqoop-export-with-hdp-teradata-connector-error/m-p/127122#M89844</guid>
      <dc:creator>nelsonarasu</dc:creator>
      <dc:date>2016-04-06T22:50:03Z</dc:date>
    </item>
  </channel>
</rss>

