title: Files lost by overwriting into hive managed tables
body: <p>I am using hadoop 2.7.3 and hive 2.1.1.</p>
  
  <p>I had some 8-9 file in HDFS. I created one internal hive table. I loaded first of those 8 files in that table. Did some operation on that data.</p>
  
  <p>After that I loaded the second of those files by overwriting into that table. </p>
  
  <pre><code>load data inpath '/path/path1/first.csv' into table ABC;
  
  load data inpath '/path/path1/second.csv' overwrite into table ABC;
  </code></pre>
  
  <p>Did some operation on second data.</p>
  
  <p>I then loaded third file and so on till the last file by using "overwrite into" .</p>
  
  <p>Now, I see all those files are not there in there original location. Also, at /user/hive/warehouse/ABC only the last of the files is there.</p>
  
  <p>Where did those previous files go? Are they lost because of overwriting into hive table? I did "<code>hdfs dfs -ls -R / | grep "filename</code>" but could not find my files.</p>