gt;> If you need to share data, then you need to write it to the file
>>> system and
>>> read it in the configure method on the mapper or reducer.
>>>
>>>
>>> On 5/21/08 3:17 AM, "Deyaa Adranale" <[EMAIL PROTECTED]>
>
and
read it in the configure method on the mapper or reducer.
On 5/21/08 3:17 AM, "Deyaa Adranale" <[EMAIL PROTECTED]>
wrote:
> hello.
> why do we have to set the map and reduce classes as static?
> i need inside them to access some data which is not static. what i
> sh
class normally(accessing non-static data), or refactor Mapper
and Reducer classes to their own files.
Deyaa Adranale wrote:
hello.
why do we have to set the map and reduce classes as static?
i need inside them to access some data which is not static. what i
should do?
non static map or
hello.
why do we have to set the map and reduce classes as static?
i need inside them to access some data which is not static. what i
should do?
non static map or reduce classes generates the following exception:
java.lang.RuntimeException: java.lang.NoSuchMethodException