HDFS - Exercise
- List all the files and directories under /user/ubuntu in HDFS
- Create a directory with name hdfsdemo in HDFS
- Copy the file u.data.copy from /home/ubuntu (local file system) to hdfsdemo directory in HDFS
- Create a directory with name hdfsdemo2 in HDFS
- Copy the file u.data.copy from hdfsdemo to hdfsdemo2 directory in HDFS
- Check what is the replication factor of u.data.copy under hdfsdemo in HDFS?
- Set the replication factor of u.data.copy under hdfsdemo directory in HDFS to 2
- Bring the file u.data.copy under hdfsdemo directory in HDFS to the local file system
- Check the health of hdfsdemo directory in HDFS
- Recursively delete hdfsdemo and hdfsdemo2 directories in HDFS