Big Data - ASSIGNMENT 3
Big Data - ASSIGNMENT 3
Question 3: Show practical example to list files, Insert data, retrieving data and
shutting down HDFS.
Initially, you have to format the configured HDFS file system, open namenode
(HDFS server), and execute the following command.
$ start-dfs.sh
Step 1
You have to create an input directory.
Step 2
Transfer and store a data file from local systems to the Hadoop file system using
the put command.
Step 3
You can verify the file using ls command.
Step 1
Initially, view the data from HDFS using cat command.
Step 2
Get the file from HDFS to the local file system using get command.
$ stop-dfs.sh