title: hadoop fs -rm -skipTrash doesn't work
body: <p>I copied some files from a directory to directory using</p>
  
  <pre><code>hadoop distcp -Dmapreduce.job.queuename=adhoc /user/comverse/data/$CURRENT_DATE_NO_DASH_*/*rcr.gz /apps/hive/warehouse/arstel.db/fair_usage/fct_evkuzmin04/file_rcr/
  </code></pre>
  
  <p>I stopped the scipt before it finished and the remained a lot of <code>.distcp.tmp.attempt</code> and files that fnished moving in the dst directory</p>
  
  <p>Now I want to clean the dst directory. After running </p>
  
  <pre><code>hadoop fs -rm -skipTrash /apps/hive/warehouse/arstel.db/fair_usage/fct_evkuzmin04/file_mta/*
  </code></pre>
  
  <p>most of the files were deleted, but some remained(at least that's what HUE shows). The strange thing is, every time I run <code>hadoop fs -rm -skipTrash</code>, according to HUE, the number of remaining files changes to more or less.</p>
  
  <p>I tried </p>
  
  <pre><code>hadoop fs -ls /apps/hive/warehouse/arstel.db/fair_usage/fct_evkuzmin04/file_mta/
  </code></pre>
  
  <p>and saw that some of the files that should be deleted were still there. Then I run</p>
  
  <pre><code>hadoop fs -rm -skipTrash /apps/hive/warehouse/arstel.db/fair_usage/fct_evkuzmin04/file_mta/*
  </code></pre>
  
  <p>a dozen more times and there were always more files to delete(There still are). What is happening?</p>
  
  <p>ALSO</p>
  
  <p>Each time I refresh the page in hue, the number of files grows. HALP.</p>
  
  <p>EDIT</p>
  
  <p>It seems that stopping distcp in the command line doesn't actually kill the job. That was the reason.</p>