<?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: &amp;quot;-Dorg.apache.sqoop.splitter.allow_text_splitter=true&amp;quot; in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Import-quot-Dorg-apache-sqoop-splitter-allow-text/m-p/134555#M97214</link>
    <description>&lt;P&gt;This JIRA has some info about why you need to set the property: &lt;A href="https://issues.apache.org/jira/browse/SQOOP-2910" target="_blank"&gt;https://issues.apache.org/jira/browse/SQOOP-2910&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 17 Oct 2016 19:40:37 GMT</pubDate>
    <dc:creator>clukasik</dc:creator>
    <dc:date>2016-10-17T19:40:37Z</dc:date>
    <item>
      <title>Sqoop Import: "-Dorg.apache.sqoop.splitter.allow_text_splitter=true"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Import-quot-Dorg-apache-sqoop-splitter-allow-text/m-p/134553#M97212</link>
      <description>&lt;P&gt;I am trying to import oracle table to HDFS directory, but getting the error &lt;STRONG&gt;&lt;EM&gt;"Generating splits for a textual index column allowed only in case of "-Dorg.apache.sqoop.splitter.allow_text_splitter=true" property passed as a parameter"&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I fixed the import issue by giving &lt;EM&gt;"-Dorg.apache.sqoop.splitter.allow_text_splitter=true" &lt;/EM&gt;&lt;EM&gt;in sqoop import. &lt;/EM&gt;But why do we need to set this property? I imported other tables without setting this property. When should we set this property?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt; 
&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 17:20:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Import-quot-Dorg-apache-sqoop-splitter-allow-text/m-p/134553#M97212</guid>
      <dc:creator>reddy_gayathri</dc:creator>
      <dc:date>2016-10-17T17:20:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Import: "-Dorg.apache.sqoop.splitter.allow_text_splitter=true"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Import-quot-Dorg-apache-sqoop-splitter-allow-text/m-p/134554#M97213</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/12150/reddy-gayathri.html" nodeid="12150"&gt;@Gayathri Reddy G&lt;/A&gt;&lt;P&gt;The property "&lt;B&gt;Dorg.apache.sqoop.splitter.allow_text_splitter=true"  &lt;/B&gt;is required when you are using --split-by is used on a column which is of text type. There is difference in the TextSplitter class of Sqoop jars in HDP 2.4 and HDP 2.5 because of sqoop command fails without the required argument in HDP 2.5.&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 18:34:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Import-quot-Dorg-apache-sqoop-splitter-allow-text/m-p/134554#M97213</guid>
      <dc:creator>ssubhas</dc:creator>
      <dc:date>2016-10-17T18:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Import: "-Dorg.apache.sqoop.splitter.allow_text_splitter=true"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Import-quot-Dorg-apache-sqoop-splitter-allow-text/m-p/134555#M97214</link>
      <description>&lt;P&gt;This JIRA has some info about why you need to set the property: &lt;A href="https://issues.apache.org/jira/browse/SQOOP-2910" target="_blank"&gt;https://issues.apache.org/jira/browse/SQOOP-2910&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 17 Oct 2016 19:40:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Import-quot-Dorg-apache-sqoop-splitter-allow-text/m-p/134555#M97214</guid>
      <dc:creator>clukasik</dc:creator>
      <dc:date>2016-10-17T19:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Import: "-Dorg.apache.sqoop.splitter.allow_text_splitter=true"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Import-quot-Dorg-apache-sqoop-splitter-allow-text/m-p/134556#M97215</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/12150/reddy-gayathri.html" nodeid="12150"&gt;@Gayathri Reddy G&lt;/A&gt; or &lt;A rel="user" href="https://community.cloudera.com/users/5019/ssubhas.html" nodeid="5019"&gt;@Sindhu&lt;/A&gt;&lt;/P&gt;&lt;P&gt;can you tell me exactly how you added the -Dorg.apache.sqoop.splitter.allow_text_splitter=true to your import statement?&lt;/P&gt;&lt;P&gt;I'm trying to create a sqoop job with this import statement but it keeps failing:&lt;/P&gt;&lt;PRE&gt;16/10/27 17:53:25 ERROR tool.BaseSqoopTool: Error parsing arguments for import:
