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

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

    [ https://issues.apache.org/jira/browse/ACCUMULO-4040?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14976763#comment-14976763 ] 

Mike Drob commented on ACCUMULO-4040:
-------------------------------------

Do you know what version they were running? And what the error was (i.e. what is the type of {{tablets}} on an IBM JVM)?

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