<?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: spcify location in create-hcatalog-table doing sqoop import in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/spcify-location-in-create-hcatalog-table-doing-sqoop-import/m-p/207278#M71536</link>
    <description>&lt;P&gt;Thanks it worked &lt;/P&gt;&lt;P&gt;/Simon&lt;/P&gt;</description>
    <pubDate>Wed, 22 Nov 2017 18:38:32 GMT</pubDate>
    <dc:creator>simon_jespersen</dc:creator>
    <dc:date>2017-11-22T18:38:32Z</dc:date>
    <item>
      <title>spcify location in create-hcatalog-table doing sqoop import</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/spcify-location-in-create-hcatalog-table-doing-sqoop-import/m-p/207276#M71534</link>
      <description>&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;Im doing sqoop import of msybase database tables into orc hive tables, can i specify the location my orc file is created in this cmd&lt;/P&gt;&lt;P&gt;i have tried --hcatalog-home /bla/bla and --location /bla/bla it wont work&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;#!/bin/bash
sqoop import "-Dorg.apache.sqoop.splitter.allow_text_splitter=true" \
--driver net.sourceforge.jtds.jdbc.Driver \
--connect jdbc:jtds:sybase://10.9.179.5:4000/db1 \
--username foo \
--P \
--query "select  * from table1 where CAST(csrp_koersel_dto as DATE)&amp;gt;'2017-11-18' AND \$CONDITIONS" \
         --split-by cpr_nr  --hcatalog-database default --hcatalog-table sqoop_hccatalog_example_new1 --create-hcatalog-table --hcatalog-storage-stanza "stored as orcfile"&lt;/PRE&gt;</description>
      <pubDate>Tue, 21 Nov 2017 23:19:26 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/spcify-location-in-create-hcatalog-table-doing-sqoop-import/m-p/207276#M71534</guid>
      <dc:creator>simon_jespersen</dc:creator>
      <dc:date>2017-11-21T23:19:26Z</dc:date>
    </item>
    <item>
      <title>Re: spcify location in create-hcatalog-table doing sqoop import</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/spcify-location-in-create-hcatalog-table-doing-sqoop-import/m-p/207277#M71535</link>
      <description>&lt;P&gt; &lt;A rel="user" href="https://community.cloudera.com/users/16412/simonjespersen.html" nodeid="16412"&gt;@Simon Jespersen&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Can you try appending location as well in --hcatalog-storage-stanza&lt;/P&gt;&lt;PRE&gt;--hcatalog-storage-stanza "stored as orcfile LOCATION /bla/bla"&lt;/PRE&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aditya&lt;/P&gt;</description>
      <pubDate>Tue, 21 Nov 2017 23:31:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/spcify-location-in-create-hcatalog-table-doing-sqoop-import/m-p/207277#M71535</guid>
      <dc:creator>asirna</dc:creator>
      <dc:date>2017-11-21T23:31:04Z</dc:date>
    </item>
    <item>
      <title>Re: spcify location in create-hcatalog-table doing sqoop import</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/spcify-location-in-create-hcatalog-table-doing-sqoop-import/m-p/207278#M71536</link>
      <description>&lt;P&gt;Thanks it worked &lt;/P&gt;&lt;P&gt;/Simon&lt;/P&gt;</description>
      <pubDate>Wed, 22 Nov 2017 18:38:32 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/spcify-location-in-create-hcatalog-table-doing-sqoop-import/m-p/207278#M71536</guid>
      <dc:creator>simon_jespersen</dc:creator>
      <dc:date>2017-11-22T18:38:32Z</dc:date>
    </item>
  </channel>
</rss>

