PrepAway - Latest Free Exam Questions & Answers

what would another use see when they look in the directory?

On a cluster running CDH 5.0 or above, you use the hadoop fs –put command to write a 300MB
file into a previously empty directory using an HDFS block of 64MB. Just after this command has
finished writing 200MB of this file, what would another use see when they look in the directory?

PrepAway - Latest Free Exam Questions & Answers

A.
They will see the file with its original name. if they attempt to view the file, they will get a
ConcurrentFileAccessException until the entire file write is completed on the cluster

B.
They will see the file with a ._COPYING_extension on its name. If they attempt to view the file,
they will get a ConcurrentFileAccessException until the entire file write is completed on the cluster.

C.
They will see the file with a ._COPYING_ extension on its name. if they view the file, they will
see contents of the file up to the last completed block (as each 64MB block is written, that block
becomes available)

D.
The directory will appear to be empty until the entire file write is completed on the cluster

2 Comments on “what would another use see when they look in the directory?


Leave a Reply

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