hadoop fs -rm -skipTrash doesn't work hadoop fs -rm -skipTrash doesn't work hadoop hadoop

hadoop fs -rm -skipTrash doesn't work


You could use this "-R":

This remove all the file from your hdfs location.

hadoop fs -rm -R -skipTrash /apps/hive/warehouse/arstel.db/fair_usage/fct_evkuzmin04/file_mta/*


Ctrl + C doesn't kill the yarn application. distcp uses MapReduce model to copy data. When you run distcp command it submit yarn application to run on hadoop to copy data. You need to kill the yarn application to stop distcp copy process.

Command to kill yarn application:

yarn application -kill <application_id>