Hey,

I've recently found that the jdo-api version [1] used in Hive is "retired"
based on Datanucleus' product page [2]
Based on the migration guide [3] the main difference seems to be the JDK
version (1.7 vs 1.8), but there's not much more info in terms of backwards
compatibility.

So my first question is if anyone has done any tests regarding this. Would
it be a good idea to upgrade?

Additionally, I've been looking at TxnHandler and CompactionTxnHandler
classes, these only use directSql, which makes testing any changes to them
quite difficult. Are there any plans to introduce JDO/Datanucleus in those
parts?

Also how committed are we to Datanucleus as the JDO/ORM lib? Is there or
were there any plans to switch? I know about Hibernate and MyBatis as
possible alternatives. Sidenote: afaik Hibernate has LGPL license which
might be a problem, is that correct? MyBatis on the other hand is Apache
License 2.0.

I am aware that these changes would be quite enormous, but on the long run
it might give us better performance and testability, also most likely
easier/quicker development in the related parts. My intention is to start a
discussion on the topic.

What are your thoughts?

Best regards,
Zoltan

[1] https://github.com/apache/hive/blob/master/pom.xml#L131
[2] http://www.datanucleus.org/documentation/products.html
[3] http://www.datanucleus.org/products/accessplatform_5_1/migration.html

Reply via email to