Show something

致力于大数据相关技术,欢迎交流。https://github.com/worgent

ccah-500 第20题 What is the result when you execute: hadoop jar SampleJar MyClass

20.Your cluster is configured with HDFS and MapReduce version 2 (MRv2) on YARN. What is the result when you execute: hadoop jar SampleJar MyClass on a client machine?

A. SampleJar.Jar is sent to the ApplicationMaster which allocates a container for SampleJar.Jar

B. Sample.jar is placed in a temporary directory in HDFS

C. SampleJar.jar is sent directly to the ResourceManager

D. SampleJar.jar is serialized into an XML file which is submitted to the ApplicatoionMaster

Answer: A -- > B

 

reference:

from the book “The Definitive Guide, 4th Edt”

Figure 7-1:

Copies the resources needed to run the job, including the job JAR file, the configuration file, and the computed input splits, to the shared filesystem (e.g., HDFS) in a directory named.

The job JAR is copied with a high replication factor (controlled by the mapreduce.client.submit.file.replication property, which defaults to 10) so that there are lots of copies across the cluster for the node managers to access when they run tasks for the job.

阅读更多
版权声明:本文为博主原创文章,转载请注明。 https://blog.csdn.net/tianbaochao/article/details/51558084
个人分类: ccah-500
上一篇ccah-500 第16题 Which YARN daemon or service monitors a Controller's per-application resource using
下一篇ccah-500 第22题 Which process instantiates user code, and executes map and reduce tasks on a cluster r
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