First, let's start with some definitions.
NFS (Network File System) : A protocol has been developed that allows clients to access files over the network. NFS clients allow access to files as if the files were on the local machine, even if they are on the network machine’s drive.
HDFS (Hadoop Distributed File System) . A file system distributed between many networked computers or nodes. HDFS is fault tolerant because it stores multiple file replicas on the file system, the default replication level is 3.
So what's the difference? Replication / Failover. HDFS was designed to withstand failure. NFS does not have built-in fault tolerance.
What are the benefits of HDFS for NFS? In addition to fault tolerance, HDFS supports multiple file replicas. This eliminates (or alleviates) the common bottleneck of many clients accessing a single file. Since files have multiple replicas, on different physical disks, read performance is greater than NFS.
source share