PrepAway - Latest Free Exam Questions & Answers

Would HDFS be appropriate for this customer information file?

You need to create a GUI application to help your company’s sales people add and edit customer
information. Would HDFS be appropriate for this customer information file?

PrepAway - Latest Free Exam Questions & Answers

A.
Yes, because HDFS is optimized for random access writes.

B.
Yes, because HDFS is optimized for fast retrieval of relatively small amounts of data.

C.
No, because HDFS can only be accessed by MapReduce applications.

D.
No, because HDFS is optimized for write-once, streaming access for relatively large files.

Explanation:
HDFS is designed to support very large files. Applications that are compatible with
HDFS are those that deal with large data sets. These applications write their data only once but
they read it one or more times and require these reads to be satisfied at streaming speeds. HDFS
supports write-once-read-many semantics on files.
Reference: 24 Interview Questions & Answers for Hadoop MapReduce developers, What is HDFS
? How it is different from traditional file systems?

One Comment on “Would HDFS be appropriate for this customer information file?

  1. Ramesh Hiremath says:

    D. No, because HDFS is optimized for write-once, streaming access for relatively large files.

    Explanation: HDFS has a client API that can be used to access data from any Java application, even those that are not MapReduce applications. HDFS is optimized, however, for streaming access to relatively large files, and HDFS does not allow arbitrary modification of a file once it has been written. (In some cases it may be possible to append to a file after it has been
    written.) For more information, see chapter 2 of Hadoop: The Definitive Guide, 3rd Edition in the Design of HDFS section or the Yahoo! Developer Network Apache Hadoop Tutorial in the Distributed File System Basics section.




    0



    0

Leave a Reply

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