Problem scenario
An hdfs command hangs (or appears to be hung). To interrupt the command, you try ctrl-c. But this does nothing. How do you cancel out?
Solution
Use ctrl-z. This will suspend the job. You can then kill it with kill, kill 9, or some other means.