Uploaded Files are getting deleted auomatically


#1

Hi There,

I was trying to upload files to hdfs and then load them into hive tables. Before I could even fire query to load the data the files were getting deleted.
for quiet a long time i was not able to figure this out as I was getting error that path does not exist.

WHY MY UPLOADED FILES ARE GETTING AUTOMATICALLY DELETED ?


#2

Please not that when you call the “load” command in hive to load data from HDFS, it moves data from the source HDFS location to the table’s folder.

You can find out the table’s folder using: describe formatted table_name