CCA-500 · Question #45
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…
Sign in or unlock CCA-500 to reveal the answer and full explanation for question #45. The question stem and answer options stay visible for context.
Question
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?
Options
- AThe user is not authorized to run the job on the cluster
- BThe output directory already exists
- CThe name of the driver has been spelled incorrectly on the command line
- DThe directory name is misspelled in HDFS
- EThe Hadoop configuration files on the client do not point to the cluster
Unlock CCA-500 to see the answer
You've previewed enough free CCA-500 questions. Unlock CCA-500 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.