hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shahab Yunus <shahab.yu...@gmail.com>
Subject Re: Creation of an empty output directory in hadoop filesystem
Date Wed, 07 Jan 2015 13:18:19 GMT
First try:

You should use @Override annotation before map and reduce methods so they
are actually called.

Like this:
*@Override*
 public void map(LongWritable k,Text v,Context con)throws
IOException,InterruptedException

        {...

Do same for 'reduce' method.

Regards,
Shahab

On Wed, Jan 7, 2015 at 7:58 AM, Vandana kumari <kvandana1992@gmail.com>
wrote:

>
>
> On Wed, Jan 7, 2015 at 4:16 PM, saurabh chhajed <schhajed.iet@gmail.com>
> wrote:
>
>> Can you attach .java file instead of .class ?
>>
>> On Wed, Jan 7, 2015 at 4:04 PM, Vandana kumari <kvandana1992@gmail.com>
>> wrote:
>>
>>> Hello all,
>>>
>>> I had written a kmer mapreduce program in java. There is no error in the
>>> program and while running it creates an output directory in hadoop file
>>> system but that directory is empty.
>>> Please help to resolve this issue.
>>> Input file(test.txt) and kmer.java is attached herewith.
>>> --
>>> Thanks and regards
>>>   Vandana kumari
>>>
>>
>>
>>
>> --
>>
>> [image: --]
>> Saurabh Chhajed
>> [image: http://]saurzcode.in/
>>
>>
>>
>
>
>
> --
> Thanks and regards
>   Vandana kumari
>

Mime
View raw message