From 117cbf7a82c89d3b79f9a545028f19013e95843c Mon Sep 17 00:00:00 2001 From: Madhurima Rawat <105432776+madhurimarawat@users.noreply.github.com> Date: Sun, 4 Aug 2024 21:36:31 +0530 Subject: [PATCH] Update CSS, add Hadoop to resources Updated the CSS for the mobile screen for the copy commands button and added Hadoop to the resources section. --- docs/Astyle-Commands.html | 9 +- docs/Git-Commands.html | 5 +- docs/Hadoop-Commands.html | 408 ++++++++++++++++++++++++++++++++++++++ docs/css/commands.css | 24 ++- docs/css/index.css | 2 +- docs/index.html | 3 +- docs/js/index.js | 2 +- 7 files changed, 443 insertions(+), 10 deletions(-) create mode 100644 docs/Hadoop-Commands.html diff --git a/docs/Astyle-Commands.html b/docs/Astyle-Commands.html index 95bcba3..916faf3 100644 --- a/docs/Astyle-Commands.html +++ b/docs/Astyle-Commands.html @@ -3,13 +3,13 @@ * File: Astyle-Commands.html * Author: Madhurima Rawat * Date: July 18, 2024 -* Description: Study resources commands website showing the some comman commands used in Astyle formatter. +* Description: Study resources commands website showing some comman commands used in Astyle formatter. * It also features a dynamic color-changing dropdown menu using JavaScript. * Version: 1.0 * GitHub Repository: https://github.com/madhurimarawat/Semester-Notes * Issues/Bugs: For any issues or bugs, please visit the GitHub repository issues section. * Comments: This HTML file serves as the foundational structure for a comprehensive Astyle commands website. -* It organizes content into detailed sections, including Semester-wise subjects and additional resources for +* It organizes content into detailed sections and additional resources for * commanly used commands. * Dependencies: - Font Awesome 5.15.3: External CSS for icons. @@ -72,6 +72,7 @@
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))@@ -205,7 +206,7 @@
choco install astyle
Apache Hadoop is an open-source framework that allows for the distributed processing of large data sets + across + clusters of computers using simple programming models. It is designed to scale up from a single server + to + thousands of machines, each offering local computation and storage. Hadoop is known for its reliability + and + ability to handle vast amounts of data efficiently.
+ +The Hadoop Distributed File System (HDFS) is a fundamental component of Hadoop, providing scalable and + reliable data + storage. HDFS is designed to store very large files across a cluster of machines, ensuring fault + tolerance and high + availability. +
+ +Another critical component of Hadoop is the MapReduce programming model, which enables efficient data + processing across + the distributed storage provided by HDFS. MapReduce breaks down data processing tasks into two main + phases: the Map + phase, which filters and sorts the data, and the Reduce phase, which performs aggregation and + summarization.Together with YARN (Yet Another Resource Negotiator), which manages and schedules + resources in the Hadoop cluster, these + components make Hadoop a robust platform for big data analytics, allowing organizations to gain insights + from their data + at unprecedented scales.
+Before starting Hadoop, ensure you have:
+HADOOP_HOME
, JAVA_HOME
,
+ etc.).
+ core-site.xml
,
+ hdfs-site.xml
,
+ yarn-site.xml
, and mapred-site.xml
).
+ Windows Key + X
, select Command Prompt (Admin), and
+ confirm any
+ prompts.sbin
Directory:
+ cd C:\Hadoop\sbin
+ start-dfs.cmd
+ start-yarn.cmd
Following these steps will help ensure that Hadoop services are correctly started and running on the + local machine. + For more detailed information, refer to the official Apache Hadoop documentation. Detailed steps for starting this services are + provided later in + this page.
+Follow these steps to start the Hadoop Distributed File System (HDFS) and YARN (Yet + Another Resource + Negotiator): +
+Step 1: Open Command Prompt in Administrator Mode
+To avoid permission issues, it's important to run the command prompt with administrative privileges.
+Windows Key + X
and select Command Prompt (Admin) or
+ Windows
+ PowerShell (Admin).
+ Step 2: Navigate to the Hadoop sbin
Directory
Change the directory to the Hadoop sbin
directory where the startup scripts are located.
+
cd C:\Hadoop\sbin+
cd C:\Hadoop\sbin
changes the current directory to the
+ sbin
folder in
+ the Hadoop installation directory.
+ C:\Hadoop\sbin
, indicating that you are now in the
+ correct directory.
+ Step 3: Start the Hadoop Distributed File System (HDFS) +
Run the following command to start the HDFS daemons (NameNode, Secondary NameNode, and DataNode):
+start-dfs.cmd+
start-dfs.cmd
starts the Hadoop Distributed File System (HDFS) daemons,
+ including
+ the NameNode, Secondary NameNode, and DataNode processes.Step 4: Start YARN +
Run the following command to start YARN daemons (ResourceManager and NodeManager):
+start-yarn.cmd+
start-yarn.cmd
starts the YARN (Yet Another Resource Negotiator)
+ daemons, including
+ the ResourceManager and NodeManager processes.Step 5: Verify Hadoop Services
+ +HDFS Verification
+Open a web browser and navigate to the HDFS web UI to verify that the DataNode and NameNode are running + correctly:
+ +This URL provides information about the HDFS NameNode status and allows you to browse the file system. +
+ +YARN Verification
+To verify that YARN is running correctly, navigate to the YARN ResourceManager web UI:
+ +This URL provides information about the cluster status, including running applications and available + resources. +
++ Thank you for visiting this website. If you have any questions or would + like to get in touch, please feel free to contact me. +
+ + + + + Visit on GitHub +