Exit CCA-505 Cloudera Certified Administrator for Apache Hadoop (CCAH) CDH5 Upgrade Exam
Question 3 of 5
0% complete
Q3 Single choice

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?

  • A

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

  • B

    The write silently fails

  • C

    The file is uploaded and stored as a plain named input

  • D

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

  • E

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

  • F

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

  • G

    You get a warning that foo.txt is being overwritten