Question: how hdfs works in hadoop?
Answer: The way HDFS works is by having a main « NameNode » and multiple « data nodes » on a commodity hardware cluster. ... Data is then broken down into separate « blocks » that are distributed among the various data nodes for storage. Blocks are also replicated across nodes to reduce the likelihood of failure.