accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jared Winick (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-4040) listSplits fails on IBM JVM
Date Tue, 27 Oct 2015 17:02:27 GMT
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)

Mime
View raw message