Live instructor-led & Self-paced Online Certification Training Courses (Big Data, Hadoop, Spark) Forums Hadoop Can multiple clients write into an HDFS file concurrently?

This topic contains 1 reply, has 1 voice, and was last updated by  dfbdteam3 1 year, 2 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4860

    dfbdteam3
    Moderator

    Can multiple clients write into an HDFS file concurrently?

    #4862

    dfbdteam3
    Moderator

    No, multiple clients cannot write into an HDFS file at same time.
    When one client is given permission by Name node to write data on data node block, the block gets locked till the write operations is completed. If some other client requests to write on the same block of a particular file in data node, it is not permitted to do so. It has to wait till the write lock is revoked on a particular data node. All the requests are in the queue and only one client is allowed to write at a time.

    Follow the link to learn more about Write Operation in HDFS

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.