title: Hive queries generating mismanaged staging directories
body: <p>We are using HDP hadoop distribution v2.3.2, we are dealing with Hive external tables and these are queried on daily basis. </p>
  
  <p>After few days since process started, the data directories contain lot of staging directories with format: <strong>.hive-staging_hive_date-time_</strong> 
   There are lot of staging directories generated, each staging directory corresponds to a query run on the Hive table. </p>
  
  <p>What can I do to avoid these staging directories to be piled up into my data directories ?</p>