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

原创 2016年06月01日 18:27:21

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.

版权声明:本文为博主原创文章,转载请注明。

相关文章推荐

ccah-500 第49题 What occurs when you execute the command: hdfs haadmin -failover nn01 nn02

49.Your cluster implements HDFS High Availability (HA). Your two NameNodes are named nn01 and nn02. ...

ccah-500 第40题 maintain your MRv1 TaskTracker slot capacities when you migrate. What should you do

40.You are migrating a cluster from MApReduce version 1 (MRv1) to MapReduce version 2(MRv2) on YARN....

ccah-500 第47题 What is the purpose of ZooKeeper in such a configuration

47.You decide to create a cluster which runs HDFS in High Availability mode with automatic failover ...

ccah-500 第45题 You want to minimize the chance of data loss in your cluster. What should you do

45.You have A 20 node Hadoop cluster, with 18 slave nodes and 2 master nodes running HDFS High Avail...

ccah-500 第9题 How would you tune your io.sort.mb value to achieve maximum memory to disk I/O ratio?

9.You observed that the number of spilled records from Map tasks far exceeds the number of map out...

ccah-500 第13题Which three basic configuration parameters must you set to migrate

13.Which three basic configuration parameters must you set to migrate your cluster from MapReduce 1 ...

程序分析常见的WYSINWYX现象-What You See Is Not What You eXecute

计算机不执行源代码,计算机只执行有源代码生成的机器码。也就是说程序员希望执行的与计算机实际执行的可能不同。 目前很多基于源代码的分析工具,但由于WYSINWYX现象,它们都是有缺陷的。实际上,经过编...

ccah-500 第32题 a new user on the cluster can submit jobs into their own queue application submission

32.Your cluster is running MapReduce version 2 (MRv2) on YARN. Your ResourceManager is configured to...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:ccah-500 第20题 What is the result when you execute: hadoop jar SampleJar MyClass
举报原因:
原因补充:

(最多只允许输入30个字)