[jira] [Comment Edited] (HIVE-20765) fetch partitions for txn stats validation in get_aggr_stats with one call

2018-10-19 Thread Vihang Karajgaonkar (JIRA)


[ 
https://issues.apache.org/jira/browse/HIVE-20765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16657583#comment-16657583
 ] 

Vihang Karajgaonkar edited comment on HIVE-20765 at 10/20/18 12:02 AM:
---

Do you know what is difference between jdo-api and datanucleus-jdo? Why do we 
use both?


was (Author: vihangk1):
Do you know what is difference between jdo-api and datanucleus-jdo.version? Why 
do we use both?

> fetch partitions for txn stats validation in get_aggr_stats with one call
> -
>
> Key: HIVE-20765
> URL: https://issues.apache.org/jira/browse/HIVE-20765
> Project: Hive
>  Issue Type: Bug
>Reporter: Sergey Shelukhin
>Assignee: Sergey Shelukhin
>Priority: Major
> Attachments: HIVE-20765.01.patch, HIVE-20765.01.patch, 
> HIVE-20765.02.patch, HIVE-20765.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (HIVE-20765) fetch partitions for txn stats validation in get_aggr_stats with one call

2018-10-19 Thread Sergey Shelukhin (JIRA)


[ 
https://issues.apache.org/jira/browse/HIVE-20765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16657580#comment-16657580
 ] 

Sergey Shelukhin edited comment on HIVE-20765 at 10/20/18 12:00 AM:


According to Oracle docs JDO2 Query does not implement AutoCloseable: 
https://docs.oracle.com/cd/E24329_01/apirefs.1211/e24397/index.html?javax/jdo/Query.html
This is another example for JDO3... 
https://db.apache.org/jdo/api30/apidocs/javax/jdo/Query.html
However, the one we use during compile appears to come from DN javax.jdo 3.2 
(?!!), that does (org/datanucleus/javax.jdo/3.2.0-m3/javax.jdo-3.2.0-m3.jar

I've no idea why DN uses the same package name or what 3.2 is... seems like 
that's what we are running into.


was (Author: sershe):
According to Oracle docs JDO2 Query does not implement AutoCloseable: 
https://docs.oracle.com/cd/E24329_01/apirefs.1211/e24397/index.html?javax/jdo/Query.html
This is another example for JDO3... 
https://db.apache.org/jdo/api30/apidocs/javax/jdo/Query.html
However, the one we use during compile appears to come from DN javax.jdo, that 
does. 

I've no idea why DN uses the same package name... seems like that's what we are 
running into.

> fetch partitions for txn stats validation in get_aggr_stats with one call
> -
>
> Key: HIVE-20765
> URL: https://issues.apache.org/jira/browse/HIVE-20765
> Project: Hive
>  Issue Type: Bug
>Reporter: Sergey Shelukhin
>Assignee: Sergey Shelukhin
>Priority: Major
> Attachments: HIVE-20765.01.patch, HIVE-20765.01.patch, 
> HIVE-20765.02.patch, HIVE-20765.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (HIVE-20765) fetch partitions for txn stats validation in get_aggr_stats with one call

2018-10-19 Thread Sergey Shelukhin (JIRA)


[ 
https://issues.apache.org/jira/browse/HIVE-20765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16657557#comment-16657557
 ] 

Sergey Shelukhin edited comment on HIVE-20765 at 10/19/18 11:42 PM:


Replacing with closeAll fixes this issue. It should still work with close... 
this can be investigated later ;) Seems like other codepaths using this call 
closeAll.


was (Author: sershe):
Replacing with closeAll fixes this issue

> fetch partitions for txn stats validation in get_aggr_stats with one call
> -
>
> Key: HIVE-20765
> URL: https://issues.apache.org/jira/browse/HIVE-20765
> Project: Hive
>  Issue Type: Bug
>Reporter: Sergey Shelukhin
>Assignee: Sergey Shelukhin
>Priority: Major
> Attachments: HIVE-20765.01.patch, HIVE-20765.01.patch, 
> HIVE-20765.02.patch, HIVE-20765.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)


[jira] [Comment Edited] (HIVE-20765) fetch partitions for txn stats validation in get_aggr_stats with one call

2018-10-19 Thread Vihang Karajgaonkar (JIRA)


[ 
https://issues.apache.org/jira/browse/HIVE-20765?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16657534#comment-16657534
 ] 

Vihang Karajgaonkar edited comment on HIVE-20765 at 10/19/18 11:00 PM:
---

hmm .. NoSuchMethodError is very weird. I haven't seen this. How can I 
reproduce this error?


was (Author: vihangk1):
hmm .. NoSuchMethodError is very weird. I haven't seen this. How can I 
reproduce?

> fetch partitions for txn stats validation in get_aggr_stats with one call
> -
>
> Key: HIVE-20765
> URL: https://issues.apache.org/jira/browse/HIVE-20765
> Project: Hive
>  Issue Type: Bug
>Reporter: Sergey Shelukhin
>Assignee: Sergey Shelukhin
>Priority: Major
> Attachments: HIVE-20765.01.patch, HIVE-20765.01.patch, 
> HIVE-20765.patch
>
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)