You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Jared Winick (JIRA)" <ji...@apache.org> on 2015/10/27 18:02:27 UTC

[jira] [Created] (ACCUMULO-4040) listSplits fails on IBM JVM

Jared Winick created ACCUMULO-4040:
--------------------------------------

             Summary: listSplits fails on IBM JVM
                 Key: ACCUMULO-4040
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-4040
             Project: Accumulo
          Issue Type: Sub-task
          Components: client
         Environment: IBM J9 JVM. Accumulo 1.6
            Reporter: Jared Winick


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
(v6.3.4#6332)