Premium

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



Question : You have a MapReduce job, which uses HBase as source and Sink. It reads some stock market data PRICE, DIVIDEND, VOLUME (All there are stored in
different column family.) However, data come from various vendor like Bloomberg, Reuters and Markit. Using MapReduce job we filter out most accurate data.
And marked them as valid record and save back in same table with updated flag value. Table name is "MARKET_DATA" . You have written following Driver code.
And also you want to process data for DIVIDEND column family.

Scan scan = new Scan();
scan.setMaxVersions();
scan.addFamily(Bytes.toBytes("AAAAA"))
XXXXX.initTableMapperJob(YYYYY , scan, CustomMapper.Class, Text.class, LongWritable.class , job );
XXXXX.initTableReducerJob(YYYYY , CustomReducer.Class, job );


Please put proper class name and required value , in place of XXXX and YYYY

 : You have a MapReduce job, which uses HBase as source and Sink. It reads some stock market data PRICE, DIVIDEND, VOLUME  (All there are stored in
1. AAAAA->"DIVIDEND", XXXXX-> TableMapReduceUtil , YYYYY->"MARKET_DATA"
2. XXXXX->"DIVIDEND", AAAAA-> TableMapReduceUtil , YYYYY->"MARKET_DATA"
3. Access Mostly Uused Products by 50000+ Subscribers

Correct Answer : Get Lastest Questions and Answer :
Explanation:




Question : When you use mapred API, to run your job. Select statement which is true


 : When you use mapred API, to run your job. Select statement which is true
1. JobClient.submitJob() is an Asynchronous call

2. JobClinet.runJob() is a synchronous call

3. Access Mostly Uused Products by 50000+ Subscribers

4. 1,2

5. 2,3


Correct Answer : Get Lastest Questions and Answer :
Explanation:




Question : Which of the following is an ideal way to chain multiple jobs, which also has non map-reduce job?

 : Which of the following is an ideal way to chain multiple jobs, which also has non map-reduce job?
1. JobControl

2. OOZie workflow

3. Access Mostly Uused Products by 50000+ Subscribers

4. Streaming

Correct Answer : Get Lastest Questions and Answer :
Explanation:


Related Questions


Question : Select the recommended approach for setting memory parameters
A. mapred.child.ulimit parameter be more than twice the heap size.
B. io.sort.mb parameter must be less than the heap size.
C. It is better to use environment variable to set JVM heap size. Instead of job specific parameters
D. A,B
E. A,C

 : Select the recommended approach for setting memory parameters
1. mapred.child.ulimit parameter be more than twice the heap size.

2. io.sort.mb parameter must be less than the heap size.

3. Access Mostly Uused Products by 50000+ Subscribers

4. 1,2

5. 1,3



Question : Which of the following can help to improve performance of MapReduce job ?

 : Which of the following can help to improve performance of MapReduce job ?
1. Custom Combiner

2. Using codec to compress Map Output

3. Access Mostly Uused Products by 50000+ Subscribers

4. 1,2

5. 1,2,3


Question : Inbuilt counter will help , for which of the following

 : Inbuilt counter will help , for which of the following
1. To find number of toatl files processed

2. To find total number output file generated

3. Access Mostly Uused Products by 50000+ Subscribers

4. To find total Mappers across all jobs


Question : Which of the following in-built counter will help us to find total number of Bytes written on local file system. During job execution

 : Which of the following in-built counter will help us to find total number of Bytes written on local file system. During job execution
1. FILE_BYTES_WRITTEN

2. MAPRFS_BYTES_WRITTEN

3. Access Mostly Uused Products by 50000+ Subscribers

4. LOCAL_BYTES_WRITTEN


Question : label-based scheduling, help us to override the default scheduling algorithm and run tasks on specific nodes
 : label-based scheduling, help us to override the default scheduling algorithm and run tasks on specific nodes
1. True
2. False


Question : While doing MRUnit test, you provide input key and value as well as expected output. What happens if the actual output does not match the
expected output
 : While doing MRUnit test, you provide input key and value as well as expected output. What happens if the actual output does not match the
1. Test case will fail and driver will throw an exception

2. Test case will fail and no exception from driver

3. Access Mostly Uused Products by 50000+ Subscribers

4. Any of the above can happen