Table of Contents
- Hadoop Ecosystem
- Hadoop standalone
- Requirements
- Monitor cluster
- Important hadoop file locations
- Stop hadoop
Hadoop Ecosystem
- HDFS (Hadoop Distributed File System): A distributed file system that stores data across multiple machines.
- YARN (Yet Another Resource Negotiator): A resource management layer that allocates resources to applications running on Hadoop.
- MapReduce: A programming model and an associated implementation for processing large data sets with a parallel, distributed algorithm on a cluster.
- Hive: A data warehouse software that facilitates reading, writing, and managing large datasets residing in distributed storage using SQL-like queries.
- Pig: A high-level platform for analyzing large data sets that consists of a high-level language called Pig Latin for expressing data analysis programs.
- HBase: A non-relational, distributed database modeled after Google’s Bigtable, providing real-time read/write access to large datasets.
- Spark: A fast and general-purpose cluster computing system for large-scale data processing.
- Kafka: A distributed streaming platform capable of handling trillions of events a day.
- ZooKeeper: A centralized service for maintaining configuration information, naming, providing distributed synchronization, and providing group services.
- Flume: A distributed, reliable, and available service for efficiently collecting, aggregating, and moving large amounts of log data from many different sources to a centralized data store.

Hadoop standalone
NameNode:
- The master server that manages the HDFS namespace.
- Maintains the file system tree and metadata for all files and directories.
- Records where data blocks are stored on DataNodes.
- Handles client requests for file operations like opening, closing, and renaming files.
DataNode:
- The worker node that stores the actual data blocks.
- Manages storage attached to the node.
- Performs read/write operations on data blocks as instructed by the NameNode.
- Reports available blocks to the NameNode periodically.

