CCA-500試験無料問題集「Cloudera Certified Administrator for Apache Hadoop (CCAH) 認定」
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?
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?
正解:E
解答を投票する
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?
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?
正解:B
解答を投票する
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?
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?
正解:C
解答を投票する