Welcome to Digital Hunger Channel, Here We Will discus About Basic Hadoop HDFS Commands for Beginners of Big Data Hadoop Learner. This is very easy Basic commands of Hadoop.
#DigitalHunger #HadoopCommands #hdfs #Hadoophdfs #basichdfscommands #basichdfs #bigdatahdfs #bigdatahadoop #hdfscommands #hadoopcommand #basichadoophdfscommands #simplehdfscommands #top10commandshdfs #top10commands
HDFS is one of the Major Components of Hadoop Ecosystem, Which is Responsible for Storing Large Data Sets. Hadoop Commands through You Can Change the Filename, Directory, View File Content, Copying Files or Directories etc.
HDFS (Hadoop Distributed File System) Commands in Hadoop.
HDFS Commands ---
Here is list of Hadoop HDFS Commands You Can Learn Easily ---
$bin/hadoop dfs -mkdir /Directory (Create Directory)
$bin/hadoop dfs -put /home/user/.. /Directory/Filename (File copy from local system to HDFS) Employe is a filename ok
$bin/hadoop dfs -get /Directory/Filename/ /home/user/.. (File copy from HDFS to local system)
$bin/hadoop dfs -ls / this is root ok (Show all Directory in HDFS. / this is root)
$bin/hadoop dfs -lsr / (Show all Directory & File with path)
$bin/hadoop dfs -cat /Directory/Filename (File content show)
$bin/hadoop dfs -mv /Directory/Filename /Directory2/Filename2 (File move from one location to other)
$bin/hadoop dfs -cp /Directory/Filename3 /Directory/Filename4 (File copy from one location to other)
$bin/hadoop dfs -tail /Directory/Filename (show kilobyte of file)
$bin/hadoop dfs -rm /Directory/Filename (Delete File)
$bin/hadoop dfs -rmr /Directory (Delete Directory)