Uh oh!
There was an error while loading. Please reload this page.
RYA-534 Upgrade to RDF4J 3.2 and RYA-496 Upgrading to Accumulo 1.9.3 - #315
RYA-534 Upgrade to RDF4J 3.2 and RYA-496 Upgrading to Accumulo 1.9.3#315brushworth wants to merge 5 commits into
Conversation
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
This PR has been open for a while already - is there any possibility that it could be merged soon (once the conflicts are resolved)? This is needed for making Rya compatible with Java 11 (see apache/accumulo#942 and https://issues.apache.org/jira/browse/RYA-471) |
DLotts
left a comment
There was a problem hiding this comment.
Thanks for all this hard work. Note that even though I marked this review as "request changes", the requests are not fixes, but asking for more upgrades: latest accumulate and latest rdf4j. Several updates have come thru for both of them over the summer. I am happy taking this as-is since it still a big jump for our dependencies upgrades. :-) So just mark them "resolved" and we'll catch the increments later.
| <accumulo.version>1.6.4</accumulo.version> <!-- Newest: 1.7.0 --> | ||
| <hadoop.version>2.5.0</hadoop.version> <!-- Newest: 2.7.1 --> | ||
| <accumulo.version>1.9.3</accumulo.version> |
There was a problem hiding this comment.
1.9.3 was probably the latest when you did this. How difficult would be to go to Accumulo version to 1.10.0 -- their LTM release? I'm perfectly fine with accepting this as is, as you did lots of working getting this done. Perhaps you have already done this, so I thought I would bring it up.
| </modules> | ||
| <properties> | ||
| <org.eclipse.rdf4j.version>2.3.1</org.eclipse.rdf4j.version> <!-- Newest: 2.3.1 --> | ||
| <org.eclipse.rdf4j.version>3.2.2</org.eclipse.rdf4j.version> |
There was a problem hiding this comment.
Wow, RDF4J is moving fast. It is now at 3.4.3. I believe that you used the latest version when you did this work. How hard would it be to use the latest (again)?
There was a problem hiding this comment.
Haha, its already 3.4.4, working on it now.
| * A value that has been set for an {@link TypedEntity}. | ||
| */ | ||
| @Immutable | ||
| @Contract(threading = ThreadingBehavior.IMMUTABLE) |
There was a problem hiding this comment.
| final QueryRepository queries = new InMemoryQueryRepository( changeLog, SCHEDULE ); | ||
| try { | ||
| queries.startAndWait(); | ||
| queries.startAsync(); |
There was a problem hiding this comment.
Why? Did you have a source article for these changes?
There was a problem hiding this comment.
The old method was removed by Guava, it was previously deprecated: https://guava.dev/releases/16.0/api/docs/com/google/common/util/concurrent/Service.html#startAndWait()
There was a problem hiding this comment.
I didn't bother with awaitRunning() etc for test code because it didn't seem to need it, but I included it for all production code.
…readingBehavior.IMMUTABLE) per the advice at https://dev-aux.com/java/org-apache-http-annotation-threadsafe-class-not-found
RYA-496 Upgrading to Accumulo 1.10.0
a365376 to
dc8896dComparebrushworth
commented
Nov 16, 2020
Changes made |
DLotts
commented
Nov 23, 2020
It looks like org.locationtech.spatial4j has been refactored. I renamed from com.spatial4j to org.locationtech.spatial4j but it seems there is more changes. Can you take a look? Here is more: |
This should all be fixed now. Apologies if merging in the latest master branch changes was a bad idea but I noticed a bug which I discovered had already been fixed by yourself late last year, so I pulled it in. I'm not sure what Rya's merging vs rebasing etc policy might be. |
Description
I've upgrade the RDF4J dependencies to the latest. I've upgraded other dependencies including Accumulo.
This PR needs to be merged before #316
Tests
Yes, tests have been updates where required by dependency changes.
Links
RYA-534
RYA-496
Checklist
People To Reivew
@adinancr
@jdasch
@amihalik