<?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: WARN sqoop.SqoopOptions: Character argument || has multiple characters; only the first will be used. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/WARN-sqoop-SqoopOptions-Character-argument-has-multiple/m-p/112589#M50792</link>
    <description>&lt;P&gt;If HDFS is just an intermediate destination before loading into hive, you can skip the step and directly load into Hive using the hcatalog-table option in sqoop which provides better fidelity of data and removes one step (and supports all Hive data types also)&lt;/P&gt;&lt;P&gt;Please see &lt;A href="https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html#_sqoop_hcatalog_integration" target="_blank"&gt;https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html#_sqoop_hcatalog_integration&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 Jan 2017 02:12:18 GMT</pubDate>
    <dc:creator>vranganathan</dc:creator>
    <dc:date>2017-01-06T02:12:18Z</dc:date>
    <item>
      <title>WARN sqoop.SqoopOptions: Character argument || has multiple characters; only the first will be used.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/WARN-sqoop-SqoopOptions-Character-argument-has-multiple/m-p/112587#M50790</link>
      <description>&lt;P&gt;While trying to import data from mysql into hdfs using delimiter '||' is not supporting and single '|' character is supported. Is there any way to perfom the same.
we have data in the columns with | character so wants to go with '||' as delimiter&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2017 20:28:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/WARN-sqoop-SqoopOptions-Character-argument-has-multiple/m-p/112587#M50790</guid>
      <dc:creator>klksrinivas</dc:creator>
      <dc:date>2017-01-04T20:28:16Z</dc:date>
    </item>
    <item>
      <title>Re: WARN sqoop.SqoopOptions: Character argument || has multiple characters; only the first will be used.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/WARN-sqoop-SqoopOptions-Character-argument-has-multiple/m-p/112588#M50791</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/2508/klksrinivas.html" nodeid="2508"&gt;@Krishna Srinivas&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Sqoop doesn't support multiple-characters delimiters. You have to use single char.&lt;/P&gt;&lt;P&gt;I would suggest to use a character that is native to Hive text file format - ^A&lt;/P&gt;&lt;PRE&gt;#!/bin/bash

# ...
delim_char=$( printf "\x01" )

sqoop import ...  --input-fields-terminated-by ${delim_char}  ...
# ...
&lt;/PRE&gt;</description>
      <pubDate>Fri, 06 Jan 2017 01:42:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/WARN-sqoop-SqoopOptions-Character-argument-has-multiple/m-p/112588#M50791</guid>
      <dc:creator>eberezitsky</dc:creator>
      <dc:date>2017-01-06T01:42:50Z</dc:date>
    </item>
    <item>
      <title>Re: WARN sqoop.SqoopOptions: Character argument || has multiple characters; only the first will be used.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/WARN-sqoop-SqoopOptions-Character-argument-has-multiple/m-p/112589#M50792</link>
      <description>&lt;P&gt;If HDFS is just an intermediate destination before loading into hive, you can skip the step and directly load into Hive using the hcatalog-table option in sqoop which provides better fidelity of data and removes one step (and supports all Hive data types also)&lt;/P&gt;&lt;P&gt;Please see &lt;A href="https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html#_sqoop_hcatalog_integration" target="_blank"&gt;https://sqoop.apache.org/docs/1.4.6/SqoopUserGuide.html#_sqoop_hcatalog_integration&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 02:12:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/WARN-sqoop-SqoopOptions-Character-argument-has-multiple/m-p/112589#M50792</guid>
      <dc:creator>vranganathan</dc:creator>
      <dc:date>2017-01-06T02:12:18Z</dc:date>
    </item>
    <item>
      <title>Re: WARN sqoop.SqoopOptions: Character argument || has multiple characters; only the first will be used.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/WARN-sqoop-SqoopOptions-Character-argument-has-multiple/m-p/112590#M50793</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/195/vranganathan.html" nodeid="195"&gt;@Venkat Ranganathan&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Small correction: if you use hcatalog, but your table is still textfile format with "|" field delimiter, you'll still have the same issue. You, probably, mean to use HCat import with ORC formatted table - that will definitely work.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 03:56:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/WARN-sqoop-SqoopOptions-Character-argument-has-multiple/m-p/112590#M50793</guid>
      <dc:creator>eberezitsky</dc:creator>
      <dc:date>2017-01-06T03:56:01Z</dc:date>
    </item>
    <item>
      <title>Re: WARN sqoop.SqoopOptions: Character argument || has multiple characters; only the first will be used.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/WARN-sqoop-SqoopOptions-Character-argument-has-multiple/m-p/112591#M50794</link>
      <description>&lt;P&gt;We are not looking at HDFS as an intermediate storage as we will be processsing the files using SPARK SQL .&lt;/P&gt;&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/195/vranganathan.html" nodeid="195"&gt;@Venkat Ranganathan&lt;/A&gt; &lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 13:07:29 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/WARN-sqoop-SqoopOptions-Character-argument-has-multiple/m-p/112591#M50794</guid>
      <dc:creator>klksrinivas</dc:creator>
      <dc:date>2017-01-06T13:07:29Z</dc:date>
    </item>
    <item>
      <title>Re: WARN sqoop.SqoopOptions: Character argument || has multiple characters; only the first will be used.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/WARN-sqoop-SqoopOptions-Character-argument-has-multiple/m-p/112592#M50795</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14209/eberezitsky.html" nodeid="14209"&gt;@Ed Berezitsky&lt;/A&gt; Thank you and currently we are using '\001' as the delimiter in place of '||'&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 13:08:16 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/WARN-sqoop-SqoopOptions-Character-argument-has-multiple/m-p/112592#M50795</guid>
      <dc:creator>klksrinivas</dc:creator>
      <dc:date>2017-01-06T13:08:16Z</dc:date>
    </item>
    <item>
      <title>Re: WARN sqoop.SqoopOptions: Character argument || has multiple characters; only the first will be used.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/WARN-sqoop-SqoopOptions-Character-argument-has-multiple/m-p/112593#M50796</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/14209/eberezitsky.html" nodeid="14209"&gt;@Ed Berezitsky&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&amp;gt;&amp;gt;  Small correction: if you use hcatalog, but your table is still textfile format with "|" field delimiter, you'll still have the same issue&lt;/P&gt;&lt;P&gt;The output file field delimiters are only needed for HDFS imports.   In the case of Hcatalog imports, you tell the text file format properties as part of the storage stanza and the defaults for hive will be used.   Essentially, the default storage format should be ok to handle this.    BTW, hcatalog import works with most storage formats, not just ORC&lt;/P&gt;&lt;P&gt;@Krishna Srinivas&lt;/P&gt;&lt;P&gt;You should be able to use a Hive table using Spark SQL also - but may be you have other requirements also.   Glad to see that &lt;A rel="user" href="https://community.cloudera.com/users/14209/eberezitsky.html" nodeid="14209"&gt;@Ed Berezitsky&lt;/A&gt;'s solution worked for you&lt;/P&gt;</description>
      <pubDate>Fri, 06 Jan 2017 15:17:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/WARN-sqoop-SqoopOptions-Character-argument-has-multiple/m-p/112593#M50796</guid>
      <dc:creator>vranganathan</dc:creator>
      <dc:date>2017-01-06T15:17:50Z</dc:date>
    </item>
  </channel>
</rss>

