Premium

Mapr (HP) Hadoop Developer Certification Questions and Answers (Dumps and Practice Questions)



Question :

Select the correct code snippet which implements the WritableComparable correctly for a pair of Strings



 :
1. 1
2. 2
3. Access Mostly Uused Products by 50000+ Subscribers

Correct Answer : Get Lastest Questions and Answer :

Explanation: Empty constructor - required for serialization.

Constructor with two String objects provided as input.

Serializes the fields of this object to out, using write method

Deserializes the fields of this object from in.

compareTo - Compares this object to another StringPairWritable object by
comparing the left strings first. If the left strings are equal,
then the right strings are compared.

The equals method compares two StringPairWritable objects for equality. The equals and hashCode methods have been automatically
generated by Eclipse by right-clicking on an empty line, selecting Source, and then selecting the Generate hashCode() and equals() option

hashcode : The hashCode method generates a hash code for a StringPairWritable object. The equals and hashCode methods have been automatically
generated by Eclipse by right-clicking on an empty line, selecting Source, and then selecting the Generate hashCode() and equals() option.





Question :

If you have 100 files of size 100MB and block size is of 64MB then how many maps will run?



 :
1. 100
2. 200
3. Access Mostly Uused Products by 50000+ Subscribers
4. Between 100 and 200

Correct Answer : Get Lastest Questions and Answer :
1 file equal to 2 blocks and each block will be processed by Single Mapper hence there would be 200 Mapper running






Question :

If you want to use a file in distributed cache then in which method should you read it?


 :
1. map
2. run
3. Access Mostly Uused Products by 50000+ Subscribers
4. setup

Correct Answer : Get Lastest Questions and Answer :



Related Questions


Question : TaskTracker runs all the MapTask in the same JVM, if machine has enough processing power and Memory

  : TaskTracker runs all the MapTask in the same JVM, if machine has enough processing power and Memory
1. True
2. False


Question : Select the correct statement


  : Select the correct statement
1. While job is running the intermediate data is keep deleted
2. Reducers write their final output to HDFS
3. Access Mostly Uused Products by 50000+ Subscribers
4. All 1,2 and 3 are correct
5. None of the above



Question : The Intermediate data is held on the TaskTrackers local disk ?
  : The Intermediate data is held on the TaskTrackers local disk ?
1. True
2. False



Question : In a cluster single node can run all the daemons ?
  : In a cluster single node can run all the daemons ?
1. Yes
2. No




Question : MapR services produce metrics that can be written to an output file, which is the metrics that can be collected.
A. CLDB
B. File Servers
C. Hive Query Statistics
D. Fume job statistics
  : MapR services produce metrics that can be written to an output file, which is the metrics that can be collected.
1. A,B
2. B,C
3. Access Mostly Uused Products by 50000+ Subscribers
4. A,D
5. B,D


Question : MapReduce v (MRv/YARN) is designed to address which two issues?
A. Single point of failure in the NameNode.
B. Resource pressure on the JobTracker.
C. HDFS latency.
D. Ability to run frameworks other than MapReduce, such as MPI.
E. Reduce complexity of the MapReduce APIs.
F. Standardize on a single MapReduce API.

  : MapReduce v (MRv/YARN) is designed to address which two issues?
1. A,B
2. B,C
3. Access Mostly Uused Products by 50000+ Subscribers
4. A,D
5. B,D