You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Jungtaek Lim (JIRA)" <ji...@apache.org> on 2017/01/23 06:21:26 UTC

[jira] [Resolved] (STORM-2303) [storm-opentsdb] Fix list invariant issue for JDK 7

     [ https://issues.apache.org/jira/browse/STORM-2303?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jungtaek Lim resolved STORM-2303.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 1.1.0
                   2.0.0

Merged into master, 1.x branch.

> [storm-opentsdb] Fix list invariant issue for JDK 7
> ---------------------------------------------------
>
>                 Key: STORM-2303
>                 URL: https://issues.apache.org/jira/browse/STORM-2303
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-opentsdb
>    Affects Versions: 2.0.0, 1.1.0
>            Reporter: Jungtaek Lim
>            Assignee: Jungtaek Lim
>             Fix For: 2.0.0, 1.1.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> From STORM-2297 I also fixed an issue where storm-opentsdb refers TupleOpenTsdbDatapointMapper (implemented one) to List/Iterable, not ITupleOpenTsdbDatapointMapper (interface). 
> I just replaced TupleOpenTsdbDatapointMapper to ITupleOpenTsdbDatapointMapper, and it works with JDK 8, but later I realized it doesn't work with JDK 7 because generic is invariant.
> While I don't know why it worked with JDK 8 (I googled about generic covariance change on JDK 8 but no luck.) it should be fixed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)