ccah-500 第58题 What is the cause of the error

来源:互联网 发布:三菱q系列编程手册 pdf 编辑:程序博客网 时间:2024/05/16 01:33

58.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 driverclass 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?

A. The user is not authorized to run the job on the cluster

B. The output directory already exists

C. The name of the driver has been spelled incorrectly on the command line

D. The directory name is misspelled in HDFS

E. The Hadoop configuration files on the client do not point to the cluster

Answer: A --> E

我选择E,有点疑问,欢迎探讨。 


reference:

http://stackoverflow.com/questions/16034339/hadoop-input-path-does-not-exist

 

http://www.aiotestking.com/cloudera/what-is-the-cause-of-the-error/

0 0
原创粉丝点击