AnsweredAssumed Answered

unable to delete a file from maprfs

Question asked by sachin12 on Oct 15, 2013
Latest reply on Oct 16, 2013 by Ted Dunning
I am trying to delete one file from maprfs. The file which I am trying to delete contains control character ^M (CR) at the end of the file.

If we redirect the output of the command hadoop fs -ls / to file (hadoop fs -ls / > output.txt ) and open the file we can see the control character at the end, since ^M (CR) is a non printable character.

> How to delete file whose file name
> contains a control character ?

Outcomes