0% found this document useful (0 votes)
6 views2 pages

BDC Lab Week

The document outlines the first week of a BDC lab focused on HDFS (Hadoop Distributed File System) storage. It includes objectives such as creating a directory structure in HDFS and moving files between local and HDFS directories using specific commands. Additionally, it lists basic Unix/Linux commands relevant to the tasks, such as pwd, whoami, mkdir, and others.

Uploaded by

suryaarjun060
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views2 pages

BDC Lab Week

The document outlines the first week of a BDC lab focused on HDFS (Hadoop Distributed File System) storage. It includes objectives such as creating a directory structure in HDFS and moving files between local and HDFS directories using specific commands. Additionally, it lists basic Unix/Linux commands relevant to the tasks, such as pwd, whoami, mkdir, and others.

Uploaded by

suryaarjun060
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

BDC LAB WEEK-1

Name: A. Chaitanya Lakshmi


Roll No: 23071A7205
Week 1: HDFS (Storage)
A. Hadoop Storage File System Your first objective is to create a directory structure in HDFS using
HDFS commands. Create the local files using Linux commands and move the files to HDFS directory.
and vice versa.
I. Write a command to create the directory structure in HDFS.
II. Write a Command to move file from local Unix/Linux machine to HDFS.

Basic Commands:
1. pwd
Displays the present working directory.
2. whoami
Shows the username of the currently logged-in user.
3. mkdir
Creates a new directory named seconddir.
4. ls
Lists all files and directories in the current directory.
5. cd
Changes the current directory to seconddir.
6. cd ..
Moves one level up to the parent directory.
7. touch [Link]
Creates an empty file named [Link].
8. cat [Link]
Displays the contents of the file on the terminal.
9. vi [Link]
Opens the file in the vi editor for editing.

You might also like