Premium

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



Question : Which is the correct command to delete the directory
  : Which is the correct command to delete the directory
1. hadoop fs -r pappu
2. hadoop fs -remove pappu
3. Access Mostly Uused Products by 50000+ Subscribers
4. hadoop fs -rem pappu

Correct Answer : Get Lastest Questions and Answer :




Question : Which statement is correct for the MapReduce
  : Which statement is correct for the MapReduce
1. MapReduce is a method for distribution a task across multiple nodes
2. Each node processes data stored on that node
3. Access Mostly Uused Products by 50000+ Subscribers
4. All of the above



Correct Answer : Get Lastest Questions and Answer :





Question : Which of the following are responsibilities of the ApplicationMater

1. Before starting any task, create job's output directory for job's OutputCommitter.
2. Both map tasks and reduce tasks are created by Application Master.
3. Access Mostly Uused Products by 50000+ Subscribers
4. If job doesn't qualify as Uber task, Application Master requests containers for all map tasks and reduce tasks.

 : Which of the following are responsibilities  of the ApplicationMater
1. 1,2,3
2. 2,3,4
3. Access Mostly Uused Products by 50000+ Subscribers
4. 1,2,4
5. 1,2,3,4




Correct Answer : Get Lastest Questions and Answer :


Explanation: Role of an Application Master:
o Before starting any task, Job setup method is called to create job's output directory for job's OutputCommitter.
o As noted above, Both map tasks and reduce tasks are created by Application Master.
o If the submitted job is small, then Application Master runs the job in the same JVM on which Application Master is running. It reduces the overhead of creating new container and
running tasks in parallel. These small jobs are called as Uber tasks.
o Uber tasks are decided by three configuration parameters, number of mappers "less than and equal to" 10, number of reducers "less than and equal to" 1 and Input file size is less
than or equal to an HDFS block size. These parameters can be configured via mapreduce.job.ubertask.maxmaps , mapreduce.job.ubertask.maxreduces , and mapreduce.job.ubertask.maxbytes
properties in mapred-site.xml.
o If job doesn't qualify as Uber task, Application Master requests containers for all map tasks and reduce tasks.

You can also Refer/Consider Advance Hadoop YARN Training by HadoopExam.com





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