| 1. |
How The Client Communicates With Hdfs? |
|
Answer» The Client communication to HDFS happens using HADOOP HDFS API. Client applications talk to the NameNode whenever they wish to locate a FILE, or when they want to add/copy/move/delete a file on HDFS. The NameNode responds the successful requests by returning a LIST of relevant DATANODE servers where the data lives. Client applications can talk directly to a DataNode, once the NameNode has provided the location of the data. The Client communication to HDFS happens using Hadoop HDFS API. Client applications talk to the NameNode whenever they wish to locate a file, or when they want to add/copy/move/delete a file on HDFS. The NameNode responds the successful requests by returning a list of relevant DataNode servers where the data lives. Client applications can talk directly to a DataNode, once the NameNode has provided the location of the data. |
|