What are the restriction to the key and value class ?
Answer / Akhilendra Kumar Singh
"The Key and Value classes in Hadoop MapReduce have some restrictions: 1) Both keys and values must implement the interfaces Writable or comparable, as well as their respective Comparable interface (Comparable<Key> and Comparable<Value>). 2) Keys and Values should be serializable. 3) The Key class should implement the public no-arg constructor to enable Hadoop framework's deserialization of key objects.
| Is This Answer Correct ? | 0 Yes | 0 No |
Where is hadoop-env.sh file present?
How can native libraries be included in yarn jobs?
Name the operating system(s) which are supported for production hadoop deployment?
What is the default replication factor and how will you change it?
What is the difference between an inputsplit and a block?
List Hadoop’s three configuration files?
For using hadoop list the network requirements?
What do you understand by standalone (or local) mode?
How can one write custom record reader?
Is there another way to check whether Namenode is working?
Which one is default?
Name the most common input formats defined in hadoop?
Apache Hadoop (394)
MapReduce (354)
Apache Hive (345)
Apache Pig (225)
Apache Spark (991)
Apache HBase (164)
Apache Flume (95)
Apache Impala (72)
Apache Cassandra (392)
Apache Mahout (35)
Apache Sqoop (82)
Apache ZooKeeper (65)
Apache Ambari (93)
Apache HCatalog (34)
Apache HDFS Hadoop Distributed File System (214)
Apache Kafka (189)
Apache Avro (26)
Apache Presto (15)
Apache Tajo (26)
Hadoop General (407)