How to Use Help Command in HDFS

Sometimes as a Hadoop developer it is difficult to remember all the Hadoop commands. The HELP command useful to know the correct syntax.

----

How to List all HDFS Commands

hadoop
hadoop fs   ==> Enter 

This will list all Hadoop commands.

Help Command in HDFS

Hadoop commands are the flavor of UNIX. If you want to see each Command description, you can go for Hadoop help command. You can use the below command for help.

hadoop fs -hlep ls 

Deleting a File in Hadoop HDFS

The below command helps   how to delete a file from Hadop cluster.

hadoop fs -rm exmaple.txt

Comments

Popular posts from this blog

Hyperledger Fabric: 20 Real Interview Questions

How to Fix Python Syntax Errors Quickly

5 Super SEO Blogger Tools