In newer versions of hadoop command is deprecated. You can use hdfs command instead of hadoop. For example: You must run hadoop fsck so sort out any inconsistencies created in the hdfs due to above command.