<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Shehryar Mallick on Medium]]></title>
        <description><![CDATA[Stories by Shehryar Mallick on Medium]]></description>
        <link>https://medium.com/@shehryarmallick28?source=rss-82eef7dacfad------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*gFfAmuFzap2MKIrV</url>
            <title>Stories by Shehryar Mallick on Medium</title>
            <link>https://medium.com/@shehryarmallick28?source=rss-82eef7dacfad------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 03:27:10 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shehryarmallick28/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[HADOOP — HEARTBEAT]]></title>
            <link>https://medium.com/@shehryarmallick28/hadoop-heartbeat-dbf31a3009f0?source=rss-82eef7dacfad------2</link>
            <guid isPermaLink="false">https://medium.com/p/dbf31a3009f0</guid>
            <category><![CDATA[apache]]></category>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[heartbeat]]></category>
            <category><![CDATA[apache-hadoop]]></category>
            <dc:creator><![CDATA[Shehryar Mallick]]></dc:creator>
            <pubDate>Mon, 03 Oct 2022 11:36:22 GMT</pubDate>
            <atom:updated>2022-10-03T11:36:22.608Z</atom:updated>
            <content:encoded><![CDATA[<h3>HADOOP — HEARTBEAT</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/834/1*45m71r6B4o5NqpHTfVWEDw.png" /></figure><p>As we have seen that Hadoop is a distributed computing framework with NameNode as master and many DataNodes working as slaves, so there must prevail a mechanism to detect whether the DataNodes are working correctly or not right? How would the NameNode know if a DataNode crashed or not? Well this is where the concept of heartbeat is introduced.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/959/1*-Qba9_g7q_1DMDcK7OvyvQ.png" /></figure><p>NameNode periodically receives a heartbeat which indicates that the DataNode in the cluster is working properly.</p><p>But before we jump right into it we need to understand one more little thing that is block report.</p><blockquote>A Blockreport contains a list of all blocks that reside on a DataNode.</blockquote><p>Now what happens is, all the DataNodes in a cluster periodically send a <strong>heartbeat to the NameNode every 3 second</strong>, this is an indication that the DataNode is alive and working, but if a DataNode dies then what?</p><p>Well<strong> after 10 minutes of no heartbeat</strong> sent to the NameNode, the NameNode declares that DataNode as dead and does not forward any new IO request to them. The dead DataNode is no longer a part of the cluster and the data that was residing on the now dead DataNode is also no longer available to HDFS.</p><p>Well if the data that is on the dead DataNode no longer available doesn’t this mean there is now under-replication of the data blocks?</p><p>Well yes, and this is where our concept of block report plays a role, as NameNode had information of all the block residing on the dead node and because block-report kept on updating NameNode about the blocks location NameNode now starts the re-replication process of the under-replicated block.</p><p>One last thing before we end our discussion is that why is the default time to pronounce a DataNode as dead 10 minutes and not some smaller value? The reason is to avoid <strong>replication storm</strong>. Think of it this way if time interval to declare a node is small, then due to some delay in the signal a working DataNode would be pronounced dead and an unnecessary replication would be carried out. Now scale this to multiple nodes connected to the cluster, wouldn’t that be disruptive, that is a replication storm in simplest terms.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dbf31a3009f0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HADOOP — YARN]]></title>
            <link>https://medium.com/@shehryarmallick28/hadoop-yarn-cfde757b74bd?source=rss-82eef7dacfad------2</link>
            <guid isPermaLink="false">https://medium.com/p/cfde757b74bd</guid>
            <category><![CDATA[apache-hadoop]]></category>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[yarn]]></category>
            <category><![CDATA[apache-yarn]]></category>
            <category><![CDATA[apache]]></category>
            <dc:creator><![CDATA[Shehryar Mallick]]></dc:creator>
            <pubDate>Mon, 03 Oct 2022 07:30:07 GMT</pubDate>
            <atom:updated>2022-10-03T07:30:07.873Z</atom:updated>
            <content:encoded><![CDATA[<h3>HADOOP — YARN</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/790/1*z8Q9rF2xq1dgXgZKm9aGQw.png" /></figure><h3>What is Apache Hadoop Yarn?</h3><p>The question that you might be wondering is what exactly Yarn is. After going through this blog you’ll get an idea what yarn is, why is it used and what are its key component. So stick around.</p><p>YARN stands for (Yet Another Resource Negotiator). The earlier version of Hadoop which comprised of only MapReduce did not had a separate resource manager hence it had to perform both the resource management and processing task itself. Now this resulted in performance bottleneck and eventually poor scalability.</p><p>This is where YARN comes into the picture, YARN was developed to take up the responsibilities of</p><p>· Resource management</p><p>· Job scheduling/monitoring</p><p>By doing so YARN made MapReduce just another processing engine whose entire focus would be to process the allocated tasks. Moreover MapReduce only supported batch processing which YARN also took care of.</p><h3>Advantages Of YARN:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*0DhhRsju8OrfmAPNaEsBAA.png" /></figure><p>· YARN Federation is a feature of YARN that allows you to connect multiple sub-cluster together to appear as consolidate, massive cluster hence achieving scalability.</p><p>· YARN allows different modes of processing some of which include: Graph processing, interactive processing, stream processing and batch processing.</p><p>· Better resource utilization: Another advantage of YARN is that it can provide resources dynamically to applications.</p><p>· YARN supports multiple scheduling algorithms. Which include capacity scheduler and Fair scheduler.</p><p>· Reservation system: YARN has a reservation system that the users can use to book/reserve cluster resources in advance for important tasks.</p><h3>Architecture:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*60PjHq-5Fe_ScibWv4myLA.png" /></figure><h3>Resource Manager:</h3><p>Resource Manager is the ultimate authority that arbitrates resources among all the applications in the system.</p><p>When a job is submitted by the client to the resource manager, it is the task of resource manager to forward that job to node manager along with resources that would be needed for the job completion,</p><p>It has two important aspects that are:</p><p>Scheduler</p><p>Application manager</p><h4>Scheduler:</h4><p>Schedulers performs allocation of resources to various applications.</p><p>It is a “pure scheduler” which means it performs only the scheduling tasks and doesn’t perform any monitoring, or tracking of the status of the applications nor does it guarantee about restarting the failed tasks.</p><h4>Application Manager:</h4><p>The second important component of the node manager is the application manager (not to be confused with application master) who is responsible for accepting the jobs that are submitted by the clients.</p><p>Moreover it is the job of the application manager to negotiate container for executing the application specific Application Master.</p><p>Finally as we saw in the scheduler that it performs only the tasks of scheduling, and so what happens in an event of failure? Well this is where application manager comes into picture, it is the responsibility of the application manager to restart the application master container in an event of failure.</p><h3>Node Manager:</h3><p>Every machine that is connected on the cluster as a data node has its own Node Manager.</p><p>The node manager is responsible for launching and managing containers on a node, monitoring their resource usage and reporting these stats back to resource manager.</p><p>There is a health checker service within each node manager which determines the health of the node. It performs checks on disk and also other tests specified by the user. In the event of a check failed the node would be declared as unhealthy and would be reported back to resource manager which in turn stops assigning container to that node.</p><p>Node manager also has a feature of restarting without losing the active running container.</p><h3>Application Master:</h3><p>The application master works together with the node manager, it’s responsibilities include negotiating for the resources needed by the container from the resource manager.</p><p>It is application specific and only one application master is assigned per application.</p><p>It is also responsible for tracking the status and monitor progress of the associated container.</p><h3>Container:</h3><p>YARN allocates Containers to each application for its processing capacity. A Container is the basic unit of processing capacity in YARN, and is an encapsulation of resource elements (memory, CPU etc.)</p><p>The containers are invoked by Container Launch Context (CLC) which is a record that contains information such as environment variables, security tokens, dependencies etc.</p><h3>References:</h3><p><a href="https://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/YARN.html">Apache Hadoop YARN</a></p><p><a href="https://www.edureka.co/blog/hadoop-yarn-tutorial/">https://www.edureka.co/blog/hadoop-yarn-tutorial/</a></p><ul><li><a href="https://www.techtarget.com/searchdatamanagement/definition/Apache-Hadoop-YARN-Yet-Another-Resource-Negotiator">What is Apache Hadoop YARN? - Definition from WhatIs.com</a></li><li><a href="https://www.geeksforgeeks.org/hadoop-yarn-architecture/">Hadoop YARN Architecture - GeeksforGeeks</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cfde757b74bd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HADOOP — AN INTRODUCTION]]></title>
            <link>https://medium.com/@shehryarmallick28/hadoop-an-introduction-1ee6cf4e4094?source=rss-82eef7dacfad------2</link>
            <guid isPermaLink="false">https://medium.com/p/1ee6cf4e4094</guid>
            <category><![CDATA[hadoop-cluster]]></category>
            <category><![CDATA[hadoop-training]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[big-data-hadoop]]></category>
            <category><![CDATA[hadoop]]></category>
            <dc:creator><![CDATA[Shehryar Mallick]]></dc:creator>
            <pubDate>Fri, 16 Sep 2022 21:24:59 GMT</pubDate>
            <atom:updated>2022-09-16T21:24:59.776Z</atom:updated>
            <content:encoded><![CDATA[<h3>HADOOP — AN INTRODUCTION</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yzDWBySeh_hSnuhFduhiCg.png" /></figure><h3>WHAT IS HADOOP?</h3><p>Before we can understand what is Hadoop we have to look at a simple definition of big data as Hadoop is intertwined with it.</p><blockquote>Big data refers to data set that are extremely large in size and are quite complex which in turn makes it difficult to process that data using the traditional data processing techniques.</blockquote><p>Another way to explain big data is</p><blockquote>A data that is of great <strong>variety</strong>, arriving in great <strong>volumes </strong>at great <strong>velocity</strong>.</blockquote><p>Now that we have gotten that out of the way and established that traditional approaches to process Big data are futile what should one do? This is where Hadoop comes into the picture.</p><p>Hadoop is an open source software by Apache, which provides framework to store tremendous amount of data also referred as big data, and it also provides means to process that data by exploiting the distributed computing potential in clusters.</p><h3>MODES OF HADOOP:</h3><p>Hadoop can be set up in three distinct modes depending upon your requirements.</p><p>The three modes are:</p><p>1. Local (Standalone) mode.</p><p>2. Pseudo distributed mode.</p><p>3. Fully distributed mode.</p><h4>1. STANDALONE MODE:</h4><p> Default mode on which Hadoop runs</p><p> Used in debugging</p><p> You cannot use HDFS (Hadoop Distributed File System) in this mode.</p><h4>2. PSEUDO DISTRIBUTED MODE:</h4><p>Pseudo-distributed mode is also known as a single-node cluster. Both NameNode and DataNode resides on the same machine. <strong>(Note: if you don’t understand what NameNode or DataNode are don’t worry they are discussed in the HDFS article that can be found: </strong><a href="https://medium.com/@shehryarmallick28/hadoop-hdfs-f9e5d883a3d8"><strong>https://medium.com/@shehryarmallick28/hadoop-hdfs-f9e5d883a3d8</strong></a><strong>)</strong></p><h4>3. FULLY DISTRIBUTED MODE:</h4><p>This is also referred as the production mode of Hadoop.</p><p>In this mode multiple DataNodes are running on different machines in a cluster.</p><h3>MAJOR COMPONENTS OF HADOOP:</h3><p>Following are the three main components of Hadoop and their brief intro. <strong>(Note: see the links to other blogs to get the detailed information about these topics which can be found </strong><a href="https://medium.com/@shehryarmallick28"><strong>https://medium.com/@shehryarmallick28</strong></a><strong>)</strong></p><p>1. Hadoop Distributed File System (HDFS)</p><p>2. MapReduce</p><p>3. Yet Another Resource Negotiator (YARN)</p><h4>1. HDFS:</h4><p>HDFS is a <strong>distributed file system</strong> that is designed to run on commodity hardware. The main task of HDFS is to store that big data hence in simple terms it’s a storage facility for Hadoop.</p><blockquote>A distributed file system is file system that has distributed various files on different nodes on a cluster which might reside on different locations. Using the dfs you can exploit location transparency and redundancy.</blockquote><h4>2. MapReduce:</h4><p>As we saw earlier that one of the main reasons for using Hadoop was it’s capability to process huge sums of data, well this is achieved using the MapReduce provided by Hadoop framework. What MapReduce does is, it splits data into smaller chunks and then process those chunks on multiple nodes in parallel.</p><h4>3. YARN:</h4><p>YARN is a layer that is prevalent between the HDFS and processing engines, YARN performs two important tasks, 1) resource management and allocation to different nodes. 2) Job scheduling</p><h3>BENEFITS OF HADOOP:</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P1j_-GPW5xLIzZ2KQ1rmAQ.png" /><figcaption>Benefits of Hadoop</figcaption></figure><h4>1. COMMODITY HARDWARE:</h4><p>This is, by far one of the biggest advantages of Hadoop as you do not require any special hardware rather you can develop the Hadoop cluster on readily available commodity hardware.</p><blockquote>Commodity hardware is any device or component that is easily and widely available and is inexpensive.</blockquote><h4>2. OPEN SOURCE:</h4><p>The face that Hadoop is open source is simply amazing, it means you do not have to pay even a single dime to deploy Hadoop, it’s free of cost!</p><h4>3. SCALABLE:</h4><p>This is also another advantage if Hadoop, Scaling refers to adding or removing “components” to your system as per your needs.</p><p>Scaling in Hadoop can be done in two distinct ways.</p><p>1. Horizontal scaling</p><p>2. Vertical scaling</p><h4>a. HORIZONTAL SCALING:</h4><p>Horizontal scaling which is also called scaling out refers to adding additional nodes or machines to your infrastructure to cope with new demands.</p><h4>b. VERTICAL SCALING:</h4><p>Vertical scaling which is also called scaling up describes adding additional resources to a system so that it meets demand.</p><blockquote>In order to explain in simplest terms, horizontal scaling refers to adding a new node (computer) to an existing cluster while the vertical scaling means I upgrade my already existing node for instance increase it’s memory or storage power etc.</blockquote><h4>4. RELIABLE:</h4><p>Reliability is yet another important aspect of Hadoop. Hadoop HDFS provides a replication mechanism which means copies of data are placed at different nodes in a cluster, so even if a node goes down or data is corrupted a safe copy can be accessed at the time of need.</p><h4>5. HIGH AVAILABILITY:</h4><p>The replication also provides a means for high availability of data. HDFS tries to satisfy a read request from a replica that is closest to the reader. If there exists a replica on the same rack as the reader node, then that replica is preferred to satisfy the read request.</p><h4>6. FAULT TOLERANCE:</h4><p>This is also an advantage provided due to the replication mechanism, since there prevails usually 3 copies of data (default setting) in case of failure of node the replica is invoked and the process keeps on performing without breaking down.</p><h4>7. DATA LOCALITY:</h4><p>Traditionally what happened was data was used to be shifted where the computation logic existed, this is one of the biggest advantage that Hadoop imparts, that is, instead of shifting the data which would have resulted in network congestion and increased the bandwidth utilization Hadoop rather shifts the computation logic to the node where the data resides hence taking care of the above two mentioned problems.</p><h3>FURTHER READING:</h3><ul><li><a href="https://medium.com/@shehryarmallick28/hadoop-hdfs-f9e5d883a3d8">HADOOP — HDFS</a></li><li><a href="https://medium.com/@shehryarmallick28/hadoop-replication-in-hdfs-c138c4ad82df">HADOOP — REPLICATION IN HDFS</a></li><li><a href="https://medium.com/@shehryarmallick28/hadoop-map-reduce-eb9b5938f8d3">HADOOP — MAP REDUCE</a></li></ul><h3>REFERENCES:</h3><ul><li><a href="https://hadoop.apache.org/">Apache Hadoop</a></li><li><a href="https://www.oracle.com/big-data/what-is-big-data/">Big Data, Big Possibilities: How to Extract Maximum Value</a></li><li><a href="https://www.geeksforgeeks.org/what-is-dfsdistributed-file-system/">What is DFS (Distributed File System)? - GeeksforGeeks</a></li><li><a href="https://www.techtarget.com/searchdatamanagement/definition/Apache-Hadoop-YARN-Yet-Another-Resource-Negotiator#:~:text=In%20a%20cluster%20architecture%2C%20Apache,operations%20in%20individual%20cluster%20nodes.">What is Apache Hadoop YARN? - Definition from WhatIs.com</a></li></ul><p><a href="https://data-flair.training/blogs/features-of-hadoop-and-design-principles/">https://data-flair.training/blogs/features-of-hadoop-and-design-principles/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1ee6cf4e4094" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HADOOP — MAP REDUCE]]></title>
            <link>https://medium.com/@shehryarmallick28/hadoop-map-reduce-eb9b5938f8d3?source=rss-82eef7dacfad------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb9b5938f8d3</guid>
            <category><![CDATA[mapreduce]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[hadoop-mapreduce]]></category>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[hadoop-training]]></category>
            <dc:creator><![CDATA[Shehryar Mallick]]></dc:creator>
            <pubDate>Fri, 16 Sep 2022 21:18:23 GMT</pubDate>
            <atom:updated>2022-09-16T21:18:23.616Z</atom:updated>
            <content:encoded><![CDATA[<h3>HADOOP — MAP REDUCE</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jgwEuuQgqUifWk-bvgZoZg.png" /></figure><h3>INTRO TO MAP REDUCE:</h3><p>MapReduce is one of the core components of Hadoop framework. As discussed in the previous articles that Hadoop is an open source framework to process big data, this directs our attention towards the question of what is the component that carries out this task? It’s none other than MapReduce.</p><p>MapReduce is software frame work that processes large dataset by dividing them into small portions and performing the computation logic on all those small chucks in parallel. Once the specified processing is carried out on the individual chucks they are rejoined to give the final output.</p><p>Minimally, applications specify the input/output locations and supply map and reduce functions via implementations of appropriate interfaces and/or abstract-classes. These, and other job parameters, comprise the job configuration. A detailed explanation would be given as we dive into this article.</p><h3>BENEFITS OF MAPREDUCE:</h3><p>1) <strong>Scalability</strong>. Businesses can process petabytes of data stored in the Hadoop Distributed File System (HDFS).</p><p>2) <strong>Flexibility</strong>. Hadoop enables easier access to multiple sources of data and multiple types of data.</p><p>3) <strong>Speed</strong>. With parallel processing and minimal data movement, Hadoop offers fast processing of massive amounts of data.</p><p>4) <strong>Simple</strong>. Developers can write code in a choice of languages, including Java, C++ and Python</p><h3>ARCHITECTURE OF MAPREDUCE:</h3><p>We will look at the following example to establish the concept of MapReduce wordcount process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*be5ttdgFU4plFLUuFrNhJw.png" /></figure><h4>1. INPUT:</h4><p>In the above example an input file was given that had two sentences.</p><h4>2. SPLIT:</h4><p>In the split step the sentences are separated and sent to map stage.</p><h4>3. MAP:</h4><p><strong>3.1. MAPPER:</strong></p><p>A separate mapper is spawned for each input split. The number of maps is usually driven by the total size of the inputs, that is, the total number of blocks of the input files.</p><p>The mapper takes the input and generates the intermediate results. What it does is after reading the input sentence splits it up at the spaces and associates a value with the word. So for instance if the input sentence was “hello there” mapper would split the sentence as &lt;hello, 1&gt; and &lt;there, 1&gt;.</p><p><strong>3.2. LOCAL COMBINER (OPTIONAL):</strong></p><p>An interesting thing in the map stage is the local combiner which performs the same task as the reducer. However it is optional and can be enabled by the user if he wishes. If enabled it would reduce the output of it’s respective map and send it as input to the reducing stage. This helps to cut down the amount of data transferred from the Mapper to the Reducer.</p><h4>4. REDUCE:</h4><p>In the reducing stage there are three core aspects, shuffle, sort and reducers. The shuffle and sort work simultaneously.</p><p><strong>4.1. SHUFFLE:</strong></p><p>Input to the Reducer is the sorted output of the mappers. In this phase the framework fetches the relevant partition of the output of all the mappers</p><p><strong>4.2. SORT:</strong></p><p>In this step which runs simultaneously with shuffle, the same keys are grouped together and sent as the input to the reducers.</p><p><strong>4.3. REDUCERS:</strong></p><p>This is the final stage, the reducers count all the instances of the input from the shuffle and sort stage and provide the final output. The output given by reducers is not sorted.</p><h4>Partitioner</h4><p>Partitioner partitions the key space. Partitioner controls the partitioning of the keys of the intermediate map-outputs.</p><h4>REFERENCE:</h4><p><a href="https://hadoop.apache.org/docs/r3.3.4/hadoop-mapreduce-client/hadoop-mapreduce-client-core/MapReduceTutorial.html#Purpose">MapReduce Tutorial</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb9b5938f8d3" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HADOOP — HDFS]]></title>
            <link>https://medium.com/@shehryarmallick28/hadoop-hdfs-f9e5d883a3d8?source=rss-82eef7dacfad------2</link>
            <guid isPermaLink="false">https://medium.com/p/f9e5d883a3d8</guid>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[hadoop]]></category>
            <category><![CDATA[hdfs-architecture]]></category>
            <category><![CDATA[apache-hdfs]]></category>
            <category><![CDATA[hdfs]]></category>
            <dc:creator><![CDATA[Shehryar Mallick]]></dc:creator>
            <pubDate>Fri, 16 Sep 2022 21:09:31 GMT</pubDate>
            <atom:updated>2022-09-16T21:09:31.069Z</atom:updated>
            <content:encoded><![CDATA[<h3>HADOOP — HDFS</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fVu2kh9C9cgYkVl4Vt7Lkw.png" /></figure><h3>WHAT IS HDFS:</h3><p>HDFS is a distributed file system that is designed to run on commodity hardware. The main task of HDFS is to store the big data hence in simple terms it’s a storage facility for Hadoop.</p><blockquote>“A distributed file system is file system that has distributed various files on different nodes on a cluster which might reside on different locations. Using the dfs you can exploit <strong>location transparency</strong> and <strong>redundancy.</strong>”</blockquote><h3>IMPORTANT FEATURES OF HDFS: </h3><p>1) HDFS is highly <strong>fault-tolerant</strong>.</p><p>2) HDFS is designed to be deployed on <strong>low-cost hardware</strong>.</p><p>3) HDFS provides <strong>high throughput </strong>access to application data and is suitable for applications that have large data sets.</p><p>4) HDFS relaxes a few POSIX requirements to <strong>enable streaming access </strong>to file system data.</p><h3>ARCHITECTURE OF HDFS:</h3><p>We will take a look at the following image and then understand the underlying principle of how HDFS works and what are it’s major components.</p><p>Quick run-down on the components of HDFS:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Xu9XvlgfZ7JAVlwgmv5etw.png" /></figure><p>The architecture of HDFS is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AKpLKlS3IFXqS8jW2FqXBg.png" /></figure><p>The HDFS architecture is the one of <strong>master and slave</strong>. The NameNode acts as a master meaning there can only be one NameNode per cluster and multiple DataNodes.</p><p>The main tasks of NameNode are to maintain a</p><p> Name space file and</p><p> Regulate the client requests.</p><p>The namespace file contains all the relevant information about the file blocks such as the name, their locations, size etc. Basically the namespace file stores the metadata. NameNode executes file system <strong>namespace operations</strong> like opening, closing, and renaming files and directories.</p><p>NameNode is also responsible for dictating where a certain block of file should reside.</p><p>The cluster might consist of many nodes (computers) connected to it, and inside each node there would be usually one DataNode existing. These DataNodes serves as slaves in the architecture. Their responsibilities include storing the block of file serving read and write requests from the file system’s clients. The DataNodes also perform block creation, deletion, and replication upon instruction from the NameNode.</p><p>An interesting point to highlight is the replication of the blocks of a file. The file in broken down into multiple blocks usually of size 128MB. And then replicated, the default replication factor is 3. The NameNode is responsible for strategically placing all the replica in such a manner that in case of failure or crash the replicas can be invoked.<strong> (Note: More on this in the article: </strong><a href="https://medium.com/@shehryarmallick28/hadoop-replication-in-hdfs-c138c4ad82df"><strong>https://medium.com/@shehryarmallick28/hadoop-replication-in-hdfs-c138c4ad82df</strong></a><strong>)</strong></p><p>The NameNode is the arbitrator and repository for all HDFS metadata. The system is designed in such a way that user data never flows through the NameNode.</p><h3>GOALS:</h3><h4>1. HARDWARE FAILURE:</h4><p>This is the foremost goal of HDFS. Since many nodes can exist in the cluster each of which would have at least one DataNode, there also exists high probability of the failure of these nodes. But due to the replication mechanism of HDFS, even in the case of failure the cluster would keep on working and would not crumble down. Detection of faults and quick, automatic recovery from them is a core architectural goal of HDFS.</p><h4>2. STREAMING DATA ACCESS:</h4><p>Applications that run on HDFS need streaming access to their data set. But what does it mean by streaming data set?</p><blockquote>“Streaming data is data that is generated continuously by thousands of data sources, which typically send in the data records simultaneously, and in small sizes (order of Kilobytes)”</blockquote><p>So rather than reading the data in chunks, in Hadoop data is read continuously at a constant bitrate.</p><h4>3. LARGE DATASETS:</h4><p>As stated in the introductory article, big data refers to the data of huge volumes of data and we have already established that Hadoop is a framework that is used for the storage and processing of the big data. The size of the data is usually in gigabytes or terabytes, but that isn’t a problem for Hadoop as HDFS is designed to provide high aggregate data bandwidth and can scale to hundreds of nodes in a single cluster hence can easily cater the large datasets.</p><h4>4. SIMPLE COHERENCY MODEL:</h4><p>We first need to understand what coherency is.</p><blockquote>“Data coherence includes uniformity across shared resource data.”</blockquote><p>What it means is the data is consistent or same in the different locations it is placed in. So how does HDFS ensure this property? Well HDFS provides the write-once-read-many access model for files.</p><p>Meaning a file that is once created, written and closed need not to be changed and the addition of new data is possible through appending and truncating of that said data. To simplify you cannot add new data in the middle of the file only way to add new data is to add it at the end, this technique simplifies the data coherency issue and increases the throughput data access.</p><h4>5. MOVING COMPUTATION IS CHEAPER THAN MOVING DATA:</h4><p>Since we know that Hadoop deals with tremendous amount of data, moving that data to the computation would be expensive and would result in network congestion. How does HDFS fix this problem? Well let me tell you, HDFS rather shifts the computation logic to the place where data is residing.</p><h4>6. PORTABILITY ACROSS HETEROGENEOUS HARDWARE AND SOFTWARE PLATFORMS:</h4><p>HDFS has been designed to be easily portable from one platform to another.</p><h3>REFERENCES:</h3><ul><li><a href="https://hadoop.apache.org/docs/r3.3.4/hadoop-project-dist/hadoop-hdfs/HdfsDesign.html#Introduction">HDFS Architecture</a></li><li><a href="https://aws.amazon.com/streaming-data/">What Is Streaming Data? | Amazon Web Services (AWS)</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f9e5d883a3d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HADOOP — REPLICATION IN HDFS]]></title>
            <link>https://medium.com/@shehryarmallick28/hadoop-replication-in-hdfs-c138c4ad82df?source=rss-82eef7dacfad------2</link>
            <guid isPermaLink="false">https://medium.com/p/c138c4ad82df</guid>
            <category><![CDATA[apache-hdfs]]></category>
            <category><![CDATA[hdfs-architecture]]></category>
            <category><![CDATA[hdfs]]></category>
            <category><![CDATA[replication]]></category>
            <category><![CDATA[hadoop]]></category>
            <dc:creator><![CDATA[Shehryar Mallick]]></dc:creator>
            <pubDate>Fri, 16 Sep 2022 20:52:56 GMT</pubDate>
            <atom:updated>2022-09-16T20:52:56.794Z</atom:updated>
            <content:encoded><![CDATA[<h3>HADOOP — REPLICATION IN HDFS</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*39_WGgFUkNLUKiP6jFBQOA.png" /></figure><h3>WHAT IS DATA REPLICATION IN HDFS:</h3><p>As we saw in the HDFS architecture that each file is first broken down into blocks of 128MB (default) and then three (default) replicas of each block is created and placed at different locations, this is the essence of the replication process in HDFS. When a file is broken into blocks let’s say n blocks then size of 1 to n-1 blocks would be same while the size of the nth block can be different. An application can specify the number of replicas of a file. The block size and replication factor are also configurable per file.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IUJ2D-lYy3IGaGhlj4o7SA.png" /></figure><h3>BENEFITS OF REPLICATON:</h3><p>1) Fault tolerance</p><p>2) Reliability</p><p>3) Availability</p><p>4) Network bandwidth utilization</p><h3>REPLICA PLACEMENT:</h3><p>A simple but non-optimal policy is to place replicas on unique racks. This approach is quite robust because in an event of failure of a whole rack the data is preserved in the form of replica existing in a different rack.</p><p>The reason for it being non-optimal is because communication between two nodes in different racks has to go through switches. In most cases, network bandwidth between machines in the same rack is greater than network bandwidth between machines in different racks, also this policy increases the cost of writes because a write needs to transfer blocks to multiple racks.</p><h4>REPLICATION FACTOR = 3:</h4><p>The policy for placement is:</p><p> 1st replica is placed in the same datanode of the same rack where the writer is or on some other data node in the same rack as of the writer.</p><p> 2nd replica is placed in a datanode in a different rack.</p><p> 3rd replica is placed on another different node but the rack is same as the rack of the 2nd replica.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*wfuPvHgE_3hKdLL7RTRknw.png" /></figure><p><em>As we can see from the above example we had a file by the name of original file, the file was broken into three blocks by the name 1, 2 and 3. Each block had two more replicas. By following the steps of the placement we can see that the first rack only contains the one replica of 1, one replica of 2 in node 1 and one replica of 3 in node 3.</em></p><p><em>Again, following the policy the other two replicas of 1 were placed in a separate rack which in this case is third rack and both replicas of 1 in third rack are in different datanode i.e. node 7 and node 10 as shown above.</em></p><p><em>Same is the case for the replicas of block 2 and 3.</em></p><p>This policy cuts the inter-rack write traffic which generally improves write performance.</p><p>This policy does not impact data reliability and availability guarantees.</p><p>With this policy, the replicas of a block do not evenly distribute across the racks.</p><h4>REPLICATION FACTOR &gt; 3:</h4><p>If the replication factor is greater than 3, the placement of the 4th and following replicas are determined randomly while keeping the number of replicas per rack below the upper limit.</p><p><strong>(replicas — 1) / racks + 2</strong></p><h3>MAXIMUM NUMBER OF REPLICAS?</h3><p>Since a single DataNode can only hold a single replica belonging to file this means the maximum number of replicas created are equal to the number of DataNodes available in the cluster.</p><h3>REPLICA SELECTION:</h3><p>HDFS tries to minimize the read latency. Read latency in Hadoop is defined as</p><blockquote>“The ability to access data instantaneously”</blockquote><p>So what HDFS does is if there is a replica present in the same rack as the reader node it would satisfy that read request by serving that replica.</p><p>REFERENCE LINKS:</p><p><a href="https://hadoop.apache.org/docs/r3.3.4/hadoop-project-dist/hadoop-hdfs/HdfsDesign.html#Data_Replication">HDFS Architecture</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c138c4ad82df" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Query Data of Specified Limit in MongoDB.]]></title>
            <link>https://medium.com/@shehryarmallick28/query-data-of-specified-limit-in-mongodb-fe65816b8ac1?source=rss-82eef7dacfad------2</link>
            <guid isPermaLink="false">https://medium.com/p/fe65816b8ac1</guid>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[nosql]]></category>
            <category><![CDATA[retrievinfo]]></category>
            <category><![CDATA[query]]></category>
            <category><![CDATA[nodejs]]></category>
            <dc:creator><![CDATA[Shehryar Mallick]]></dc:creator>
            <pubDate>Tue, 23 Aug 2022 09:12:40 GMT</pubDate>
            <atom:updated>2022-08-23T09:12:40.611Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nL2BmrJyEmbGO6eD.jpg" /></figure><p>If you want to query data from a specified start and end limit in a mongo database you can use the following method I used.</p><p>In this tutorial I have used nodejs, mongoDB. Moreover the dataset that I’ve used is <strong>TravelVerse Sample Dataset.</strong><br>link to dataset: <a href="https://www.hackerearth.com/challenges/hackathon/enter-the-travel-verse/"><strong>https://www.hackerearth.com/challenges/hackathon/enter-the-travel-verse/</strong></a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*5MtnRo9niG0KCyvgH0NnHA.png" /><figcaption>download the sample dataset</figcaption></figure><p>We will look at the different parts of the code to establish the understanding.</p><h3>Step 1: Declare The Necessary Variables.</h3><p>First step is to declare the variables, <em>start</em> defines the place from where you want to pick the records or in the case of mongoDB “documents” from a collection.<br><em>end </em>here determines the stopping point of the records. <em>rec </em>is used to evaluate the number of records that the user has requested from the database. <em>uri </em>denotes the connection link to the database, in my case I used the local database hence I gave the corresponding link. <em>dataBaseName </em>determines the name of the database you want to refer to and <em>collectionName </em>is used to define the specific collection you are trying to retrieve data from.</p><blockquote>Note: If you are having trouble understanding what collection, documents are I suggest you read about the NoSQL databases and mainly MongoDB too, as these are the building blocks of NOSQL databases.<br>Link: <a href="https://medium.com/@shehryarmallick28/diving-into-the-world-of-nosql-databases-with-mongodb-8ed21aa6ca0a"><strong>https://medium.com/@shehryarmallick28/diving-into-the-world-of-nosql-databases-with-mongodb-8ed21aa6ca0a</strong></a></blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*SeoT-a8K7M6uzx8UAqjHZQ.png" /><figcaption>Declaring the necessary variables</figcaption></figure><h3>Step 2: Creating Connection To MongoDB.</h3><p>The next step is to create a mongoclient, and use that client to create connection to your mongoDB server.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/752/1*Ip1hjcmbvp7IM7Rc4t4nkA.png" /><figcaption>Creating Connection to client</figcaption></figure><h3>Step 3: Query The Database Collection And Close The Connection.</h3><p>So final the step of this process is to query the desired database collection and retrieve the results. Once the results are retrieved we close the client connection we made with the help of nodejs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/991/1*zVjvAfMGh84_8hpjK7S3_g.png" /><figcaption>Retrieving documents from the collection</figcaption></figure><h3>Complete Code.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/986/1*uP4nRAGQ-LlZUcjGRvHpLg.png" /><figcaption>Complete Code</figcaption></figure><h3>Results.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*e7QFXpyML8ersFEJjaQA-A.png" /><figcaption>First document of the specified limit</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/450/1*rL_95z1ae-ibE52WwIGCeA.png" /><figcaption>Last document of the specified limit</figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fe65816b8ac1" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Diving Into The World Of NOSQL Databases With MongoDB.]]></title>
            <link>https://medium.com/@shehryarmallick28/diving-into-the-world-of-nosql-databases-with-mongodb-8ed21aa6ca0a?source=rss-82eef7dacfad------2</link>
            <guid isPermaLink="false">https://medium.com/p/8ed21aa6ca0a</guid>
            <category><![CDATA[nosql-database]]></category>
            <category><![CDATA[mongodb-compass]]></category>
            <category><![CDATA[mongodb]]></category>
            <category><![CDATA[mongo-basics]]></category>
            <category><![CDATA[mongo-installation]]></category>
            <dc:creator><![CDATA[Shehryar Mallick]]></dc:creator>
            <pubDate>Sun, 07 Aug 2022 10:59:19 GMT</pubDate>
            <atom:updated>2022-08-07T10:59:19.044Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QJnvahq_EBdUGjYQUYrhvA.png" /></figure><h3>What are NOSQL databases?</h3><p>Before we start discussing about the MongoDB and how to use it, you should first build a basic understanding what are NOSQL databases and how are they different from the traditional SQL databases <strong>(Note: feel free to skip this part if you are already well versed in the basic concepts and explore the MongoDB section)</strong>.</p><h4>SQL VS NOSQL:</h4><p>Well, SQL stands for “Structured Query Language” which is used on the “relational databases”. Relational databases have a defined structure and the data which is stored in these databases are held in the form of rows and columns. To create a better understanding see the following image:</p><figure><img alt="An example of relational database written using SQL query, on SQLite3 server, and PopSQL." src="https://cdn-images-1.medium.com/max/356/1*B5kRmwhViC-XfmlozwCWcw.png" /><figcaption>Relational Table</figcaption></figure><p>Where as in the NOSQL databases you do not store data in the tabular or relational format rather you store data in document residing in a collection.</p><p>Meaning you have different named collection and each of them have one or more documents.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*rkzfihfs1_BnyDJ630LgTQ.png" /><figcaption>NOSQL database with two collections, first one having 2 documents and the second one having 3 documents.</figcaption></figure><p>A typical NOSQL document looks like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/408/1*Hkx-GFuyGAP-SYrAatLdvw.png" /><figcaption>A document taken from a books collection.</figcaption></figure><h4>Advantages Of NOSQL Databases:</h4><ul><li>Handle large volumes of data at high speed with a scale-out architecture.</li><li>Store unstructured, semi-structured, or structured data.</li><li>Enable easy updates to schemas and fields.</li><li>Be developer-friendly.</li><li>Take full advantage of the cloud to deliver zero downtime.</li></ul><h4>Some Popular NOSQL Databases:</h4><ul><li>MongoDB</li><li>Apache Cassandra</li><li>Neo4j</li><li>RavenDB</li><li>Redis</li><li>DynamoDB</li></ul><h3>MongoDB Setup</h3><p>MongoDB is one of the most popular NOSQL database out there. It is a cross-platform database which stores the data in JSON like document. For this tutorial we will use the MongoDB compass which is an interactive tool for querying the mongo database.</p><p>So without further ado let’s begin.</p><h4>Installation:</h4><p>Go to the official MongoDB website: <a href="https://www.mongodb.com/"><strong>https://www.mongodb.com/</strong></a></p><p>Then follow the following steps:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*2Luwbkm32Vv_BoWs58uJVA.png" /><figcaption>Select the community server from the Products</figcaption></figure><p>Then Download the latest version offered:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yicCW6DRluOdEJ8WMMag-w.png" /></figure><p>Follow the installation steps, once done you would get a folder at the specified location which would look something like:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/768/1*JvrzWcV5f_iGSs5Y2YBKxQ.png" /><figcaption>MongoDB folder after installation.</figcaption></figure><p>If you have used the default settings then the MongoDB Compass would’ve also been installed on your computer. Which can be accessed from either the start menu or even from the search bar.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/975/1*ThOIBoS_n1pdHhOlrXa5vA.png" /><figcaption>Searching for MongoDB Compass App</figcaption></figure><p>Open the app and you’ll be shown the following screen.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_QyLG_KX264e8_akN7emnQ.png" /><figcaption>MongoDB Compass App Interface</figcaption></figure><h4>Connecting To Local Host:</h4><p>Click the <strong>Connect </strong>button and you will be shown the following screen:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*xT8jUt0OTNE4ubWBpZ9c4A.png" /><figcaption>After Connection</figcaption></figure><p>There are two ways to interact with the MongoDB, through the compass or directly from the shell.</p><p>As mentioned earlier we will explore the compass as it would be easy for you to understand, however I will create another blog for using the terminal to perform the CRUD operations and other queries on MongoDB.</p><h3>MongoDB Using Compass</h3><h4>Creating Your First MongoDB:</h4><p>Navigate to the database window from the left panel, press the create database, give your database a name, give your collection a name and that’s it.</p><p>Congratulations you just created your first NOSQL database:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0Srayh1wffxLAPaxtUg0bg.png" /><figcaption>Entering Info for database and collection.</figcaption></figure><h4>Adding A Document Into Collection:</h4><p>Click on the newly created database to go inside it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/923/1*r2IlJhxseHu73Wj6eDOhcQ.png" /><figcaption>MovieStore Database</figcaption></figure><p>It’s gonna open the following window:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/949/1*AnHxr_YikdfDIcjsDhfHLg.png" /><figcaption>Movie Store Database with one collection called Movies</figcaption></figure><p>This was the initial collection we created, now click on this collection to enter into it.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dDg700M6yJGSWJ8IPk3hSw.png" /></figure><p>As you can see the collection is currently empty, there are multiple ways to add data into your collection, for instance if you already have a saved <strong>.json </strong>or <strong>.csv </strong>you can simply import it by clicking the import button.</p><p>However, we are creating a database from scratch so we will click on the <strong>add data</strong> button and enter a new document by selecting the <strong>Insert Document</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/942/1*0X1dEooVuozM3o3_AmDu9w.png" /><figcaption>Select the insert document</figcaption></figure><p>This will pop up a window, with a pre-assigned id to the document.</p><blockquote>Note: You can delete that id and insert your data, Mongo will automatically assign it id again. Try it yourself !</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*zuIlO93onUQXZXvTRSfrVQ.png" /><figcaption>Inserting Different Kind of Information into Document</figcaption></figure><p>Press insert and viola, you just created your first document inside a collection.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/954/1*DxU88doYJjaMYShQoAYr5g.png" /><figcaption>New Document Added</figcaption></figure><blockquote><em>Note: In the NOSQL databases there is no restriction that all the documents should follow the same structure, meaning you can add another document with more or less fields, Try it yourself</em></blockquote><h4>Updating A Document:</h4><p>Select the ‘pen’ icon to update the document:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/734/1*oUAf3Lwo6da-XwwC7J4qtw.png" /><figcaption>Updating the document</figcaption></figure><p>I simply add another filed, press the update button and that’s it the document got updated.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/923/1*BVVI7yZXjp0BXM-z4Wl0og.png" /><figcaption>Updated Document</figcaption></figure><h4>Deleting A Document:</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/736/1*XCvrF7lH2paH96osd4f1bg.png" /><figcaption>Deleting a Document</figcaption></figure><p>Simply press the ‘bin’ icon to delete a document.</p><blockquote>Note: Did you notice? As mentioned earlier, the two documents have different fields, pretty cool right?</blockquote><h3>Conclusion</h3><p>There is always more to learn, I would suggest that you play around with the MongoDB Compass to get more familiar with the NOSQL, and once you think you have done considerable exercises on it, take on a new venture to establish deeper knowledge. I will leave a link to official docs too if you wanna go ahead and masters the skills.</p><h3>Links</h3><p><a href="https://www.mongodb.com/docs/guides/?_ga=2.50714412.481439001.1659863538-1427420644.1659863538">Start with Guides</a></p><p><a href="https://www.agiratech.com/the-key-differences-between-sql-and-nosql-database">https://www.agiratech.com/wp-content/uploads/2018/01/Difference-between-SQL-and-NOSQL-2.png</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8ed21aa6ca0a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>