Lab Assignment-1
Lab Assignment-1
In Hadoop, the jps command is used to check the status of various Hadoop daemons
running on a system. It is particularly useful for verifying that Hadoop services are
up and running correctly, especially when troubleshooting or setting up a Hadoop
cluster.
2)mkdir:-
The hadoop fs -mkdir command is used to create directories within the Hadoop
Distributed File System (HDFS). It allows you to organize your HDFS storage by
setting up a folder structure.It also checks whether the folder/file is available or nor
if the folder exists then it returns File exists as mentioned above.
3)rmdir:-
5)-put
The ls command in Hadoop is used to list files and directories in the Hadoop
Distributed File System (HDFS). It’s similar to the Linux ls command and provides
information about files and directories within HDFS.
7)-cat
8)-cp
hadoop fs -cp <source_path> <destination_path>
The cp command in Hadoop is used to copy files or directories from one location to
another within the Hadoop Distributed File System (HDFS). It works similarly to the
Linux cp command but is specific to HDFS operations.
9)-mv
10)-copyFromLocal