Cloudera
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…
The correct answer is E. The Hadoop configuration files on the client do not point to the cluster. See the full explanation below for the reasoning.
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
How the community answered
(28 responses)- A4% (1)
- B14% (4)
- C7% (2)
- E75% (21)
Community Discussion
No community discussion yet for this question.