Docsity

Cloud Computing Lab Manual Practical Journal Assignment 8 SPPU TE AIDS 2024 Pattern, Study Guides, Projects, Research of Computer Science

Toggle sidebar
bg1
Laboratory Assignment No. 4
Title: Study Installation and Configuration of Hadoop
Problem Statement: Study installation and configuration of Hadoop.
Aim: To study the installation and configuration of the Hadoop framework.
Objectives:
• To understand the concept of Hadoop.
• To study the architecture of Hadoop.
• To learn the installation process of Hadoop.
• To study the configuration of Hadoop in a single-node environment.
• To understand the applications of Hadoop in big data processing.
Software Requirements: Windows 10/11 Operating System, Java Development Kit (JDK 8 or above), Apache
Hadoop, Oracle VirtualBox (optional), Ubuntu Linux (optional), Google Chrome / Mozilla Firefox, Microsoft Word
(for documentation)
Hardware Requirements: Computer or Laptop, Minimum 4 GB RAM, Intel Core i3 Processor or above,
Minimum 20 GB Free Disk Space, Stable Internet Connection
Theory:
Hadoop
Apache Hadoop is an open-source framework developed by the Apache Software Foundation for storing and
processing large volumes of data across clusters of computers. It provides a distributed computing environment that
enables reliable, scalable, and fault-tolerant data processing. Hadoop is widely used for Big Data analytics because
it can efficiently process structured, semi-structured, and unstructured data.
pf3

Partial preview of the text

Download Cloud Computing Lab Manual Practical Journal Assignment 8 SPPU TE AIDS 2024 Pattern and more Study Guides, Projects, Research Computer Science in PDF only on Docsity!

Laboratory Assignment No. 4

Title: Study Installation and Configuration of Hadoop Problem Statement: Study installation and configuration of Hadoop. Aim: To study the installation and configuration of the Hadoop framework. Objectives:

  • To understand the concept of Hadoop.
  • To study the architecture of Hadoop.
  • To learn the installation process of Hadoop.
  • To study the configuration of Hadoop in a single-node environment.
  • To understand the applications of Hadoop in big data processing. Software Requirements: Windows 10/11 Operating System, Java Development Kit (JDK 8 or above), Apache Hadoop, Oracle VirtualBox (optional), Ubuntu Linux (optional), Google Chrome / Mozilla Firefox, Microsoft Word (for documentation) Hardware Requirements: Computer or Laptop, Minimum 4 GB RAM, Intel Core i3 Processor or above, Minimum 20 GB Free Disk Space, Stable Internet Connection Theory:

Hadoop

Apache Hadoop is an open-source framework developed by the Apache Software Foundation for storing and processing large volumes of data across clusters of computers. It provides a distributed computing environment that enables reliable, scalable, and fault-tolerant data processing. Hadoop is widely used for Big Data analytics because it can efficiently process structured, semi-structured, and unstructured data.

Hadoop Architecture

Hadoop follows a master-slave architecture consisting of the following components:

1. Hadoop Distributed File System (HDFS) HDFS is the storage layer of Hadoop. It stores large files by dividing them into smaller blocks and distributing them across multiple nodes in the cluster. It provides fault tolerance by maintaining multiple copies (replicas) of each data block. 2. NameNode The NameNode is the master node of HDFS. It manages the file system namespace and maintains metadata about files and directories. It keeps track of where data blocks are stored within the cluster. 3. DataNode The DataNode is the worker node responsible for storing and retrieving data blocks. It communicates with the NameNode and performs read/write operations requested by users. 4. MapReduce MapReduce is the data processing framework of Hadoop. It divides a large processing task into smaller sub-tasks, executes them in parallel across multiple nodes, and combines the results to produce the final output. 5. YARN (Yet Another Resource Negotiator) YARN is the resource management component of Hadoop. It manages cluster resources, schedules jobs, and allocates system resources to running applications.

Installation of Hadoop

The installation of Hadoop involves downloading the Hadoop package, installing Java, configuring environment variables, setting up Hadoop configuration files, and verifying the installation. Hadoop can be installed in standalone, pseudo-distributed (single-node), or fully distributed modes. Configuration of Hadoop Hadoop configuration is performed by editing XML configuration files such as:

  • core-site.xml – Specifies the Hadoop file system and default file system URI.
  • hdfs-site.xml – Configures HDFS properties such as replication factor and storage directories.
  • mapred-site.xml – Configures MapReduce execution settings.
  • yarn-site.xml – Configures YARN resource management services. Proper configuration of these files enables Hadoop services to communicate and function correctly.