Re: non-static map or reduce classes?

2008-05-27 Thread Ted Dunning
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]> >

Re: non-static map or reduce classes?

2008-05-21 Thread Ted Dunning
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

Re: non-static map or reduce classes?

2008-05-21 Thread Enis Soztutar
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

non-static map or reduce classes?

2008-05-21 Thread Deyaa Adranale
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