They are all passed to GoraMapReduceUtils.setIOSerializations(conf, reuseObjects);
at that two examples, am I right? However, it is not used at there. 18 Ağu 2015 00:47 tarihinde "Renato Marroquín Mogrovejo" < [email protected]> yazdı: > Sorry, I pressed enter too fast there. > As pointed out in the JIRA issue, it is for not creating too many objects > while mapping or reducing. You can also find it in the GoraMapper. > It is also used in here: > > > https://github.com/apache/gora/blob/master/gora-core/src/main/java/org/apache/gora/mapreduce/GoraMapper.java#L62 > > 2015-08-17 14:45 GMT-07:00 Renato Marroquín Mogrovejo < > [email protected]>: > > > What about ... > > > https://github.com/apache/gora/blob/master/gora-core/src/main/java/org/apache/gora/mapreduce/GoraReducer.java#L47 > > > > 2015-08-17 14:38 GMT-07:00 Furkan KAMACI <[email protected]>: > > > >> Whether you set *reuseObjects *to true or false, it is not considered at > >> source code.. > >> > >> On Tue, Aug 18, 2015 at 12:35 AM, Furkan KAMACI <[email protected] > > > >> wrote: > >> > >> > A job conf is passed to Spark to store RDD results. I needed a similar > >> > piece of code at my implementation (as like storing sth at data store > >> via > >> > Apache Gora). When I check the code, I thought that *reuseObjects > >> *variable > >> > is not necessary for setIOSerializations method at Apache Gora and > >> wanted > >> > to be sure to make compatible with Gora. > >> > > >> > On Tue, Aug 18, 2015 at 12:27 AM, Henry Saputra < > >> [email protected]> > >> > wrote: > >> > > >> >> I think it was from way back, didn't remember why. > >> >> > >> >> Why do you need to remove it to support Spark? > >> >> > >> >> - Henry > >> >> > >> >> On Mon, Aug 17, 2015 at 1:37 PM, Furkan KAMACI < > [email protected] > >> > > >> >> wrote: > >> >> > Hi All, > >> >> > > >> >> > There is a method as: > >> >> > > >> >> > public static void setIOSerializations(Configuration conf, > >> boolean > >> >> > reuseObjects) > >> >> > > >> >> > at GoraMapReduceUtils.java > >> >> > > >> >> > However, reuseObjects is never used at that method. I've removed it > >> at > >> >> my > >> >> > Spark implementation. Is it necessary for future use? > >> >> > > >> >> > Kind Regards, > >> >> > Furkan KAMACI > >> >> > >> > > >> > > >> > > > > >

