<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: how to access Mapper Counter value in a Reducer? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/how-to-access-Mapper-Counter-value-in-a-Reducer/m-p/2281630#M56099</link>
    <description>Hi,&lt;BR /&gt;   &lt;BR /&gt;   How come you could execute map reduce using talend? Is it by using tLibraryLoad and tJava? Is there any other way?</description>
    <pubDate>Mon, 08 Oct 2012 12:07:39 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2012-10-08T12:07:39Z</dc:date>
    <item>
      <title>how to access Mapper Counter value in a Reducer?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-access-Mapper-Counter-value-in-a-Reducer/m-p/2281629#M56098</link>
      <description>I want to acces the myCounter.my value in reducer :
&lt;BR /&gt;
&lt;BR /&gt; public static class Map extends Mapper&amp;lt;LongWritable, Text, ImmutableBytesWritable, ImmutableBytesWritable&amp;gt;
&lt;BR /&gt; {
&lt;BR /&gt; public static enum myCounter{my};
&lt;BR /&gt; 
&lt;BR /&gt; @Override
&lt;BR /&gt; public void map(LongWritable key, Text value, Context context) 
&lt;BR /&gt; {
&lt;BR /&gt; context.getCounter(myCounter.my).increment(1);
&lt;BR /&gt; context.write( new ImmutableBytesWritable ( ),new ImmutableBytesWritable() );
&lt;BR /&gt; }
&lt;BR /&gt; }
&lt;BR /&gt; 
&lt;BR /&gt; 
&lt;BR /&gt; public static class Reduce extends Reducer&amp;lt;ImmutableBytesWritable, ImmutableBytesWritable, Text, Text&amp;gt;
&lt;BR /&gt; {
&lt;BR /&gt; @Override
&lt;BR /&gt; public void reduce(ImmutableBytesWritable key,Iterable&amp;lt;ImmutableBytesWritable&amp;gt; result,Context context)
&lt;BR /&gt; {
&lt;BR /&gt; 
&lt;BR /&gt; }
&lt;BR /&gt; }
&lt;BR /&gt;
&lt;BR /&gt;how to make it work for new API(hadoop 0.20.0 API) ? 
&lt;BR /&gt;**Or** 
&lt;BR /&gt;I want to know the total number of mapper output ? Is there any better way ? (i am not able to access counter in Reducer:
&lt;BR /&gt;`Group Name-&amp;gt;org.apache.hadoop.mapred.Task$Counter Counter Name-&amp;gt;MAP_OUTPUT_RECORDS`)
&lt;BR /&gt;
&lt;BR /&gt;Thanks</description>
      <pubDate>Sat, 16 Nov 2024 12:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-access-Mapper-Counter-value-in-a-Reducer/m-p/2281629#M56098</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2024-11-16T12:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: how to access Mapper Counter value in a Reducer?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-access-Mapper-Counter-value-in-a-Reducer/m-p/2281630#M56099</link>
      <description>Hi,&lt;BR /&gt;   &lt;BR /&gt;   How come you could execute map reduce using talend? Is it by using tLibraryLoad and tJava? Is there any other way?</description>
      <pubDate>Mon, 08 Oct 2012 12:07:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-access-Mapper-Counter-value-in-a-Reducer/m-p/2281630#M56099</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2012-10-08T12:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: how to access Mapper Counter value in a Reducer?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-access-Mapper-Counter-value-in-a-Reducer/m-p/2281631#M56100</link>
      <description>Hi ,,&lt;BR /&gt;  I want to know is there any way to perform map-reduce for weblog data in talend vig data v.5.2.1&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 22 Jan 2013 09:55:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-access-Mapper-Counter-value-in-a-Reducer/m-p/2281631#M56100</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2013-01-22T09:55:22Z</dc:date>
    </item>
    <item>
      <title>Re: how to access Mapper Counter value in a Reducer?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/how-to-access-Mapper-Counter-value-in-a-Reducer/m-p/2281632#M56101</link>
      <description>Hi 
&lt;BR /&gt;What's the use-case? Talend tries to avoid the need to write map-reduce code through abstraction the transformation into a set of graphical components.
&lt;BR /&gt;Have you reviewed the Talend Youtube big data videos?
&lt;BR /&gt;
&lt;A href="http://www.youtube.com/user/TalendChannel?feature=g-high-u" rel="nofollow noopener noreferrer"&gt;http://www.youtube.com/user/TalendChannel?feature=g-high-u&lt;/A&gt;
&lt;BR /&gt;
&lt;BR /&gt;Ciaran</description>
      <pubDate>Wed, 06 Feb 2013 00:32:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/how-to-access-Mapper-Counter-value-in-a-Reducer/m-p/2281632#M56101</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2013-02-06T00:32:41Z</dc:date>
    </item>
  </channel>
</rss>

