{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"id": "view-in-github"
},
"source": [
""
]
},
{
"cell_type": "markdown",
"metadata": {
"id": "OFLizmmFvTjK"
},
"source": [
"\n",
"\n",
"# Hadoop MiniCluster\n",
"
\n",
"
\n",
"\n",
"The Hadoop MiniCluster is a lightweight, single-node Hadoop cluster that is primarily used for testing and development purposes. It provides a way to simulate a distributed Hadoop environment on a single machine, allowing developers to experiment with and test their Hadoop applications without the need for a full-scale, multi-node cluster.\n",
"\n",
"Quote from [the official Hadoop documentation](https://hadoop.apache.org/docs/stable/hadoop-project-dist/hadoop-common/CLIMiniCluster.html):\n",
"\n",
"\n",
"> *Using the CLI MiniCluster, users can simply start and stop a single-node Hadoop cluster with a single command, and without the need to set any environment variables or manage configuration files. The CLI MiniCluster starts both a YARN/MapReduce & HDFS clusters.*\n",
"\n",
"\n",
"In this notebook we download the Hadoop core and guide you through the steps required to launch the MiniCluster."
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"cellView": "form",
"colab": {
"base_uri": "https://localhost:8080/",
"height": 98
},
"execution": {
"iopub.execute_input": "2024-10-13T09:38:37.111977Z",
"iopub.status.busy": "2024-10-13T09:38:37.111765Z",
"iopub.status.idle": "2024-10-13T09:38:37.123356Z",
"shell.execute_reply": "2024-10-13T09:38:37.122707Z"
},
"id": "8Rl-ti3i2aWM",
"outputId": "e93a8d0e-0eb8-4fee-edb3-04e10a4fd0d4"
},
"outputs": [
{
"data": {
"text/html": [
"\n",
"
\n",
"In the realm of networks, where processes twine,
\n",
"A command
unfolds, a symphony of lines.
\n",
"\"Lsof,\" it whispers, with a mystic hum,
\n",
"A dance of flags, each one has its own drum.
\n",
"
\n",
"\"-n -i -P
,\" the conductor commands,
\n",
"Navigate swiftly, across distant lands.
\n",
"\"+c0
\" echoes softly, a chorus of glee,
\n",
"Embrace all processes, as far as eyes can see.
\n",
"
\n",
"\"-sTCP:LISTEN
,\" a stanza profound,
\n",
"Seeking the echoes of ports, a network's sound.
\n",
"Processes in repose, in a state so keen,
\n",
"A tapestry of LISTEN, a poetic scene.
\n",
"
\n",
"In the realm of networks, where processes twine,
\n",
"A command
unfolds, a symphony of lines.
\n",
"\"Lsof,\" it whispers, with a mystic hum,
\n",
"A dance of flags, each one has its own drum.
\n",
"
\n",
"\"-n -i -P
,\" the conductor commands,
\n",
"Navigate swiftly, across distant lands.
\n",
"\"+c0
\" echoes softly, a chorus of glee,
\n",
"Embrace all processes, as far as eyes can see.
\n",
"
\n",
"\"-sTCP:LISTEN
,\" a stanza profound,
\n",
"Seeking the echoes of ports, a network's sound.
\n",
"Processes in repose, in a state so keen,
\n",
"A tapestry of LISTEN, a poetic scene.
\n",
"