<?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>pig architecture - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/pig-architecture/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/pig-architecture/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Wed, 15 Sep 2021 05:11:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.wikitechy.com/interview-questions/wp-content/uploads/2025/10/cropped-wikitechy-icon-32x32.png</url>
	<title>pig architecture - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/pig-architecture/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>What is the internal architecture of Apache Pig ?</title>
		<link>https://www.wikitechy.com/interview-questions/apache-pig/what-is-the-internal-architecture-of-apache-pig/</link>
					<comments>https://www.wikitechy.com/interview-questions/apache-pig/what-is-the-internal-architecture-of-apache-pig/#respond</comments>
		
		<dc:creator><![CDATA[Editor]]></dc:creator>
		<pubDate>Mon, 12 Jul 2021 05:19:41 +0000</pubDate>
				<category><![CDATA[Apache Pig]]></category>
		<category><![CDATA[Accenture interview questions and answers]]></category>
		<category><![CDATA[Amazon Development Centre India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[apache pig architecture diagram]]></category>
		<category><![CDATA[apache pig interview questions]]></category>
		<category><![CDATA[Applied Materials interview questions and answers]]></category>
		<category><![CDATA[Capgemini interview questions and answers]]></category>
		<category><![CDATA[CASTING NETWORKS INDIA PVT LIMITED interview questions and answers]]></category>
		<category><![CDATA[CGI Group Inc interview questions and answers]]></category>
		<category><![CDATA[Collabera Technologies interview questions and answers]]></category>
		<category><![CDATA[CRISIL LIMITED interview questions and answers]]></category>
		<category><![CDATA[Dell International Services India Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[different ways of executing pig script]]></category>
		<category><![CDATA[Ernst & Young interview questions and answers]]></category>
		<category><![CDATA[Exide Industries interview questions and answers]]></category>
		<category><![CDATA[Flipkart interview questions and answers]]></category>
		<category><![CDATA[Genpact interview questions and answers]]></category>
		<category><![CDATA[hadoop pig architecture]]></category>
		<category><![CDATA[Hexaware Technologies interview questions and answers]]></category>
		<category><![CDATA[IBM interview questions and answers]]></category>
		<category><![CDATA[L&T Infotech interview questions and answers]]></category>
		<category><![CDATA[Mphasis interview questions and answers]]></category>
		<category><![CDATA[Myntra Designs Pvt. Ltd interview questions and answers]]></category>
		<category><![CDATA[PeopleStrong interview questions and answers]]></category>
		<category><![CDATA[pig architecture]]></category>
		<category><![CDATA[pig architecture in hadoop]]></category>
		<category><![CDATA[pig interview questions]]></category>
		<category><![CDATA[pig interview questions and answers]]></category>
		<category><![CDATA[pig interview questions and answers for experienced]]></category>
		<category><![CDATA[pig interview questions for experienced]]></category>
		<category><![CDATA[Pig Interview Questions for experienced and freshers]]></category>
		<category><![CDATA[pig latin application flow]]></category>
		<category><![CDATA[pig latin data model]]></category>
		<category><![CDATA[pig practice questions]]></category>
		<category><![CDATA[processing data using apache pig]]></category>
		<category><![CDATA[Prokarma Softech nterview questions and answers]]></category>
		<category><![CDATA[properties of pig]]></category>
		<category><![CDATA[Quintiles interview questions and answers]]></category>
		<category><![CDATA[RBS India Development Centre Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[relational operators in pig]]></category>
		<category><![CDATA[Reliance Industries Ltd interview questions and answers]]></category>
		<category><![CDATA[Syngene International Limited interview questions and answers]]></category>
		<category><![CDATA[Tech Mahindra interview questions and answers]]></category>
		<category><![CDATA[UnitedHealth Group interview questions and answers]]></category>
		<category><![CDATA[Virtusa Consulting Services Pvt Ltd interview questions and answers]]></category>
		<category><![CDATA[Wells Fargo interview questions and answers]]></category>
		<category><![CDATA[Xoriant Solutions Pvt Ltd interview questions and answers]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=155</guid>

					<description><![CDATA[Answer:Pig Latin consist of pig to analyze the data from Hadoop]]></description>
										<content:encoded><![CDATA[<div class="row">
<div class="col-sm-12">
<div class="TextHeading">
<div class="hddn">
<h2 id="internal-architecture-of-apache-pig" class="color-green" style="text-align: justify;">Internal architecture of Apache Pig</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Pig Latin consist of pig to analyze the data from Hadoop.</li>
<li>Its a highlevel data processing language it perform various operations like data types and operators.</li>
<li>To perform a particular task Pig Script is used and execution mechanisms like(Grunt Shell, UDFs, Embedded).</li>
<li>To produce the desired output continuous transformations applied in Pig Framework.</li>
<li>Programmer’s job become easier when converting these scripts into a series of MapReduce jobs.</li>
</ul>
</div>
</div>
<div class="text-center row" style="text-align: justify;">
<div class="col-sm-12">
<div id="bsa-zone_1590522538159-8_123456"></div>
</div>
</div>
<div class="hddn"><img fetchpriority="high" decoding="async" class="aligncenter size-medium" src="https://cdn.wikitechy.com/interview-questions/apache-pig/pig-architecture.png" alt="Pig Architecture" width="659" height="368" /></div>
<div class="TextHeading" style="text-align: justify;">
<div class="hddn">
<h2 id="apache-pig-components" class="color-green">Apache Pig Components</h2>
</div>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>There are various components in the Apache Pig framework.</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="parser" class="color-green">Parser</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>The Pig Scripts are handled by the Parser.It checks the syntax,type checking, and other miscellaneous checks.The output will be like a DAG (directed acyclic graph), which represents the Pig Latin statements and logical operators.</li>
<li>In the DAG, the logical operators of the script are represented as nodes and therefore the data flows are represented as edges.</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="optimizer" class="color-green">Optimizer</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>The logical plan DAG is passed to the logical optimizer,it carries out the logical optimizations,projection and pushdown.</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="compiler" class="color-green">Compiler</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>It compiles the optimized logical plan into a series of MapReduce jobs.</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="execution-engine" class="color-green">Execution engine</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Producing the desired results MapReduce jobs are executed on Hadoop.</li>
</ul>
</div>
</div>
<div class="ImageContent" style="text-align: justify;">
<div class="hddn"><img decoding="async" class="aligncenter size-medium" src="https://cdn.wikitechy.com/interview-questions/apache-pig/pig-latin.gif" alt="Pig Latin" width="628" height="351" /></div>
</div>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="pig-latin-data-model" class="color-green">Pig Latin Data Model</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>It allows datatypes such as map and tuple and it representation of Pig Latin’s data model.</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="atom" class="color-green">Atom</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Any single value in Pig Latin, irrespective of their data, type is known as an Atom.</li>
<li>Values of Pig in Atom are number,int,long,float,double,chararray, and bytearray.</li>
<li>Field define as a piece of data or a simple atomic value. Example − ‘xxx’ or ‘30’</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="tuple" class="color-green">Tuple</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>A record formed by ordered set of fields is known as a tuple. A tuple is similar to a row in a table of RDBMS. Example − (xxx, 30)</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="bag" class="color-green">Bag</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Is an unordered set of tuples.</li>
<li>A collection of tuples (non-unique) is known as a bag.Tuple have any number of fields (flexible schema).</li>
<li>No need that every tuple contain the same number of fields and the same position (column) have the same type.
<ul>
<li><b>Example</b> − {(xxx, 30), (yyyy, 45)}</li>
</ul>
</li>
<li>A Field contains bags in context its called inner bags.
<ul>
<li><b>Example</b> − {xxx, 30, {98xxxxx22, xxxx@gmail.com,}}</li>
</ul>
</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="map" class="color-green">Map</h2>
</div>
<div class="Content" style="text-align: justify;">
<div class="hddn">
<ul>
<li>Map is a set of key-value pairs the key define as chararray and its unique.</li>
<li>It is represented by ‘[]’ Example − [name#xxx, age#30]</li>
</ul>
</div>
</div>
<div class="subheading" style="text-align: justify;">
<h2 id="relation" class="color-green">Relation</h2>
</div>
<div class="Content">
<div class="hddn">
<ul>
<li style="text-align: justify;">A relation is a bag of tuples.Pig Latin relations are unordered (there is no guarantee that tuples are processed in any particular order).</li>
</ul>
</div>
</div>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/apache-pig/what-is-the-internal-architecture-of-apache-pig/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
