Thanks so much! I got how to fix it!
Felipe
On Thu, Jul 25, 2013 at 4:32 PM, Shahab Yunus wrote:
> @Tariq. No need. You understood me correctly :)
>
> Regards,
> Shahab
>
>
> On Thu, Jul 25, 2013 at 3:27 PM, Mohammad Tariq wrote:
>
>> @Shahab : Please correct me if I misunderstood you.
>>
>> War
Probably by that Shahab means that you can use NullWritable as your key
from the Reducer. If you do so your Reducer will just emit the value
without the key. Something like this :
output.collect(NullWritable.get(), new MyWritable(text));
Warm Regards,
Tariq
cloudfront.blogspot.com
On Fri, Jul 2
@Tariq. No need. You understood me correctly :)
Regards,
Shahab
On Thu, Jul 25, 2013 at 3:27 PM, Mohammad Tariq wrote:
> @Shahab : Please correct me if I misunderstood you.
>
> Warm Regards,
> Tariq
> cloudfront.blogspot.com
>
>
> On Fri, Jul 26, 2013 at 12:56 AM, Mohammad Tariq wrote:
>
>> Pr
@Shahab : Please correct me if I misunderstood you.
Warm Regards,
Tariq
cloudfront.blogspot.com
On Fri, Jul 26, 2013 at 12:56 AM, Mohammad Tariq wrote:
> Probably by that Shahab means that you can use NullWritable as your key
> from the Reducer. If you do so your Reducer will just emit the val
If I understood your issue correctly, you want to only output the 'value'
part from the reduce after your job ends. Right?
If that is the case then you can do something like that in the reduce
function.
This will only output value and no key part.
*output.colllect(NullWritable.get(), value);*
(
Sorry, I think I didnt understand,
Does NullWritable go to replate MyWritable? But this is may value. My key
is a Text.
Regards,
Felipe
On Thu, Jul 25, 2013 at 4:07 PM, Shahab Yunus wrote:
> I think uou can use NullWritable as key.
>
> http://hadoop.apache.org/docs/current/api/org/apache/hadoop
I think uou can use NullWritable as key.
http://hadoop.apache.org/docs/current/api/org/apache/hadoop/io/NullWritable.html
Regards,
Shahab
On Thu, Jul 25, 2013 at 2:58 PM, Felipe Gutierrez <
felipe.o.gutier...@gmail.com> wrote:
> I did a MapReduce program to execute a Grep function. I know ther