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/19 05:06:26 UTC

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

Jungtaek Lim created STORM-2303:
-----------------------------------

             Summary: [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


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)