PrepAway - Latest Free Exam Questions & Answers

What happens when you issue that 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 that third command?

PrepAway - Latest Free Exam Questions & Answers

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

B.
The write silently fails

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

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

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

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

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

2 Comments on “What happens when you issue that third command?


Leave a Reply

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