<?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: Issue with --map-column-java in sqoop command  within Hortonworks platform in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-map-column-java-in-sqoop-command-within/m-p/183192#M58735</link>
    <description>&lt;P&gt;Thanks. The upper case of first letter for java type works. --map-column-java isactive=Integer,etl_isactive=Integer. Execution successfully: INFO mapreduce.ImportJobBase: Retrieved 88281 records.&lt;/P&gt;</description>
    <pubDate>Sat, 01 Apr 2017 01:32:04 GMT</pubDate>
    <dc:creator>lucy_zhang_us</dc:creator>
    <dc:date>2017-04-01T01:32:04Z</dc:date>
    <item>
      <title>Issue with --map-column-java in sqoop command  within Hortonworks platform</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-map-column-java-in-sqoop-command-within/m-p/183190#M58733</link>
      <description>&lt;P&gt;I'm importing data from our SQL server database to HDFS with Sqoop.  Some tables have bit data type in SQL Server. By default, sqoop will convert  the bit column like 1-&amp;gt;true  0 -&amp;gt; false.   We want the data be converted to int type 1 or 0. So I tried the option --map-column-java.  For example  sqoop ... --map-column-java isactive=int;  and even --map-column-java isactive=string, Neither works. I always got error :   ERROR orm.ClassWriter: No ResultSet method for Java type integer  ERROR tool.ImportTool: Imported Failed: No ResultSet method for Java type integer.  Seems in Hortonworks platform, sqoopt doesn't support this option? &lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2017 00:03:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-map-column-java-in-sqoop-command-within/m-p/183190#M58733</guid>
      <dc:creator>lucy_zhang_us</dc:creator>
      <dc:date>2017-04-01T00:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with --map-column-java in sqoop command  within Hortonworks platform</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-map-column-java-in-sqoop-command-within/m-p/183191#M58734</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17040/lucyzhangus.html" nodeid="17040"&gt;@Lucy zhang&lt;/A&gt;
&lt;/P&gt;&lt;P&gt;Please try the following:&lt;/P&gt;&lt;P&gt;--map-column-java isactive=Integer or&lt;/P&gt;&lt;P&gt;--map-column-java iactive=String&lt;/P&gt;&lt;P&gt;also try the following&lt;/P&gt;&lt;P&gt;--map-column-hive isactive=STRING or&lt;/P&gt;&lt;P&gt;--map-column-hive iactive=INT&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2017 00:27:47 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-map-column-java-in-sqoop-command-within/m-p/183191#M58734</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2017-04-01T00:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with --map-column-java in sqoop command  within Hortonworks platform</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-map-column-java-in-sqoop-command-within/m-p/183192#M58735</link>
      <description>&lt;P&gt;Thanks. The upper case of first letter for java type works. --map-column-java isactive=Integer,etl_isactive=Integer. Execution successfully: INFO mapreduce.ImportJobBase: Retrieved 88281 records.&lt;/P&gt;</description>
      <pubDate>Sat, 01 Apr 2017 01:32:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Issue-with-map-column-java-in-sqoop-command-within/m-p/183192#M58735</guid>
      <dc:creator>lucy_zhang_us</dc:creator>
      <dc:date>2017-04-01T01:32:04Z</dc:date>
    </item>
  </channel>
</rss>

