Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Auto Closed
-
None
-
None
-
None
-
IBM J9 JVM. Accumulo 1.6
Description
I saw a user running on the IBM J9 JVM and the TableOperationsImpl.listSplits never returns as it gets stuck in a loop throwing exceptions. It appears like the root cause is that listSplits calls TableMetadataServicer.getTabletLocations which then calls validateEntries. In here it attempts to cast a Set to a SortedSet
SortedSet<KeyExtent> tabletsKeys = (SortedSet<KeyExtent>) tablets.keySet();
Looks like you can get away with this on a Oracle/OpenJDK JVM as tablets is a TreeMap and its impl returns a NavigableSet which is a SortedSet.