Re: Passing instance of a class to Mapper

2015-10-14 Thread Datta, Saurav
Thanks very much Chris! -- From: Chris Nauroth Reply-To: "user@hadoop.apache.org<mailto:user@hadoop.apache.org>" Date: Tuesday, October 13, 2015 at 1:42 PM To: "user@hadoop.apache.org<mailto:user@hadoop.apache.org>" Subject: Re: Passing instance of a class to M

Re: Passing instance of a class to Mapper

2015-10-13 Thread Chris Nauroth
mailto:user@hadoop.apache.org>> Subject: Re: Passing instance of a class to Mapper Thanks very much Chris! I will try it out. Do you have any examples showing this ? -- From: Chris Nauroth Reply-To: "user@hadoop.apache.org<mailto:user@hadoop.apache.org>" Date: Tuesday, Oc

Re: Passing instance of a class to Mapper

2015-10-13 Thread Datta, Saurav
apache.org>" Subject: Re: Passing instance of a class to Mapper Hello Saurav, You are correct that it generally is not possible to pass an instance of a class directly to a mapper (or reducer). This is because the mapper tasks execute on arbitrary nodes in the Hadoop cluster, running in diffe

Re: Passing instance of a class to Mapper

2015-10-13 Thread Chris Nauroth
o:sda...@paypal.com>> Reply-To: "user@hadoop.apache.org<mailto:user@hadoop.apache.org>" mailto:user@hadoop.apache.org>> Date: Monday, October 12, 2015 at 11:14 PM To: "user@hadoop.apache.org<mailto:user@hadoop.apache.org>" mailto:user@hadoop.apache.org

Passing instance of a class to Mapper

2015-10-12 Thread Datta, Saurav
Hello, I am trying to pass an instance of a class to a Mapper. However, I understand Hadoop does not allow this. Any workaround to make this happen ? Regards, Saurav Datta Data Engineer| Desk - (408)967-7360| Cell - (408)666-1722