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.

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

java面试笔试题大汇总 ~很全面(2)

面试要了解的问题 简单介绍一下您的情况? 您怎样描述自己? 您为何要选择我公司? 您为了这次面试做了哪些准备工作? 我们为什么要雇佣您? 为什么您要应聘这个职位? 您期望的薪金待遇是多少...
  • thesumous
  • thesumous
  • 2012年09月01日 19:25
  • 6196

面试题:What will happen when you attempt to compile and run the following code

在论坛看到一个面试题,拿来和大家分享What will happen when you attempt to compile and run the following code class MyCl...
  • java_cxrs
  • java_cxrs
  • 2010年03月11日 10:50
  • 1824

OCP 1Z0 053 46

46.What happens when you run the SQL Tuning Advisor with limited scope?  A. Access path analysis is...
  • jgmydsai
  • jgmydsai
  • 2014年07月02日 11:18
  • 709

OCP-1Z0-053-V12.02-46题

46.What happens when you run the SQL Tuning Advisor with limited scope? A. Access path analysis is n...
  • rlhua
  • rlhua
  • 2013年11月03日 00:04
  • 9808

OCP-1Z0-051-题目解析-第6题

6. Examine the structure of the SHIPMENTS table: name                    Null         Type PO_...
  • wjx515628
  • wjx515628
  • 2014年06月27日 15:24
  • 1531

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. ...
  • tianbaochao
  • tianbaochao
  • 2016年06月17日 11:35
  • 863

OCP-1Z0-053-V12.02-355题

355.When youre performing active database duplication, a backup of what kind is required? A. A curre...
  • rlhua
  • rlhua
  • 2013年10月31日 09:52
  • 4133

OCP-1Z0-053-V12.02-527题

527.What is the result of increasing the value of the parameter ASM_POWER_LIMIT during a rebalance ...
  • rlhua
  • rlhua
  • 2013年10月23日 23:32
  • 3860

OCP-1Z0-052-V8.02-125题

125. You want to check the details of few errors that users have reported. You search for the alert ...
  • rlhua
  • rlhua
  • 2013年10月14日 22:27
  • 8397

OCP-1Z0-053-200题-100题-69

QUESTION 100 The EMP table exists in your schema. You want to execute the following query: SELECT ...
  • rlhua
  • rlhua
  • 2014年02月09日 11:21
  • 3549
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:ccah-500 第20题 What is the result when you execute: hadoop jar SampleJar MyClass
举报原因:
原因补充:

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