Professional Documents
Culture Documents
NAME – SHASHANK
SECTION – S14
BRANCH -E.C.E
HDFS Task-1
Ans 1 . In the Namenode URI field, we enter the URI pointing to the machine used as the
NameNode service of the Cloudera Hadoop cluster to be used.
2. Where on a local file system will Namenode store its image and which file is it configured
in?
Ans 2. The NameNode keeps an image of the entire file system namespace and file
Blockmap in memory.
The offline image Viewer can be used for editing or configuring the images stored by the
namenode.
3. Where on a local file system will Datanode store its blocks and which file is it configured
in?
Ans 3. The DataNode has no knowledge about HDFS files. It stores each block of HDFS data
in a separate file in its local file system.
Ans 4. HDFS stores each file as a sequence of blocks. The blocks of a file are replicated for
fault tolerance.The Namenode makes all decisions regarding replication of blocks. It
periodically receives a Blockreport from each of the DataNodes in the cluster. A Blockreport
contains a list of all blocks on a DataNode.
HDFS RUNNING :
Ans 3.
5. Determine the size of the hamlet.txt file in KB that resides on HDFS (not local directory)
Ans 8.
Ans 12.