[jira] [Commented] (GORA-431) reuseObjects is Not Used

2015-09-02 Thread Furkan KAMACI (JIRA)

[ 
https://issues.apache.org/jira/browse/GORA-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14727340#comment-14727340
 ] 

Furkan KAMACI commented on GORA-431:


Check here for previous e-mails: http://markmail.org/message/jj5afxbdffk5v4bx

> reuseObjects is Not Used
> 
>
> Key: GORA-431
> URL: https://issues.apache.org/jira/browse/GORA-431
> Project: Apache Gora
>  Issue Type: Bug
>  Components: gora-core
>Reporter: Furkan KAMACI
>Priority: Minor
> Fix For: 0.6.1
>
>
> here is a method as:
> {code}
> public static void setIOSerializations(Configuration conf, boolean 
> reuseObjects)
> {code}
> at GoraMapReduceUtils.java
> However, reuseObjects is never used at that method. On the other hand it is 
> always true at PersistentDeserializer.deserialize()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (GORA-431) reuseObjects is Not Used

2015-09-03 Thread Lewis John McGibbney (JIRA)

[ 
https://issues.apache.org/jira/browse/GORA-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14728622#comment-14728622
 ] 

Lewis John McGibbney commented on GORA-431:
---

What do you propose here? Do you have a patch?

> reuseObjects is Not Used
> 
>
> Key: GORA-431
> URL: https://issues.apache.org/jira/browse/GORA-431
> Project: Apache Gora
>  Issue Type: Bug
>  Components: gora-core
>Reporter: Furkan KAMACI
>Priority: Minor
> Fix For: 0.6.1
>
>
> here is a method as:
> {code}
> public static void setIOSerializations(Configuration conf, boolean 
> reuseObjects)
> {code}
> at GoraMapReduceUtils.java
> However, reuseObjects is never used at that method. On the other hand it is 
> always true at PersistentDeserializer.deserialize()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (GORA-431) reuseObjects is Not Used

2015-09-03 Thread Furkan KAMACI (JIRA)

[ 
https://issues.apache.org/jira/browse/GORA-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14728742#comment-14728742
 ] 

Furkan KAMACI commented on GORA-431:


These are from latest e-mails at mail list:

Me:
bq. Issue for general serialization mechanism for Map Reduce: 
https://issues.apache.org/jira/browse/HADOOP-1986 and here is the main usage of 
that parameter: 
https://avro.apache.org/docs/1.7.6/api/java/org/apache/avro/generic/GenericDatumReader.html#read(D,
 org.apache.avro.io.Decoder) [~renato2099], I've checked Hadoop source codes 
and I see that we have to find an appropriate way to pass that property. We do 
not instantiate that class at Gora. What do you suggest?

Renato:
bq. Thanks for taking the time and looking into this. I agree with you, there 
is something fuzzy going on there. So our persistent classes extent 
org.apache.avro.specific.SpecificRecord and use their specific 
DatumReader/Writer which in turn use the the methods that you are pointing out. 
And yes, we should find a way to pass this into the datastores (which shouldn't 
be too hard) but we should also double check if it makes sense to allow the 
user to set it or not. I mean is it always better to have it set as  
(smaller memory footprint)? or is there any case when using the object between 
serialization that could cause wrong behaviour if we were reusing the object? I 
don't know the actual effect on setting this to true or false. Could you please 
create a simple test where we could see the different behaviour of setting this 
to true or false? That would be great as it'd help everybody understand better 
what was the reasoning for setting this parameter always true.

[~lewismc] I should create a test case for it and according to that test we can 
decide whether to remove it or add as a config.

> reuseObjects is Not Used
> 
>
> Key: GORA-431
> URL: https://issues.apache.org/jira/browse/GORA-431
> Project: Apache Gora
>  Issue Type: Bug
>  Components: gora-core
>Reporter: Furkan KAMACI
>Priority: Minor
> Fix For: 0.6.1
>
>
> here is a method as:
> {code}
> public static void setIOSerializations(Configuration conf, boolean 
> reuseObjects)
> {code}
> at GoraMapReduceUtils.java
> However, reuseObjects is never used at that method. On the other hand it is 
> always true at PersistentDeserializer.deserialize()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (GORA-431) reuseObjects is Not Used

2015-09-03 Thread Furkan KAMACI (JIRA)

[ 
https://issues.apache.org/jira/browse/GORA-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14729848#comment-14729848
 ] 

Furkan KAMACI commented on GORA-431:


[~lewismc] I'm changing Fix Version/s from 0.6.1 to 0.7 due to we need to test 
its effects as [~renato2099] mentioned.

> reuseObjects is Not Used
> 
>
> Key: GORA-431
> URL: https://issues.apache.org/jira/browse/GORA-431
> Project: Apache Gora
>  Issue Type: Bug
>  Components: gora-core
>Reporter: Furkan KAMACI
>Assignee: Furkan KAMACI
>Priority: Minor
> Fix For: 0.6.1
>
>
> here is a method as:
> {code}
> public static void setIOSerializations(Configuration conf, boolean 
> reuseObjects)
> {code}
> at GoraMapReduceUtils.java
> However, reuseObjects is never used at that method. On the other hand it is 
> always true at PersistentDeserializer.deserialize()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (GORA-431) reuseObjects is Not Used

2015-10-29 Thread Furkan KAMACI (JIRA)

[ 
https://issues.apache.org/jira/browse/GORA-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14980961#comment-14980961
 ] 

Furkan KAMACI commented on GORA-431:


[~renato2099], [~lewismc] I found that issue: 
https://issues.apache.org/jira/browse/AVRO-911 which argues to remove reusing 
objects or not. Conclusion is it has some benefits at some cases. 

> reuseObjects is Not Used
> 
>
> Key: GORA-431
> URL: https://issues.apache.org/jira/browse/GORA-431
> Project: Apache Gora
>  Issue Type: Bug
>  Components: gora-core
>Reporter: Furkan KAMACI
>Assignee: Furkan KAMACI
>Priority: Minor
> Fix For: 0.7
>
>
> here is a method as:
> {code}
> public static void setIOSerializations(Configuration conf, boolean 
> reuseObjects)
> {code}
> at GoraMapReduceUtils.java
> However, reuseObjects is never used at that method. On the other hand it is 
> always true at PersistentDeserializer.deserialize()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (GORA-431) reuseObjects is Not Used

2015-10-31 Thread Furkan KAMACI (JIRA)

[ 
https://issues.apache.org/jira/browse/GORA-431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14984175#comment-14984175
 ] 

Furkan KAMACI commented on GORA-431:


There is not any boolean parameter at Avro or Hadoop for object reuse. We will 
need to change the architecture to implement it. Do I miss anything?

> reuseObjects is Not Used
> 
>
> Key: GORA-431
> URL: https://issues.apache.org/jira/browse/GORA-431
> Project: Apache Gora
>  Issue Type: Bug
>  Components: gora-core
>Reporter: Furkan KAMACI
>Assignee: Furkan KAMACI
>Priority: Minor
> Fix For: 0.7
>
>
> here is a method as:
> {code}
> public static void setIOSerializations(Configuration conf, boolean 
> reuseObjects)
> {code}
> at GoraMapReduceUtils.java
> However, reuseObjects is never used at that method. On the other hand it is 
> always true at PersistentDeserializer.deserialize()



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)