Requirements
Format namenode
$ hadoop version
Hadoop 3.5.0
Source code repository https://github.com/apache/hadoop.git -r dbcc7cd797100e6b32cd84f85b53a5193a5f9af0
Compiled by cnauroth on 2026-03-24T16:56Z
Compiled on platform linux-x86_64
Compiled with protoc 3.25.5
From source with checksum 64582ed0a62a169c39a19c734a8f33b5
This command was run using /usr/local/hadoop-3.5.0/share/hadoop/common/hadoop-common-3.5.0.jar
hdfs namenode -formatStart hadoop
$ start-all.sh
WARNING: Attempting to start all Apache Hadoop daemons as cfreire70 in 10 seconds.
WARNING: This is not a recommended production deployment configuration.
WARNING: Use CTRL-C to abort.
Starting namenodes on [localhost]
localhost: Warning: Permanently added 'localhost' (ECDSA) to the list of known hosts.
Starting datanodes
Starting secondary namenodes [hadoop-cfreire]
hadoop-cfreire: Warning: Permanently added 'hadoop-cfreire,10.132.15.214' (ECDSA) to the list of known hosts.
Starting resourcemanager
Starting nodemanagerstest for running java apps
$ jps
13632 NodeManager
12899 NameNode
13288 SecondaryNameNode
13962 Jps
13051 DataNode
13484 ResourceManager
monitor for open ports
$ ss -lnt
State Recv-Q Send-Q Local Address:Port Peer Address:Port Process
LISTEN 0 256 0.0.0.0:8040 0.0.0.0:*
LISTEN 0 4096 0.0.0.0:9864 0.0.0.0:*
LISTEN 0 256 127.0.0.1:9000 0.0.0.0:*
LISTEN 0 128 0.0.0.0:8042 0.0.0.0:*
LISTEN 0 256 0.0.0.0:9866 0.0.0.0:*
LISTEN 0 256 0.0.0.0:40395 0.0.0.0:*
LISTEN 0 256 0.0.0.0:9867 0.0.0.0:*
LISTEN 0 128 0.0.0.0:9868 0.0.0.0:*
LISTEN 0 128 0.0.0.0:9870 0.0.0.0:*
LISTEN 0 4096 127.0.0.53%lo:53 0.0.0.0:*
LISTEN 0 128 0.0.0.0:22 0.0.0.0:*
LISTEN 0 128 0.0.0.0:13562 0.0.0.0:*
LISTEN 0 128 127.0.0.1:41275 0.0.0.0:*
LISTEN 0 256 *:8031 *:*
LISTEN 0 256 *:8032 *:*
LISTEN 0 256 *:8033 *:*
LISTEN 0 128 [::]:22 [::]:*
LISTEN 0 128 *:8088 *:*
LISTEN 0 256 *:8030 *:*
Monitor cluster
Create tunnels on ports 8088, 9870
See: http://localhost:8088
See: http://localhost:9870
Important hadoop file locations
Data files
tree /var/hadoop-3.5.0/
/var/hadoop-3.5.0/
├── hdfs
│ ├── datanode
│ │ ├── current
│ │ │ ├── BP-842043434-172.31.10.77-1784579424108
│ │ │ │ ├── current
│ │ │ │ │ ├── VERSION
│ │ │ │ │ ├── finalized
│ │ │ │ │ └── rbw
│ │ │ │ ├── scanner.cursor
│ │ │ │ └── tmp
│ │ │ └── VERSION
│ │ └── in_use.lock
│ └── namenode
│ ├── current
│ │ ├── VERSION
│ │ ├── edits_inprogress_0000000000000000001
│ │ ├── fsimage_0000000000000000000
│ │ ├── fsimage_0000000000000000000.md5
│ │ └── seen_txid
│ └── in_use.lock
└── logs
├── SecurityAuth-redhat.audit
├── hadoop-redhat-datanode-hadoop-cfreire-workstation.log
├── hadoop-redhat-datanode-hadoop-cfreire-workstation.out
├── hadoop-redhat-namenode-hadoop-cfreire-workstation.log
├── hadoop-redhat-namenode-hadoop-cfreire-workstation.out
├── hadoop-redhat-nodemanager-hadoop-cfreire-workstation.log
├── hadoop-redhat-nodemanager-hadoop-cfreire-workstation.out
├── hadoop-redhat-resourcemanager-hadoop-cfreire-workstation.log
├── hadoop-redhat-resourcemanager-hadoop-cfreire-workstation.out
├── hadoop-redhat-secondarynamenode-hadoop-cfreire-workstation.log
├── hadoop-redhat-secondarynamenode-hadoop-cfreire-workstation.out
└── userlogsConfig files
tree /usr/local/hadoop-3.5.0/etc/
/usr/local/hadoop-3.5.0/etc/
└── hadoop
├── capacity-scheduler.xml
├── configuration.xsl
├── container-executor.cfg
├── core-site.xml
├── hadoop-env.cmd
├── hadoop-env.sh
├── hadoop-metrics2.properties
├── hadoop-policy.xml
├── hadoop-user-functions.sh.example
├── hdfs-rbf-site.xml
├── hdfs-site.xml
├── httpfs-env.sh
├── httpfs-log4j.properties
├── httpfs-site.xml
├── kms-acls.xml
├── kms-env.sh
├── kms-log4j.properties
├── kms-site.xml
├── log4j.properties
├── mapred-env.cmd
├── mapred-env.sh
├── mapred-queues.xml.template
├── mapred-site.xml
├── shellprofile.d
│ └── example.sh
├── ssl-client.xml.example
├── ssl-server.xml.example
├── user_ec_policies.xml.template
├── workers
├── yarn-env.cmd
├── yarn-env.sh
├── yarn-site.xml
└── yarnservice-log4j.propertiesadmin file
$ tree /usr/local/hadoop-3.5.0/sbin/
/usr/local/hadoop-3.5.0/sbin/
├── distribute-exclude.sh
├── hadoop-daemon.sh
├── hadoop-daemons.sh
├── httpfs.sh
├── kms.sh
├── mr-jobhistory-daemon.sh
├── refresh-namenodes.sh
├── start-all.cmd
├── start-all.sh
├── start-balancer.sh
├── start-dfs.cmd
├── start-dfs.sh
├── start-secure-dns.sh
├── start-yarn.cmd
├── start-yarn.sh
├── stop-all.cmd
├── stop-all.sh
├── stop-balancer.sh
├── stop-dfs.cmd
├── stop-dfs.sh
├── stop-secure-dns.sh
├── stop-yarn.cmd
├── stop-yarn.sh
├── workers.sh
├── yarn-daemon.sh
└── yarn-daemons.shExecutable files
$ tree /usr/local/hadoop-3.5.0/bin
/usr/local/hadoop-3.5.0/bin
├── container-executor
├── hadoop
├── hadoop.cmd
├── hdfs
├── hdfs.cmd
├── mapred
├── mapred.cmd
├── oom-listener
├── test-container-executor
├── yarn
└── yarn.cmd
Stop hadoop
$ stop-all.sh