PrepAway - Latest Free Exam Questions & Answers

What happens when you issue the third command?

Assume you have a file named foo.txt in your local directory. You issue the following three
commands: Hadoop fs –mkdir input Hadoop fs –put foo.txt input/foo.txt Hadoop fs –put
foo.txt input What happens when you issue the third command?

PrepAway - Latest Free Exam Questions & Answers

A.
The file is uploaded and stored as a plain file named input

B.
You get a error message telling you that foo.txt already exists. The file is not written to
HDFS

C.
The write silently fails

D.
You get an error message telling you that input is not a directory

E.
You get a warning that foo.txt is being overwritten

F.
The write succeeds, overwriting foo.txt in HDFS with no warning

G.
You get an error message telling you that foo.txt already exists, and asking you if you
would like to overwrite it.

6 Comments on “What happens when you issue the third command?


Leave a Reply

Your email address will not be published. Required fields are marked *