16/10/27 17:53:25 ERROR tool.BaseSqoopTool: Unrecognized argument: -Dorg.apache.sqoop.splitter.allow_text_splitter=true&lt;/PRE&gt;&lt;P&gt;my shell script to create the sqoop job looks like this:&lt;/P&gt;&lt;PRE&gt;#!/bin/bash

sqoop job \
  --create &amp;lt;tablename&amp;gt; \
  -- \
  import "-Dorg.apache.sqoop.splitter.allow_text_splitter=true" \
  --connect "jdbc:&amp;lt;URL&amp;gt;"&lt;/PRE&gt;&lt;P&gt;If I remove the -Dorg line all goes file but offcourse the execution of the job failes thats why I need to pass this allow_text_splitter as a parameter.&lt;/P&gt;&lt;P&gt;I tried with double quotes, without, but no luck unfortunately&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 23:02:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Import-quot-Dorg-apache-sqoop-splitter-allow-text/m-p/134556#M97215</guid>
      <dc:creator>rene_sluiter</dc:creator>
      <dc:date>2016-10-27T23:02:18Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Import: "-Dorg.apache.sqoop.splitter.allow_text_splitter=true"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Import-quot-Dorg-apache-sqoop-splitter-allow-text/m-p/134557#M97216</link>
      <description>&lt;P&gt;Try giving it just after sqoop job. Eg: Sqoop job "-Dorg.apache.sqoop.splitter.allow_text_splitter=true" -- import ...&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 23:35:37 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Import-quot-Dorg-apache-sqoop-splitter-allow-text/m-p/134557#M97216</guid>
      <dc:creator>reddy_gayathri</dc:creator>
      <dc:date>2016-10-27T23:35:37Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Import: "-Dorg.apache.sqoop.splitter.allow_text_splitter=true"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Import-quot-Dorg-apache-sqoop-splitter-allow-text/m-p/134558#M97217</link>
      <description>&lt;P&gt;worked! many thanks, you saved my day.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Oct 2016 23:52:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Import-quot-Dorg-apache-sqoop-splitter-allow-text/m-p/134558#M97217</guid>
      <dc:creator>rene_sluiter</dc:creator>
      <dc:date>2016-10-27T23:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Import: "-Dorg.apache.sqoop.splitter.allow_text_splitter=true"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Import-quot-Dorg-apache-sqoop-splitter-allow-text/m-p/291322#M215414</link>
      <description>&lt;P&gt;Can you include that in a line through code?&lt;/P&gt;&lt;P&gt;sqoop import -Dorg.apache.sqoop.splitter.allow_text_splitter=true \&lt;BR /&gt;--connect jdbc:mysql://localhost/sqoop \&lt;BR /&gt;--username root \&lt;BR /&gt;-passqord 0range \&lt;BR /&gt;--split-by id \&lt;BR /&gt;--columns id,name \&lt;BR /&gt;--table customer \&lt;BR /&gt;--target-dir /user/cloudera/ingest/raw/customers \&lt;BR /&gt;--fields-terminated-by "," \&lt;BR /&gt;--hive-import \&lt;BR /&gt;--create-hive-table \&lt;BR /&gt;--hive-table sqoop_workspace.customers&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Mar 2020 21:28:17 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Import-quot-Dorg-apache-sqoop-splitter-allow-text/m-p/291322#M215414</guid>
      <dc:creator>sri_man</dc:creator>
      <dc:date>2020-03-06T21:28:17Z</dc:date>
    </item>
    <item>
      <title>Re: Sqoop Import: "-Dorg.apache.sqoop.splitter.allow_text_splitter=true"</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Sqoop-Import-quot-Dorg-apache-sqoop-splitter-allow-text/m-p/291326#M215415</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/75229"&gt;@sri_man&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since this thread was marked 'Solved' back in 2016, you would have a better chance of receiving a relevant response by &lt;A href="https://community.cloudera.com/t5/forums/postpage/board-id/Questions" target="_blank" rel="noopener"&gt;posting a new question&lt;/A&gt;. This will also provide the opportunity to provide details specific to your environment that could aid other members in providing a more tailored answer to your issue.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Mar 2020 02:06:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Sqoop-Import-quot-Dorg-apache-sqoop-splitter-allow-text/m-p/291326#M215415</guid>
      <dc:creator>ask_bill_brooks</dc:creator>
      <dc:date>2020-03-07T02:06:25Z</dc:date>
    </item>
  </channel>
</rss>

