PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What is the cause of the error?

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 command:
hadoop jar j.jar DriverClass /data/input/data/output
The error message returned includes the line:
PrivilegedActionException as:training (auth:SIMPLE)
cause.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exits: file
:/data/input
What is the cause of the error?

What do you have to do on the cluster to allow the worker node to join, and start sorting HDFS blocks?

You have installed a cluster HDFS and MapReduce version 2 (MRv2) on YARN. You have no
dfs.hosts entry(ies) in your hdfs-site.xml configuration file. You configure a new worker node by
setting fs.default.name in its configuration files to point to the NameNode on your cluster, and you
start the DataNode daemon on that worker node. What do you have to do on the cluster to allow
the worker node to join, and start sorting HDFS blocks?


Page 5 of 71« First...34567...102030...Last »