Log in to share your answer and help other learners.
Log in to answerBest Answer · By JanBask Hadoop Expert
Answered on Apr 7, 2021
Hadoop NameNode is the centralized place of an HDFS file system which keeps the directory tree of all files in the file system, and it tracks where across the cluster the file data is kept. In short, it keeps the metadata related to datanodes. When we format namenode it formats the meta-data related to data-nodes, and original Datanode remains unaffected.
Hadoop Namenode is used to specify the default file system and also the defaults of your local file system.So, you need to set it to a HDFS address. This is essential for configuration of client and your Local File system.
filesystem.namenode.
hdfs://192.168.1.2:9000/
Here the highlighted part is the address.
Note :
When we format namenode(bin/hadoop namenode -format) it formats the meta-data related to data-nodes but don’t effect original nodes. By doing this, all the information on the datanodes are lost and the datanodes becomes reusable for new data.
Ranjana Admin JanBask Expert Latest answer
Answered on Jul 27, 2021
Hadoop NameNode is the centralized place of an HDFS file system which keeps the directory tree of all files in the file system, and it tracks where across the cluster the file data is kept. In short, it keeps the metadata related to datanodes. When we format namenode it formats the meta-data related to data-nodes, and original Datanode remains unaffected.
Hadoop Namenode is used to specify the default file system and also the defaults of your local file system.So, you need to set it to a HDFS address. This is essential for configuration of client and your Local File system.
filesystem.namenode.
hdfs://192.168.1.2:9000/
Here the highlighted part is the address.
Note :
When we format namenode(bin/hadoop namenode -format) it formats the meta-data related to data-nodes but don’t effect original nodes. By doing this, all the information on the datanodes are lost and the datanodes becomes reusable for new data.
Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.
Most-read guides across JanBask
Common Big Data Hadoop interview questions, answered
Guides, tips and career advice on Big Data Hadoop from JanBask experts.
Hadoop Frequently Used Hive Commands in HQL with Examples
Top Hive Commands in HQL With Examples of the most commonly used Hadoop Hive commands for importing, exporting, and querying data…
Hadoop How to Compare Hive, Spark, Impala and Presto?
Explore the strengths and weaknesses of Presto vs Impala vs Hive vs Spark for big data processing. Learn which tool is best…
Hadoop What Is Hue? Hue Hadoop Tutorial Guide for Beginners
What is Hue? Hue Tutorial Guide for Beginner, We are covering Hue component, hadoop ecosystem, Hue features, Apache Hue Tutorial…