<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: Programming MapReduce Jobs with HDInsight Server for Windows	</title>
	<atom:link href="https://prologika.com/programming-mapreduce-jobs-with-hdinsight-server-for-windows/feed/" rel="self" type="application/rss+xml" />
	<link>https://prologika.com/programming-mapreduce-jobs-with-hdinsight-server-for-windows/</link>
	<description>Business Intelligence Consulting and Training in Atlanta</description>
	<lastBuildDate>Tue, 16 Feb 2016 06:05:19 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		By: venkat01		</title>
		<link>https://prologika.com/programming-mapreduce-jobs-with-hdinsight-server-for-windows/#comment-161</link>

		<dc:creator><![CDATA[venkat01]]></dc:creator>
		<pubDate>Fri, 24 May 2013 09:14:04 +0000</pubDate>
		<guid isPermaLink="false">/CS/blogs/blog/archive/2012/12/28/programming-mapreduce-jobs-with-hdinsight-server-for-windows.aspx#comment-161</guid>

					<description><![CDATA[By using the above Mapper and Reducer code and adding 2 more files, we can run the code directly from VS2012.
    public class TemperatureCalcJob : HadoopJob&lt;TemperateMaper, TemperateReducer&gt;
    {
        public TemperatureCalcJob()
        {
        }
        public override HadoopJobConfiguration Configure(ExecutorContext context)
        {

            HadoopJobConfiguration config = new HadoopJobConfiguration();

            config.InputPath = &quot;/user/venkat01/input/Temp/input.txt&quot;;

            config.OutputFolder = &quot;/user/venkat01/output/Temp&quot;;

            return config;

        }

    }


    class Program
    {
        static void Main(string[] args)
        {
            var hadoop = Hadoop.Connect();
            var result = hadoop.MapReduceJob.ExecuteJob&lt;TemperatureCalcJob&gt;();
        }
    }
Enjoy!!!!!]]></description>
			<content:encoded><![CDATA[<p>By using the above Mapper and Reducer code and adding 2 more files, we can run the code directly from VS2012.<br />
    public class TemperatureCalcJob : HadoopJob<TemperateMaper, TemperateReducer><br />
    {<br />
        public TemperatureCalcJob()<br />
        {<br />
        }<br />
        public override HadoopJobConfiguration Configure(ExecutorContext context)<br />
        {</p>
<p>            HadoopJobConfiguration config = new HadoopJobConfiguration();</p>
<p>            config.InputPath = &#8220;/user/venkat01/input/Temp/input.txt&#8221;;</p>
<p>            config.OutputFolder = &#8220;/user/venkat01/output/Temp&#8221;;</p>
<p>            return config;</p>
<p>        }</p>
<p>    }</p>
<p>    class Program<br />
    {<br />
        static void Main(string[] args)<br />
        {<br />
            var hadoop = Hadoop.Connect();<br />
            var result = hadoop.MapReduceJob.ExecuteJob<temperaturecalcjob>();<br />
        }<br />
    }<br />
Enjoy!!!!!</temperaturecalcjob></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: anushree		</title>
		<link>https://prologika.com/programming-mapreduce-jobs-with-hdinsight-server-for-windows/#comment-160</link>

		<dc:creator><![CDATA[anushree]]></dc:creator>
		<pubDate>Fri, 22 Mar 2013 10:27:28 +0000</pubDate>
		<guid isPermaLink="false">/CS/blogs/blog/archive/2012/12/28/programming-mapreduce-jobs-with-hdinsight-server-for-windows.aspx#comment-160</guid>

					<description><![CDATA[A MapReduceJob is a class derieved from HadoopJob&lt;MapperClass,ReducerClass&gt; I created this class

public class TemperatureCalcJob:HadoopJob&lt;TemperatureMapper,TemperatureReducer&gt;

   {

       public override HadoopJobConfiguration Configure(ExecutorContext context)

       {

           HadoopJobConfiguration config = new HadoopJobConfiguration();

           config.InputPath = context.Arguments[0];

           config.OutputFolder = context.Arguments[1];

           return config;

       }

   }

and the command to run the job will be

mrrunner -dll &quot;D:\Projects\Xurch\FirstHDInsightApp\FirstHDInsightApp\bin\Debug\FirstHDInsightApp.dll&quot; -- input/Temp output
]]></description>
			<content:encoded><![CDATA[<p>A MapReduceJob is a class derieved from HadoopJob<MapperClass,ReducerClass> I created this class</p>
<p>public class TemperatureCalcJob:HadoopJob<TemperatureMapper,TemperatureReducer></p>
<p>   {</p>
<p>       public override HadoopJobConfiguration Configure(ExecutorContext context)</p>
<p>       {</p>
<p>           HadoopJobConfiguration config = new HadoopJobConfiguration();</p>
<p>           config.InputPath = context.Arguments[0];</p>
<p>           config.OutputFolder = context.Arguments[1];</p>
<p>           return config;</p>
<p>       }</p>
<p>   }</p>
<p>and the command to run the job will be</p>
<p>mrrunner -dll &#8220;D:\Projects\Xurch\FirstHDInsightApp\FirstHDInsightApp\bin\Debug\FirstHDInsightApp.dll&#8221; &#8212; input/Temp output</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: mouna		</title>
		<link>https://prologika.com/programming-mapreduce-jobs-with-hdinsight-server-for-windows/#comment-159</link>

		<dc:creator><![CDATA[mouna]]></dc:creator>
		<pubDate>Wed, 06 Mar 2013 15:23:37 +0000</pubDate>
		<guid isPermaLink="false">/CS/blogs/blog/archive/2012/12/28/programming-mapreduce-jobs-with-hdinsight-server-for-windows.aspx#comment-159</guid>

					<description><![CDATA[Hello!

when i tried to execute the job:

D:\MyApp\Hadoop\MapReduce\FirstJob\bin\Debug&gt;.\mrlib\mrrunner -dll FirstJob.dll

i get: &quot;ERROR: No classes in DLL derive from MapReduce Job. &quot;

Any idea about the error?

thank you!]]></description>
			<content:encoded><![CDATA[<p>Hello!</p>
<p>when i tried to execute the job:</p>
<p>D:\MyApp\Hadoop\MapReduce\FirstJob\bin\Debug>.\mrlib\mrrunner -dll FirstJob.dll</p>
<p>i get: &#8220;ERROR: No classes in DLL derive from MapReduce Job. &#8221;</p>
<p>Any idea about the error?</p>
<p>thank you!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: leifjohansson		</title>
		<link>https://prologika.com/programming-mapreduce-jobs-with-hdinsight-server-for-windows/#comment-158</link>

		<dc:creator><![CDATA[leifjohansson]]></dc:creator>
		<pubDate>Wed, 06 Feb 2013 13:48:40 +0000</pubDate>
		<guid isPermaLink="false">/CS/blogs/blog/archive/2012/12/28/programming-mapreduce-jobs-with-hdinsight-server-for-windows.aspx#comment-158</guid>

					<description><![CDATA[Hi,

I follow the example, but I never recive the row: INFO streaming.StreamJob: map 100% reduce 100% 

Do anyone know what the problem is? I run the HDInsight on a local windows 7 pc.

some rows from the cmd:
packageJobJar: [c:\Hadoop\GettingStarted\Binaries\MRLib\Microsoft.Hadoop.MapDriv
er.exe, c:\Hadoop\GettingStarted\Binaries\MRLib\Microsoft.Hadoop.ReduceDriver.ex
e, c:\Hadoop\GettingStarted\Binaries\MRLib\Microsoft.Hadoop.CombineDriver.exe, C
:\Slask\Hadoop3\MapReduce\FirstJob\bin\Debug\FirstJob.dll, C:\Slask\Hadoop3\MapR
educe\FirstJob\bin\Debug\Microsoft.Hadoop.MapReduce.dll, C:\Slask\Hadoop3\MapRed
uce\FirstJob\bin\Debug\Newtonsoft.Json.dll] [/C:/Hadoop/hadoop-1.1.0-SNAPSHOT/li
b/hadoop-streaming.jar] C:\Users\s21725\AppData\Local\Temp\streamjob471967588828
6073633.jar tmpDir=null
13/02/06 14:43:11 WARN util.NativeCodeLoader: Unable to load native-hadoop libra
ry for your platform... using builtin-java classes where applicable
13/02/06 14:43:11 WARN snappy.LoadSnappy: Snappy native library not loaded
13/02/06 14:43:11 INFO mapred.FileInputFormat: Total input paths to process : 1
13/02/06 14:43:12 INFO streaming.StreamJob: getLocalDirs(): [c:\hadoop\hdfs\mapr
ed\local]
13/02/06 14:43:12 INFO streaming.StreamJob: Running job: job_201302061258_0006
13/02/06 14:43:12 INFO streaming.StreamJob: To kill this job, run:
13/02/06 14:43:12 INFO streaming.StreamJob: C:\Hadoop\hadoop-1.1.0-SNAPSHOT/bin/
hadoop job  -Dmapred.job.tracker=localhost:50300 -kill job_201302061258_0006
13/02/06 14:43:12 INFO streaming.StreamJob: Tracking URL: http://127.0.0.1:50030
/jobdetails.jsp?jobid=job_201302061258_0006
13/02/06 14:43:13 INFO streaming.StreamJob:  map 0%  reduce 0%
13/02/06 14:43:28 INFO streaming.StreamJob:  map 100%  reduce 0%]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>I follow the example, but I never recive the row: INFO streaming.StreamJob: map 100% reduce 100% </p>
<p>Do anyone know what the problem is? I run the HDInsight on a local windows 7 pc.</p>
<p>some rows from the cmd:<br />
packageJobJar: [c:\Hadoop\GettingStarted\Binaries\MRLib\Microsoft.Hadoop.MapDriv<br />
er.exe, c:\Hadoop\GettingStarted\Binaries\MRLib\Microsoft.Hadoop.ReduceDriver.ex<br />
e, c:\Hadoop\GettingStarted\Binaries\MRLib\Microsoft.Hadoop.CombineDriver.exe, C<br />
:\Slask\Hadoop3\MapReduce\FirstJob\bin\Debug\FirstJob.dll, C:\Slask\Hadoop3\MapR<br />
educe\FirstJob\bin\Debug\Microsoft.Hadoop.MapReduce.dll, C:\Slask\Hadoop3\MapRed<br />
uce\FirstJob\bin\Debug\Newtonsoft.Json.dll] [/C:/Hadoop/hadoop-1.1.0-SNAPSHOT/li<br />
b/hadoop-streaming.jar] C:\Users\s21725\AppData\Local\Temp\streamjob471967588828<br />
6073633.jar tmpDir=null<br />
13/02/06 14:43:11 WARN util.NativeCodeLoader: Unable to load native-hadoop libra<br />
ry for your platform&#8230; using builtin-java classes where applicable<br />
13/02/06 14:43:11 WARN snappy.LoadSnappy: Snappy native library not loaded<br />
13/02/06 14:43:11 INFO mapred.FileInputFormat: Total input paths to process : 1<br />
13/02/06 14:43:12 INFO streaming.StreamJob: getLocalDirs(): [c:\hadoop\hdfs\mapr<br />
ed\local]<br />
13/02/06 14:43:12 INFO streaming.StreamJob: Running job: job_201302061258_0006<br />
13/02/06 14:43:12 INFO streaming.StreamJob: To kill this job, run:<br />
13/02/06 14:43:12 INFO streaming.StreamJob: C:\Hadoop\hadoop-1.1.0-SNAPSHOT/bin/<br />
hadoop job  -Dmapred.job.tracker=localhost:50300 -kill job_201302061258_0006<br />
13/02/06 14:43:12 INFO streaming.StreamJob: Tracking URL: <a href="http://127.0.0.1:50030" rel="nofollow ugc">http://127.0.0.1:50030</a><br />
/jobdetails.jsp?jobid=job_201302061258_0006<br />
13/02/06 14:43:13 INFO streaming.StreamJob:  map 0%  reduce 0%<br />
13/02/06 14:43:28 INFO streaming.StreamJob:  map 100%  reduce 0%</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
