<?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: How to Load data from hdfs Multi level directory into Hive table? in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Load-data-from-hdfs-Multi-level-directory-into-Hive/m-p/190343#M65314</link>
    <description>&lt;P&gt;is that the only properties I need to add into the hive-site.xml?&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&amp;lt;name&amp;gt;mapred.input.dir.recursive&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
 &amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt;



&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&amp;lt;name&amp;gt;hive.mapred.supports.subdirectories&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2017 19:22:41 GMT</pubDate>
    <dc:creator>helmi_khalifa</dc:creator>
    <dc:date>2017-07-21T19:22:41Z</dc:date>
    <item>
      <title>How to Load data from hdfs Multi level directory into Hive table?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Load-data-from-hdfs-Multi-level-directory-into-Hive/m-p/190340#M65311</link>
      <description>&lt;P&gt;An error occur when i try to load data from hdfs directory with multy level directories?&lt;/P&gt;&lt;P&gt;Should change some properties in the hive-site.xml?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 15:49:51 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Load-data-from-hdfs-Multi-level-directory-into-Hive/m-p/190340#M65311</guid>
      <dc:creator>helmi_khalifa</dc:creator>
      <dc:date>2017-07-21T15:49:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to Load data from hdfs Multi level directory into Hive table?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Load-data-from-hdfs-Multi-level-directory-into-Hive/m-p/190341#M65312</link>
      <description>&lt;P&gt;Can you give some details?&lt;/P&gt;&lt;P&gt;Saying multi-level, do you try to import files from multiple folders? Can you give sample directory or directories?&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 16:02:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Load-data-from-hdfs-Multi-level-directory-into-Hive/m-p/190341#M65312</guid>
      <dc:creator>sedatkestepe</dc:creator>
      <dc:date>2017-07-21T16:02:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to Load data from hdfs Multi level directory into Hive table?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Load-data-from-hdfs-Multi-level-directory-into-Hive/m-p/190342#M65313</link>
      <description>&lt;P&gt;it is a directory with many folders&lt;/P&gt;&lt;P&gt;/log/20170721&lt;/P&gt;&lt;P&gt;/log/20170720&lt;/P&gt;&lt;P&gt;/log/20170719&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 18:48:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Load-data-from-hdfs-Multi-level-directory-into-Hive/m-p/190342#M65313</guid>
      <dc:creator>helmi_khalifa</dc:creator>
      <dc:date>2017-07-21T18:48:04Z</dc:date>
    </item>
    <item>
      <title>Re: How to Load data from hdfs Multi level directory into Hive table?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Load-data-from-hdfs-Multi-level-directory-into-Hive/m-p/190343#M65314</link>
      <description>&lt;P&gt;is that the only properties I need to add into the hive-site.xml?&lt;/P&gt;&lt;P&gt;&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&amp;lt;name&amp;gt;mapred.input.dir.recursive&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;
 &amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt;



&amp;lt;property&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&amp;lt;name&amp;gt;hive.mapred.supports.subdirectories&amp;lt;/name&amp;gt;&lt;/P&gt;&lt;P style="margin-left: 20px;"&gt;&amp;lt;value&amp;gt;true&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/property&amp;gt;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2017 19:22:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Load-data-from-hdfs-Multi-level-directory-into-Hive/m-p/190343#M65314</guid>
      <dc:creator>helmi_khalifa</dc:creator>
      <dc:date>2017-07-21T19:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to Load data from hdfs Multi level directory into Hive table?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Load-data-from-hdfs-Multi-level-directory-into-Hive/m-p/190344#M65315</link>
      <description>&lt;P&gt;@Helmi Khalifa&lt;/P&gt;&lt;P&gt;Please use below snytax to load data from hdfs to hive tables&lt;/P&gt;&lt;P&gt;LOAD DATA INPATH '/hdfs/path' OVERWRITE INTO TABLE TABLE_NAME;&lt;/P&gt;&lt;P&gt;In case if you are trying to load to a specific partition of the table &lt;/P&gt;&lt;P&gt;LOAD DATA INPATH '/hdfs/path' OVERWRITE INTO TABLE TABLE_NAME PARTITION (ds='2008-08-15'); &lt;/P&gt;</description>
      <pubDate>Sat, 22 Jul 2017 01:14:57 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Load-data-from-hdfs-Multi-level-directory-into-Hive/m-p/190344#M65315</guid>
      <dc:creator>sreeviswa_athic</dc:creator>
      <dc:date>2017-07-22T01:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to Load data from hdfs Multi level directory into Hive table?</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Load-data-from-hdfs-Multi-level-directory-into-Hive/m-p/190345#M65316</link>
      <description>&lt;P&gt;I am using the same syntax as yours but it does'nt work.&lt;/P&gt;&lt;P&gt;there are some missing properties in the hive-site.xml file.&lt;/P&gt;&lt;P&gt;I added these properties in my comment below and it works now&lt;/P&gt;&lt;P&gt;mapred.input.dir.recursive&lt;/P&gt;&lt;P&gt;hive.mapred.supports.subdirectories&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 22 Jul 2017 16:35:19 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/How-to-Load-data-from-hdfs-Multi-level-directory-into-Hive/m-p/190345#M65316</guid>
      <dc:creator>helmi_khalifa</dc:creator>
      <dc:date>2017-07-22T16:35:19Z</dc:date>
    </item>
  </channel>
</rss>

