I just downloaded Hortonworks sandbox VM, inside it there are Hadoop with the version 2.7.1. I adding some files by using the
hadoop fs -put /hw1/* /hw1 <
hadoop fs -put /hw1/* /hw1
what works for me :
hadoop fs -rmr -R