<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>yarn Archives - scmGalaxy</title>
	<atom:link href="https://www.scmgalaxy.com/tutorials/tag/yarn/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.scmgalaxy.com/tutorials/tag/yarn/</link>
	<description>A Platform for Software Engineers</description>
	<lastBuildDate>Sat, 21 Feb 2026 07:13:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1</generator>
	<item>
		<title>Hadoop Uncovered: Comprehensive Insights into Big Data Processing and Architecture</title>
		<link>https://www.scmgalaxy.com/tutorials/hadoop-uncovered-comprehensive-insights-into-big-data-processing-and-architecture/</link>
					<comments>https://www.scmgalaxy.com/tutorials/hadoop-uncovered-comprehensive-insights-into-big-data-processing-and-architecture/#respond</comments>
		
		<dc:creator><![CDATA[Vijay K]]></dc:creator>
		<pubDate>Tue, 27 May 2025 07:11:45 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ApacheHadoop]]></category>
		<category><![CDATA[BigData]]></category>
		<category><![CDATA[DataAnalytics]]></category>
		<category><![CDATA[DataEngineering]]></category>
		<category><![CDATA[DistributedComputing]]></category>
		<category><![CDATA[Hadoop]]></category>
		<category><![CDATA[HDFS]]></category>
		<category><![CDATA[MachineLearning]]></category>
		<category><![CDATA[MapReduce]]></category>
		<category><![CDATA[yarn]]></category>
		<guid isPermaLink="false">https://www.scmgalaxy.com/tutorials/?p=12421</guid>

					<description><![CDATA[<p>What is Hadoop? Hadoop is a robust, open-source framework developed by the Apache Software Foundation for distributed storage and processing [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/hadoop-uncovered-comprehensive-insights-into-big-data-processing-and-architecture/">Hadoop Uncovered: Comprehensive Insights into Big Data Processing and Architecture</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<figure class="wp-block-image size-full is-resized"><img fetchpriority="high" decoding="async" width="720" height="360" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-100.png" alt="" class="wp-image-12423" style="width:838px;height:auto" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-100.png 720w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-100-300x150.png 300w" sizes="(max-width: 720px) 100vw, 720px" /></figure>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading">What is Hadoop?</h2>



<p class="wp-block-paragraph">Hadoop is a robust, open-source framework developed by the Apache Software Foundation for distributed storage and processing of massive datasets using clusters of commodity hardware. Originally created to address the limitations of traditional data storage and processing systems in handling the exponential growth of data, Hadoop revolutionized the way organizations manage big data.</p>



<p class="wp-block-paragraph">At its core, Hadoop provides a scalable, fault-tolerant platform that splits large datasets into manageable blocks, distributes them across a network of machines, and processes the data in parallel. This model enables processing petabytes or even exabytes of data efficiently and economically.</p>



<p class="wp-block-paragraph">Hadoop consists of several fundamental modules:</p>



<ul class="wp-block-list">
<li><strong>HDFS (Hadoop Distributed File System):</strong> A distributed file system that stores data redundantly across multiple nodes.</li>



<li><strong>YARN (Yet Another Resource Negotiator):</strong> Manages and schedules computational resources.</li>



<li><strong>MapReduce:</strong> A programming paradigm that processes data in parallel through map and reduce operations.</li>
</ul>



<p class="wp-block-paragraph">Hadoop is designed to handle various types of data, including structured, semi-structured, and unstructured data, making it indispensable in sectors such as finance, healthcare, retail, telecommunications, and government.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading">What are the Major Use Cases of Hadoop?</h2>



<p class="wp-block-paragraph">Hadoop&#8217;s ability to store and process enormous volumes of diverse data types efficiently makes it applicable in numerous real-world scenarios:</p>



<h3 class="wp-block-heading">1. <strong>Large-Scale Data Storage</strong></h3>



<p class="wp-block-paragraph">Hadoop is used to store vast amounts of data that cannot fit into conventional storage systems. Enterprises aggregate logs, transaction data, social media feeds, sensor data, and more into HDFS, leveraging its distributed nature and replication for fault tolerance.</p>



<h3 class="wp-block-heading">2. <strong>Batch Analytics and Reporting</strong></h3>



<p class="wp-block-paragraph">With its MapReduce engine, Hadoop excels at batch processing large datasets for complex analytics—such as summarizing logs for trend analysis, performing ETL operations, and generating reports.</p>



<h3 class="wp-block-heading">3. <strong>Data Lake Formation</strong></h3>



<p class="wp-block-paragraph">Hadoop forms the backbone of many modern data lakes, acting as a central repository where raw data from disparate sources is ingested and stored in its native format, allowing flexible downstream processing.</p>



<h3 class="wp-block-heading">4. <strong>Machine Learning and AI</strong></h3>



<p class="wp-block-paragraph">Hadoop facilitates training machine learning models on large datasets by integrating with frameworks like Apache Mahout and Apache Spark MLlib. It provides scalable processing power required for iterative computations involved in AI.</p>



<h3 class="wp-block-heading">5. <strong>Fraud Detection and Risk Modeling</strong></h3>



<p class="wp-block-paragraph">Financial services utilize Hadoop to analyze transactional data in bulk to identify fraudulent patterns and calculate risk scores, helping in real-time decision-making.</p>



<h3 class="wp-block-heading">6. <strong>Real-Time and Near-Real-Time Data Processing</strong></h3>



<p class="wp-block-paragraph">By integrating with tools such as Apache Flume and Apache Kafka, Hadoop ecosystems can ingest and process streaming data, enabling real-time analytics for cybersecurity, IoT, and marketing.</p>



<h3 class="wp-block-heading">7. <strong>Recommendation Engines</strong></h3>



<p class="wp-block-paragraph">E-commerce and media companies employ Hadoop to analyze user behavior and purchase history at scale to personalize recommendations.</p>



<h3 class="wp-block-heading">8. <strong>Log Processing and Monitoring</strong></h3>



<p class="wp-block-paragraph">Hadoop processes enormous log files from servers, applications, and network devices to monitor system health, detect anomalies, and optimize performance.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading">How Hadoop Works Along with Architecture?</h2>



<figure class="wp-block-image size-full"><img decoding="async" width="788" height="505" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-101.png" alt="" class="wp-image-12424" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-101.png 788w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-101-300x192.png 300w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2025/05/image-101-768x492.png 768w" sizes="(max-width: 788px) 100vw, 788px" /></figure>



<p class="wp-block-paragraph">Hadoop’s architecture is engineered to provide high throughput access to application data and to ensure fault tolerance and reliability.</p>



<h3 class="wp-block-heading">1. <strong>Hadoop Distributed File System (HDFS)</strong></h3>



<p class="wp-block-paragraph">HDFS is the storage layer of Hadoop, designed to store very large files across multiple machines.</p>



<ul class="wp-block-list">
<li><strong>NameNode:</strong> Acts as the master node that manages the metadata, including the directory tree of all files in the file system and tracks the location of blocks across DataNodes.</li>



<li><strong>DataNodes:</strong> Slave nodes responsible for storing actual data blocks. They perform block creation, deletion, and replication as instructed by the NameNode.</li>
</ul>



<p class="wp-block-paragraph">Files in HDFS are split into blocks (default 128MB or 256MB) and replicated (default replication factor 3) for fault tolerance. DataNodes send regular heartbeats and block reports to the NameNode to maintain cluster health.</p>



<h3 class="wp-block-heading">2. <strong>Yet Another Resource Negotiator (YARN)</strong></h3>



<p class="wp-block-paragraph">YARN separates resource management and job scheduling/monitoring into a global ResourceManager and per-node NodeManagers.</p>



<ul class="wp-block-list">
<li><strong>ResourceManager:</strong> Allocates cluster resources to applications.</li>



<li><strong>NodeManager:</strong> Manages containers and monitors resource usage on individual nodes.</li>
</ul>



<p class="wp-block-paragraph">YARN’s flexible architecture supports multiple data processing engines beyond MapReduce, such as Apache Spark and Apache Tez.</p>



<h3 class="wp-block-heading">3. <strong>MapReduce Programming Model</strong></h3>



<p class="wp-block-paragraph">MapReduce enables distributed data processing with two key functions:</p>



<ul class="wp-block-list">
<li><strong>Map:</strong> Processes input data (key-value pairs) to generate intermediate key-value pairs.</li>



<li><strong>Reduce:</strong> Aggregates intermediate data to produce the final output.</li>
</ul>



<p class="wp-block-paragraph">The MapReduce framework handles data locality by running processing tasks where the data resides, minimizing network traffic and increasing efficiency.</p>



<h3 class="wp-block-heading">4. <strong>Hadoop Ecosystem Components</strong></h3>



<p class="wp-block-paragraph">The ecosystem extends Hadoop’s functionality, enabling complex big data workflows:</p>



<ul class="wp-block-list">
<li><strong>Apache Hive:</strong> Provides SQL-like querying for large datasets.</li>



<li><strong>Apache Pig:</strong> High-level scripting language for data transformations.</li>



<li><strong>Apache HBase:</strong> Columnar NoSQL database for real-time read/write access.</li>



<li><strong>Apache Sqoop:</strong> Facilitates import/export of data between Hadoop and relational databases.</li>



<li><strong>Apache Flume:</strong> Efficiently collects and moves large amounts of streaming data into Hadoop.</li>



<li><strong>Apache ZooKeeper:</strong> Coordinates distributed services and configurations.</li>



<li><strong>Apache Oozie:</strong> Workflow scheduler to manage Hadoop jobs.</li>



<li><strong>Apache Spark:</strong> In-memory data processing engine compatible with Hadoop storage.</li>
</ul>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading">What are the Basic Workflow of Hadoop?</h2>



<p class="wp-block-paragraph">Understanding the Hadoop workflow is crucial to leveraging its full power for big data processing.</p>



<h3 class="wp-block-heading">1. <strong>Data Collection and Ingestion</strong></h3>



<p class="wp-block-paragraph">Data is ingested from diverse sources: relational databases, logs, IoT devices, social media, etc., via tools like Sqoop for batch imports and Flume/Kafka for streaming ingestion.</p>



<h3 class="wp-block-heading">2. <strong>Data Storage in HDFS</strong></h3>



<p class="wp-block-paragraph">Once ingested, data is stored in HDFS in a distributed, fault-tolerant manner. The NameNode manages metadata, while DataNodes hold the actual blocks.</p>



<h3 class="wp-block-heading">3. <strong>Data Processing</strong></h3>



<p class="wp-block-paragraph">Users write MapReduce or Spark jobs that execute on the cluster. Jobs are submitted to YARN, which allocates resources and schedules tasks.</p>



<ul class="wp-block-list">
<li>The <strong>Map phase</strong> processes chunks of input data independently.</li>



<li>The <strong>Shuffle and Sort phase</strong> redistributes and sorts intermediate data by key.</li>



<li>The <strong>Reduce phase</strong> aggregates results to produce output.</li>
</ul>



<h3 class="wp-block-heading">4. <strong>Output Storage</strong></h3>



<p class="wp-block-paragraph">Processed data is written back to HDFS or exported to external systems.</p>



<h3 class="wp-block-heading">5. <strong>Query and Analysis</strong></h3>



<p class="wp-block-paragraph">Hive or Pig can be used to run high-level queries, transforming data for business intelligence tools or machine learning workflows.</p>



<h3 class="wp-block-heading">6. <strong>Visualization and Reporting</strong></h3>



<p class="wp-block-paragraph">Final results are visualized using BI tools like Tableau, Power BI, or custom dashboards to inform decisions.</p>



<hr class="wp-block-separator has-alpha-channel-opacity">



<h2 class="wp-block-heading">Step by Step Getting Started Guide for Hadoop</h2>



<h3 class="wp-block-heading">Step 1: Install Prerequisites</h3>



<ul class="wp-block-list">
<li>Install <strong>Java JDK 8 or above</strong> (required for Hadoop).</li>



<li>Download Hadoop from the official Apache website.</li>



<li>Set environment variables such as <code>JAVA_HOME</code> and <code>HADOOP_HOME</code>.</li>
</ul>



<h3 class="wp-block-heading">Step 2: Configure Hadoop</h3>



<ul class="wp-block-list">
<li>Modify core config files:
<ul class="wp-block-list">
<li><code>core-site.xml</code> for general settings like default filesystem.</li>



<li><code>hdfs-site.xml</code> for HDFS storage directories and replication.</li>



<li><code>mapred-site.xml</code> for MapReduce framework settings.</li>



<li><code>yarn-site.xml</code> for YARN resource management.</li>
</ul>
</li>
</ul>



<h3 class="wp-block-heading">Step 3: Format the NameNode</h3>



<p class="wp-block-paragraph">Run:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
hdfs namenode -format

</pre></div>


<p class="wp-block-paragraph">to initialize HDFS metadata.</p>



<h3 class="wp-block-heading">Step 4: Start Hadoop Daemons</h3>



<ul class="wp-block-list">
<li>Start HDFS daemons:</li>
</ul>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
start-dfs.sh

</pre></div>


<ul class="wp-block-list">
<li>Start YARN daemons:</li>
</ul>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
start-yarn.sh

</pre></div>


<h3 class="wp-block-heading">Step 5: Verify Cluster Status</h3>



<p class="wp-block-paragraph">Check the Hadoop web UI:</p>



<ul class="wp-block-list">
<li>NameNode UI: <code>http://localhost:9870</code></li>



<li>ResourceManager UI: <code>http://localhost:8088</code></li>
</ul>



<h3 class="wp-block-heading">Step 6: Load Data into HDFS</h3>



<p class="wp-block-paragraph">Upload files to HDFS with:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
hdfs dfs -put localfile.txt /user/hadoop/

</pre></div>


<h3 class="wp-block-heading">Step 7: Run MapReduce Jobs</h3>



<p class="wp-block-paragraph">Write or use existing MapReduce programs. To run:</p>


<div class="wp-block-syntaxhighlighter-code "><pre class="brush: plain; title: ; notranslate">
hadoop jar your-mapreduce-job.jar input output

</pre></div>


<h3 class="wp-block-heading">Step 8: Use Ecosystem Tools</h3>



<p class="wp-block-paragraph">Install Hive or Pig to simplify querying and scripting for big data workflows.</p>



<h3 class="wp-block-heading">Step 9: Monitor and Maintain</h3>



<p class="wp-block-paragraph">Use logs, web UIs, and monitoring tools to track job progress and cluster health.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/hadoop-uncovered-comprehensive-insights-into-big-data-processing-and-architecture/">Hadoop Uncovered: Comprehensive Insights into Big Data Processing and Architecture</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/hadoop-uncovered-comprehensive-insights-into-big-data-processing-and-architecture/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Lets Understand the Ruby programming world in 5 mins!!!</title>
		<link>https://www.scmgalaxy.com/tutorials/lets-understand-the-ruby-programming-world-in-5-mins/</link>
					<comments>https://www.scmgalaxy.com/tutorials/lets-understand-the-ruby-programming-world-in-5-mins/#respond</comments>
		
		<dc:creator><![CDATA[scmgalaxy K]]></dc:creator>
		<pubDate>Fri, 01 Jun 2018 06:12:53 +0000</pubDate>
				<category><![CDATA[Ruby]]></category>
		<category><![CDATA[bower]]></category>
		<category><![CDATA[Bundler]]></category>
		<category><![CDATA[Gem]]></category>
		<category><![CDATA[Rails]]></category>
		<category><![CDATA[Rake]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[yarn]]></category>
		<guid isPermaLink="false">http://www.scmgalaxy.com/tutorials/?p=4994</guid>

					<description><![CDATA[<p>Lets Understand the Ruby programming world in 5 mins? Ruby Ruby is a dynamic, interpreted, reflective, object-oriented, general-purpose programming language. [&#8230;]</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/lets-understand-the-ruby-programming-world-in-5-mins/">Lets Understand the Ruby programming world in 5 mins!!!</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img decoding="async" class="alignnone size-full wp-image-5008" src="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/06/ruby-programming-languages.png" alt="" width="600" height="350" srcset="https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/06/ruby-programming-languages.png 600w, https://www.scmgalaxy.com/tutorials/wp-content/uploads/2018/06/ruby-programming-languages-300x175.png 300w" sizes="(max-width: 600px) 100vw, 600px" /></p>
<p>Lets Understand the Ruby programming world in 5 mins?</p>
<p><strong>Ruby</strong><br />
Ruby is a dynamic, interpreted, reflective, object-oriented, general-purpose programming language. It was designed and developed in the mid-1990s by Yukihiro &#8220;Matz&#8221; Matsumoto in Japan. The Currnet most latest stable release is Ruby 2.5.</p>
<p><strong>Gem &#8211; A Ruby Package</strong><br />
A Gem is a Ruby application package which can contain anything from a collection of code to libraries, and/or list of dependencies that the packaged code actually needs to run.</p>
<p>Gems are formed of a structure similar to the following:</p>
<pre class="brush: plain; title: ; notranslate">
/&#x5B;package_name] # The main root directory of the Gem package.
|__ /bin # Location of the executable binaries if the package has any.
|__ /lib # Directory containing the main Ruby application code (inc. modules).
|__ /test # Location of test files.
|__ README #
|__ Rakefile # The Rake-file for libraries which use Rake for builds.
|__ &#x5B;name].gemspec # *.gemspec file, which has the name of the main directory, contains all package meta-data, e.g. name, version, directories etc.

</pre>
<p>One of the tools we will be using for creating Gems is Bundler.</p>
<p><strong>Bundler</strong><br />
Bundler a gem to bundle gems. Bundler makes sure Ruby applications run the same code on every machine.</p>
<p>It does this by managing the gems that the application depends on. Given a list of gems, it can automatically download and install those gems, as well as any other gems needed by the gems that are listed. Before installing gems, it checks the versions of every gem to make sure that they are compatible, and can all be loaded at the same time. After the gems have been installed, Bundler can help you update some or all of them when new versions become available. Finally, it records the exact versions that have been installed, so that others can install the exact same gems.</p>
<p><strong>RubyGems &#8211; A Package Manager</strong><br />
RubyGems is the default package manager for Ruby. It helps with all application package lifecycle from downloading to distributing Ruby applications and relevant binaries or libraries. RubyGems is a powerful package management tool which provides the developers a standardised structure for packing application in archives called Ruby Gem. The webiste is https://rubygems.org/</p>
<p><strong>Rake</strong><br />
Rake is a Make-like program implemented in Ruby. Tasks and dependencies are specified in standard Ruby syntax. you must write a “Rakefile” file which contains the build rules.</p>
<p><strong>Rails</strong><br />
Rails is a web application development framework written in the Ruby programming language. It is designed to make programming web applications easier by making assumptions about what every developer needs to get started. It allows you to write less code while accomplishing more than many other languages and frameworks. Experienced Rails developers also report that it makes web application development more fun.</p>
<p><strong>bower</strong><br />
Web sites are made of lots of things — frameworks, libraries, assets, and utilities. Bower manages all these things for you. Bower can manage components that contain HTML, CSS, JavaScript, fonts or even image files. Bower doesn’t concatenate or minify code or do anything else &#8211; it just installs the right versions of the packages you need and their dependencies.</p>
<p><strong>yarn</strong><br />
Yarn caches every package it has downloaded, so it never needs to download the same package again. It also does almost everything concurrently to maximize resource utilization. This means even faster installs.</p>
<p>If i have missed any tools which is important of Rudy ecospace, please mentioned in the comments sections.</p>
<p>The post <a href="https://www.scmgalaxy.com/tutorials/lets-understand-the-ruby-programming-world-in-5-mins/">Lets Understand the Ruby programming world in 5 mins!!!</a> appeared first on <a href="https://www.scmgalaxy.com/tutorials">scmGalaxy</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.scmgalaxy.com/tutorials/lets-understand-the-ruby-programming-world-in-5-mins/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
