






























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!































Big data is a collection of huge amount of data. Big data is so large, complex and fast that it cannot be stored and processed using traditional data management tools.
Volume: Volume refers to the huge amount of data generated every second from various sources like social media, mobile phones, sensors, credit cards, images, video. The volume of big data ranges from Petabytes to Zettabytes or Exabytes. Distributed systems are used to store this data at several locations and brought together by a software Framework like Hadoop. This volume of the data determines whether that data can be considered as big data or not. Variety: The Big Data which is generated from different sources can be of multiple varieties. Big Data can be structured, unstructured, and semi-structured. Structured data : The data which has a fixed structure are called structured data. Unstructured data : The data which does not has a fixed structure are called unstructured data. o Semi- Structured data : it is a combination of Structured and Unstructureddata Earlier, data which was collected was in the form of tables and spreadsheets, but now a days the data is in the form of photos, videos, audios, PDFs and emails, which makes 80% of the big data unstructured. Velocity: Velocity means the speed at which the data is generated. velocity determine How fast the data is generated and processed to fullfill the demands.
It deals with the speed at which data flows from sources like social media sites, sensors, Mobile devices, etc.
2. Structured data: The data which has a fixed structure are called structured data.
Definition The data which is highly organized and has a fixed structure are called structured data. combination of structured & unstructured data is called Semi-structured data The data which is not organized and does not have any fixed structure are called unstructured data Data organization Highly organized Partially organized Unorganized Flexibility less flexible It is more flexible than structured data but less flexible than unstructured data. Very flexible Scalability Less scalable It is more scalable than structured data but less scalable than unstructured data. very scalable. Location data warehouse data lakehouse data lakes Example name, date, address & credit card numbers JSON and XML audio, video & images
Hadoop is an open source framework which is used for store and perform computation on huge amount of data. Hadoop is written in Java. Hadoop is designed to scale up from single server to thousands of machines, each offering storage & computation. It is used by Facebook, Twitter, Yahoo, Google, & LinkedIn. Feature / Advantages:
1. Common Utilities: (Hadoop Common) Common Utilities are the Java libraries which are used to start the Hadoop application. It is also used by other Hadoop modules that is HDFS, YARN, and MapReduce. It is also known as Hadoop Common. 2. YARN: YARN stands for Yet another Resource Negotiator. YARN is a framework performs 2 operations: job scheduling and resource management. 1. Job scheduler : the job scheduler divides a big task into small jobs so that each job can be assigned to the slaves in order to maximize the processing. It also keeps track on other information like job priority, job timing, job dependencies, etc. 2. Resource Manager : it manages all the resources that are used. 3. HDFS HDFS stands for Hadoop distributed File System. It is used to store large data set across various nodes. HDFS breaks the data into blocks and stores it at different nodes over distributed architecture. It contains a master/slave architecture which has a single Name Node and multiple Data Nodes. 1. Name Node – Name Node is the master in the Hadoop system. Every Hadoop system has only one name node. It is mainly used for storing the Metadata. It also guides the Data nodes (Slaves). It instructs the Data Nodes to perform operations like delete, create & replicate blocks. It contains Job Tracker, which tracks on the files which is distributed among different data nodes. Failure of Name Node will lead to the failure of the whole Hadoop system. 2. Data Node: Data Nodes are the slaves in the Hadoop system. Data Nodes are used to store the data. It performs various operations like delete, create, replicate blocks based on the instructions from the Name node. The Data Node should have high storing capacity to store a huge amount of data.
Hadoop physical architecture is based on Master-slave architecture. Components of Physical Architecture: I) Name Node: Name Node works as a Master in the Hadoop system. Every Hadoop system has only one name node. It is mainly used for storing the Metadata. It also guides the Data nodes (Slaves). It instructs the Data Nodes to perform operations like delete, create & replicate blocks. It contains a Job Tracker, which keeps track on the files which is distributed among different data nodes. Failure of Name Node will lead to the failure of the whole Hadoop system. II) Data node: Data Nodes are the Slave in the hadoop system. Data Nodes are used for storing the data. It performs various operations like delete, create, replicate blocks based on the instructions from the Name node. The data nodes communicate with each other through the name node to avoid replication in the task provided. The Data Node should have high storing capacity to store a huge amount of data. III) Job Tracker: Job Tracker keeps track on the files which is distributed among different data nodes. Every Hadoop system has only one job tracker. Job Tracker runs on the name node. IV) Task Tracker: Task Tracker performs tasks given by the job tracker. It also continuously communicates with the job tracker. Every data node will have only one task tracker. V) Secondary Name Node: (SNN) Secondary name node monitors the whole process.
Every Hadoop system has only one SNN. Working:
It provides libraries for collaborative filtering, clustering, classification & frequent item- set mining.
Hive is a data warehouse system which is used to analyse large datasets. It has its own query language called Hive Querying Language (HQL). Programmers write MapReduce functions using HQL queries and HIVE converts these queries into MapReduce jobs.
Zookeeper is a coordinator which coordinates with various nodes in the Hadoop Ecosystem. Before Zookeeper, it was difficult to coordinate and synchronize the nodes. Zookeeper solves all the problems by performing synchronization, configuration, maintenance, grouping and naming.
Oozie is a Job Scheduler which schedules Hadoop jobs There are 2 types of jobs:
Sqoop is a tool which is used to transfer data between Hadoop and external sources. Sqoop supports both structured and unstructured data. It works with RDBMS like MySQL & Oracle.
HCatalog is a table storage management tool. It is used to access the Hive metastore. It is runs on top of the Hive metastore. It allows users with different data processing tools (like Pig and MapReduce) to easily read and write data on the grid.
I) Name Node: Name Node works as a Master in the Hadoop system. Every Hadoop system has only one name node. It is mainly used for storing the Metadata. It also guides the Data nodes (Slaves). It instructs the Data Nodes to perform operations like delete, create & replicate blocks. It contains a Job Tracker, which keeps track on the files which is distributed among different data nodes. Failure of Name Node will lead to the failure of the whole Hadoop system. II) Data node: Data Nodes are the Slave in the hadoop system. Data Nodes are used for storing the data. It performs various operations like delete, create, replicate blocks based on the instructions from the Name node. The data nodes communicate with each other through the name node to avoid replication in the task provided. The Data Node should have high storing capacity to store a huge amount of data. II) Block: Block is the minimum amount of data that HDFS can read and write. The default block size is 64MB, but it can be increased as per the requirement.
NoSQL stands for “Not Only SQL”. NoSQL is a non-relational Database which is used to store huge amount of unstructured data in a distributed architecture. NoSQL generally avoids JOIN operations. Features / Advantages:
1. Volume: Organizations were looking for an alternative because the RBMS cannot store huge amount of data. This forced the organizations to move from serial processing to distributed parallel processing. 2. Velocity: Single-processor RDBMS is unable to read and write data rapidly. Therefore, there was a need of a fast processing system.
In this type of database, the data is stored in documents. It stores data in key/value pair but here, the value part is in the form of a document. The unique key is used to retrieve the document. The document is stored in JSON or XML formats. Application : CMS systems, blogging platforms, and e-commerce. Example: Amazon SimpleDB CouchDB MongoDB
Graph database focuses on the relationship between the data elements. The data is stored in the form of nodes and the connections between those nodes are called links or relationships. In this type of database, it is easy to identify the relationship between the data with the help of the links. Application: social networks, logistics, fraud detection, knowledge graph and geographic data. Example: Neo4J Infinite Graph OrientDB FlockDB
**1. Explain different ways by which big data problems are handled by NoSQL