CCA-500試験無料問題集「Cloudera Certified Administrator for Apache Hadoop (CCAH) 認定」

You have a Hadoop cluster HDFS, and a gateway machine external to the cluster from which clients submit jobs. What
do you need to do in order to run Impala on the cluster and submit jobs from the command line of the gateway
machine?

On a cluster running MapReduce v2 (MRv2) on YARN, a MapReduce job is given a directory of 10 plain text files as its
input directory. Each file is made up of 3 HDFS blocks. How many Mappers will run?

You observed that the number of spilled records from Map tasks far exceeds the number of map output records. Your
child heap size is 1GB and your io.sort.mb value is set to 1000MB. How would you tune your io.sort.mb value to
achieve maximum memory to disk I/O ratio?

A user comes to you, complaining that when she attempts to submit a Hadoop job, it fails. There is a Directory in HDFS
named /data/input. The Jar is named j.jar, and the driver class is named DriverClass.
She runs the command:
Hadoop jar j.jar DriverClass /data/input/data/output
The error message returned includes the line:
PriviligedActionException as:training (auth:SIMPLE)
cause:org.apache.hadoop.mapreduce.lib.input.invalidInputException:
Input path does not exist: file:/data/input
What is the cause of the error?

You're upgrading a Hadoop cluster from HDFS and MapReduce version 1 (MRv1) to one running HDFS and MapReduce
version 2 (MRv2) on YARN. You want to set and enforce version 1 (MRv1) to one running HDFS and MapReduce
version 2 (MRv2) on YARN. You want to set and enforce a block size of 128MB for all new files written to the cluster
after upgrade. What should you do?

On a cluster running CDH 5.0 or above, you use the hadoop fs -put command to write a 300MB file into a previously
empty directory using an HDFS block size of 64 MB. Just after this command has finished writing 200 MB of this file,
what would another use see when they look in directory?