accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jared Winick (JIRA)" <>
Subject [jira] [Commented] (ACCUMULO-4040) listSplits fails on IBM JVM
Date Tue, 27 Oct 2015 18:23:27 GMT


Jared Winick commented on ACCUMULO-4040:

I asked and here is the output of java -version

IBM J9 VM (build 2.6, JRE 1.7.0 Linux amd64-64 20121024_126071 (JIT enabled, AOT enabled)

> listSplits fails on IBM JVM
> ---------------------------
>                 Key: ACCUMULO-4040
>                 URL:
>             Project: Accumulo
>          Issue Type: Sub-task
>          Components: client
>         Environment: IBM J9 JVM. Accumulo 1.6
>            Reporter: Jared Winick
>             Fix For: 1.8.0
> 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
> {code:java}
> SortedSet<KeyExtent> tabletsKeys = (SortedSet<KeyExtent>) tablets.keySet();
> {code}
> 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.

This message was sent by Atlassian JIRA

View raw message