How Do You Cancel an hdfs Command That Appears to Be Making No Progress?

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.

Leave a comment

Your email address will not be published. Required fields are marked *