mapreduce_kaz
mapreduce_kaz

Reputation: 103

What is the limit on number of keys in Hadoop?

I thoroughly searched for an answer, however I am still confused about the limit on number of keys or reduce tasks in Hadoop framework. Is it an integer number or can be any value?

Upvotes: 0

Views: 135

Answers (2)

Julina
Julina

Reputation: 757

There is no limitation in number of keys in map reduce programming.

Upvotes: 0

subodh
subodh

Reputation: 6158

Hadoop MapReduce works in Key-Value pair pattern, and key can be anything the only criteria is key class must be implement org.apache.hadoop.io.WritableComparable interface and value class must be implementation of org.apache.hadoop.io.Writable interface

Upvotes: 1

Related Questions