Oct 10 2015 09:11 PM
the command you enter : "hadoop dfsadmin"
The answer you get is not the error, it is auto-generate help option provided by terminal.
Try run the complete command - "hadoop dfsadmin -refreshnodes" wihout quotes.
If you still get any error please post the error.