Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Re: Who splits the file into blocks

Copy link to this message
Re: Who splits the file into blocks
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.