<?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: The Directory in HDFS goes in Trash when i drop a external table from hive. in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/The-Directory-in-HDFS-goes-in-Trash-when-i-drop-a-external/m-p/129485#M51604</link>
    <description>&lt;A rel="user" href="https://community.cloudera.com/users/11157/rohitrsharma.html" nodeid="11157"&gt;@Rohit Sharma&lt;/A&gt;&lt;P&gt;Can you please try creating table on your /data/folder1 table instead of the file?&lt;/P&gt;</description>
    <pubDate>Mon, 16 Jan 2017 02:16:21 GMT</pubDate>
    <dc:creator>mqureshi</dc:creator>
    <dc:date>2017-01-16T02:16:21Z</dc:date>
    <item>
      <title>The Directory in HDFS goes in Trash when i drop a external table from hive.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/The-Directory-in-HDFS-goes-in-Trash-when-i-drop-a-external/m-p/129484#M51603</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I copy the file from local to HDFS in  " /data/folder1/file.gz" directory.&lt;/P&gt;&lt;P&gt;then i have created a external table "abc" using the same file location.&lt;/P&gt;&lt;P&gt;When i use command "drop table abc;" its drops the table and also the "folder1/file.gz" from HDFS.&lt;/P&gt;&lt;P&gt;Checked : No background process, no script, nothing running.&lt;/P&gt;&lt;P&gt;found the same in HDFS dir "/user/hiveuser/.Trash/Current/data/folder1/file.gz".&lt;/P&gt;</description>
      <pubDate>Sun, 15 Jan 2017 18:21:24 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/The-Directory-in-HDFS-goes-in-Trash-when-i-drop-a-external/m-p/129484#M51603</guid>
      <dc:creator>rohit_r_sharma</dc:creator>
      <dc:date>2017-01-15T18:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: The Directory in HDFS goes in Trash when i drop a external table from hive.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/The-Directory-in-HDFS-goes-in-Trash-when-i-drop-a-external/m-p/129485#M51604</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/11157/rohitrsharma.html" nodeid="11157"&gt;@Rohit Sharma&lt;/A&gt;&lt;P&gt;Can you please try creating table on your /data/folder1 table instead of the file?&lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2017 02:16:21 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/The-Directory-in-HDFS-goes-in-Trash-when-i-drop-a-external/m-p/129485#M51604</guid>
      <dc:creator>mqureshi</dc:creator>
      <dc:date>2017-01-16T02:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: The Directory in HDFS goes in Trash when i drop a external table from hive.</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/The-Directory-in-HDFS-goes-in-Trash-when-i-drop-a-external/m-p/129486#M51605</link>
      <description>&lt;P&gt;Hi &lt;A rel="user" href="https://community.cloudera.com/users/11157/rohitrsharma.html" nodeid="11157"&gt;@Rohit Sharma&lt;/A&gt;. Did you use the 'EXTERNAL' keyword when you created the table?  If you don't specify 'EXTERNAL' then it is an internal table and the data will be deleted, regardless of what location you specify for the data...  &lt;/P&gt;</description>
      <pubDate>Mon, 16 Jan 2017 23:26:18 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/The-Directory-in-HDFS-goes-in-Trash-when-i-drop-a-external/m-p/129486#M51605</guid>
      <dc:creator>bpreachuk</dc:creator>
      <dc:date>2017-01-16T23:26:18Z</dc:date>
    </item>
  </channel>
</rss>

