HKBK College of Engineering Department of Ise: Big Data Analytics (18Cs72) Seminar On The Topic Key-Value Pairs
HKBK College of Engineering Department of Ise: Big Data Analytics (18Cs72) Seminar On The Topic Key-Value Pairs
HKBK College of Engineering Department of Ise: Big Data Analytics (18Cs72) Seminar On The Topic Key-Value Pairs
DEPARTMENT OF ISE
BIG DATA ANALYTICS [18CS72]
SEMINAR ON THE TOPIC KEY-VALUE PAIRS
GUIDED BY
PROFESSOR PRIYA . J
PRESENTED BY
AKHILA R[1HK18IS005]
CONTENTS
EXAMPLES
ADVANTAGES
DISADVANTAGES
EXAMPLE
KEY-VALUE PAIR
A key-value pair is two pieces of data associated with each other. The key
is a unique identifier that points to its associated value, and a value is either
the data being identified or a pointer to that data.
data.
Then emits another set of key-value pairs as the output. The Map output
types should match the input types of the Reduce as shown below:
The Map is responsible to filter the data. It also provides the environment to group the
data on the basis of key.
Key– It is field/ text/ object on which the data groups and aggregates on the reducer.
Value– It is the field/ text/ object which each individual reduces method handles.
Reduce Input
Map output is input to reduce. So it’s same as Map-Output.
Reduce Output
It totally depends on the required output .
MapReduce Key-value Pair Example
Example, the content of the file which HDFS stores are Chandler is Joey
Mark is John. So, now by using InputFormat, we will define how this file
will split and read. By default, RecordReader uses TextInputFormat to
convert this file into a key-value pair.
• Key – It is offset of the beginning of the line within the file.
• Value – It is the content of the line, excluding line terminators.
Easy to get started. There are many quick to set up and free relational DB
solutions.
DISADVANTAGES