<?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 error (--null-string and --null-non-string) in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Import-error-null-string-and-null-non-string/m-p/227992#M70286</link>
    <description>&lt;P&gt;Thanks a lot. Ignoring the --null-string and --null-non-string arguments worked for me.&lt;/P&gt;</description>
    <pubDate>Sun, 29 Oct 2017 07:09:29 GMT</pubDate>
    <dc:creator>onalawade</dc:creator>
    <dc:date>2017-10-29T07:09:29Z</dc:date>
    <item>
      <title>Sqoop Import error (--null-string and --null-non-string)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Import-error-null-string-and-null-non-string/m-p/227990#M70284</link>
      <description>&lt;P&gt;For a sqoop job with --null-string or --null-non-string the value earlier was &amp;lt;arg&amp;gt;&amp;lt;/arg&amp;gt;. However it fails with a NullPointerException- Main class [org.apache.oozie.action.hadoop.SqoopMain], exception invoking main(), null.&lt;/P&gt;&lt;P&gt;However changing it to &amp;lt;arg&amp;gt;' '&amp;lt;/arg&amp;gt; resolves the issue. In the earlier sqoop version(1.4.6.2.3.4.0-3485) it worked but with the upgraded sqoop version(1.4.6.2.6.0.3-8) it failed with the above error. &lt;BR /&gt;1) Is there a fix for this issue on the latest upgraded sqoop version&lt;BR /&gt;2) Assuming the work-around that I have mentioned, which is &amp;lt;arg&amp;gt;' '&amp;lt;/arg&amp;gt; will the output of the sqoop version remain the same?&lt;/P&gt;</description>
      <pubDate>Thu, 26 Oct 2017 06:05:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Import-error-null-string-and-null-non-string/m-p/227990#M70284</guid>
      <dc:creator>onalawade</dc:creator>
      <dc:date>2017-10-26T06:05:26Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Import error (--null-string and --null-non-string)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Import-error-null-string-and-null-non-string/m-p/227991#M70285</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/44549/onalawade.html" nodeid="44549"&gt;@Omkar Nalawade&lt;/A&gt; As per the Sqoop document,&lt;/P&gt;&lt;P&gt;"The &lt;CODE&gt;--null-string&lt;/CODE&gt; and &lt;CODE&gt;--null-non-string&lt;/CODE&gt; arguments are optional.\ If not specified, then the string "null" will be used."&lt;/P&gt;&lt;P&gt;So, in case if you are using --null-string or --null-non-string you will need to pass some value to these arguments. If you want string "null" to be used in place of null values you can ignore these arguments. You can also use '\N' or "\\N" to use null values.&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/content/supportkb/49673/null-strings-not-handled-by-sqoop-export.html" target="_blank"&gt;https://community.hortonworks.com/content/supportkb/49673/null-strings-not-handled-by-sqoop-export.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 27 Oct 2017 14:50:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Import-error-null-string-and-null-non-string/m-p/227991#M70285</guid>
      <dc:creator>dthakkar</dc:creator>
      <dc:date>2017-10-27T14:50:19Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Import error (--null-string and --null-non-string)</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Import-error-null-string-and-null-non-string/m-p/227992#M70286</link>
      <description>&lt;P&gt;Thanks a lot. Ignoring the --null-string and --null-non-string arguments worked for me.&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2017 07:09:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Sqoop-Import-error-null-string-and-null-non-string/m-p/227992#M70286</guid>
      <dc:creator>onalawade</dc:creator>
      <dc:date>2017-10-29T07:09:29Z</dc:date>
    </item>
  </channel>
</rss>

