<?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 import - Special characters in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-import-Special-characters/m-p/214374#M60145</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/16265/abhidocstore.html" nodeid="16265"&gt;@Abhijeet Rajput&lt;/A&gt;&lt;P&gt;Sqoop should load data in UTF-8 by default. run the following&lt;/P&gt;&lt;P&gt;get db cfg for &lt;EM&gt;db_name&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;and see the value for Database_code_set. In your mapred-site.xml, can you please try adding the following for mapreduce.map.java.opts:&lt;/P&gt;&lt;P&gt;-Ddb2.jcc.charsetDecoderEncoder=3 &lt;/P&gt;</description>
    <pubDate>Fri, 28 Apr 2017 12:37:37 GMT</pubDate>
    <dc:creator>mqureshi</dc:creator>
    <dc:date>2017-04-28T12:37:37Z</dc:date>
    <item>
      <title>Sqoop import - Special characters</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-import-Special-characters/m-p/214373#M60144</link>
      <description>&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;Working on importing data from DB2 using sqoop import, it worked fine for the most part except one table, which seemed to have some special characters ( control-M = ^M ) in contents, hence while sqooping, these characters are treated as newline and hence everything after it will be on the next line in the imported files, which will affect all the records after one bad record.&lt;/P&gt;&lt;P&gt;I am unable to guess how to fix the imports? is there any eazy way?&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 10:48:02 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-import-Special-characters/m-p/214373#M60144</guid>
      <dc:creator>Freakabhi</dc:creator>
      <dc:date>2017-04-28T10:48:02Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop import - Special characters</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-import-Special-characters/m-p/214374#M60145</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/16265/abhidocstore.html" nodeid="16265"&gt;@Abhijeet Rajput&lt;/A&gt;&lt;P&gt;Sqoop should load data in UTF-8 by default. run the following&lt;/P&gt;&lt;P&gt;get db cfg for &lt;EM&gt;db_name&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;/EM&gt;and see the value for Database_code_set. In your mapred-site.xml, can you please try adding the following for mapreduce.map.java.opts:&lt;/P&gt;&lt;P&gt;-Ddb2.jcc.charsetDecoderEncoder=3 &lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 12:37:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-import-Special-characters/m-p/214374#M60145</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2017-04-28T12:37:37Z</dc:date>
    </item>
  </channel>
</rss>

