hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sai Sai <saigr...@yahoo.in>
Subject Re: Who splits the file into blocks
Date Sun, 31 Mar 2013 08:45:34 GMT
Here is my understanding about putting a file into hdfs:
A client contacts name node and gets the location of blocks where it needs to put the blocks
in data nodes.
But before this how does the name node know how many blocks it needs to split a file into.
Who splits the file is it the client itself or is it the name node. 
Since the file is never written to the name node so there is no chance it is the name node.
Please clarify.

View raw message