Without the metadata on the NameNode, there is no way to access the files in the HDFS cluster
Question : Select the correct option ? 1. NameNode is the bottleneck for reading the file in HDFS 2. NameNode is used to determine the all the blocks of a file 3. Access Mostly Uused Products by 50000+ Subscribers 4. All of the above
Explanation : When a client application wants to read a file - It communicates with the NameNode to determine which blocks make up the file, and which blocks make up the file - It the communicates directly with the datanodes to read the data - The NameNode is not a bottleneck.
Question : Which is the correct option for accessing the file which is stored in HDFS
Application can access the files using Java API and typically the files are created in the local filesystem and then moved to the HDFS, there is also one command hadoop fs which is used to access the files in HDFS