[
https://issues.apache.org/jira/browse/STORM-3077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jungtaek Lim resolved STORM-3077.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.2.3
For now I assigned the fix version to 1.2.3 since 1.2.2 RC is ongoing and the
vote is likely to be passed. I'll change the version to 1.2.2 if the vote fails.
> Upgrade Disruptor version to 3.3.11
> -----------------------------------
>
> Key: STORM-3077
> URL: https://issues.apache.org/jira/browse/STORM-3077
> Project: Apache Storm
> Issue Type: Improvement
> Components: storm-core
> Affects Versions: 1.2.1
> Reporter: Jungtaek Lim
> Assignee: Jungtaek Lim
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.2.3
>
> Time Spent: 20m
> Remaining Estimate: 0h
>
> I encountered the version conflict from Disruptor.
> Phoenix 5 depends on Disruptor 3.3.6 which added some new methods, and calls
> the method which is not available from Disruptor 3.3.2 (Storm 1.x), resulting
> NoSuchMethodError.
> Instead of taking a look at all changes from
> https://github.com/LMAX-Exchange/disruptor/compare/3.3.2...3.3.11#diff-dd0cdb682e550bb371997155c2f2995d
> , I just simply checked with https://github.com/trohovsky/japi-checker
> $ java -jar japi-checker-cli/target/japi-checker-cli-0.2.0-SNAPSHOT.jar
> disruptor-3.3.2.jar disruptor-3.3.11.jar
> {code:java}
> WARNING: com/lmax/disruptor/TimeoutBlockingWaitStrategy.java: The
> non-abstract and non-static method toString() has been added
> ERROR: com/lmax/disruptor/SleepingWaitStrategy.java(66): The method
> waitFor(long, com.lmax.disruptor.Sequence, com.lmax.disruptor.Sequence,
> com.lmax.disruptor.SequenceBarrier) is not throwing
> java.lang.InterruptedException anymore
> ERROR: com/lmax/disruptor/util/PaddedLong.java: The class
> com.lmax.disruptor.util.PaddedLong has been removed
> WARNING: com/lmax/disruptor/dsl/Disruptor.java: The non-abstract and
> non-static method
> setDefaultExceptionHandler(com.lmax.disruptor.ExceptionHandler) has been added
> WARNING: com/lmax/disruptor/dsl/Disruptor.java: The non-abstract and
> non-static method <A extends java.lang.Object, B extends java.lang.Object>
> publishEvent(com.lmax.disruptor.EventTranslatorTwoArg, java.lang.Object,
> java.lang.Object) has been added
> WARNING: com/lmax/disruptor/dsl/Disruptor.java: The non-abstract and
> non-static method <A extends java.lang.Object, B extends java.lang.Object, C
> extends java.lang.Object>
> publishEvent(com.lmax.disruptor.EventTranslatorThreeArg, java.lang.Object,
> java.lang.Object, java.lang.Object) has been added
> WARNING: com/lmax/disruptor/dsl/Disruptor.java: The non-abstract and
> non-static method getSequenceValueFor(com.lmax.disruptor.EventHandler) has
> been added
> WARNING: com/lmax/disruptor/dsl/Disruptor.java: The non-abstract and
> non-static method toString() has been added
> WARNING: com/lmax/disruptor/AbstractSequencer.java: The non-abstract and
> non-static method toString() has been added
> ERROR: com/lmax/disruptor/util/MutableLong.java: The class
> com.lmax.disruptor.util.MutableLong has been removed{code}
> Removed files were for testing, and they're moved to test package.
> The utility missed new constructor of Disruptor which raises error, but looks
> like there are no backward incompatibility, so it looks safe to upgrade in
> point of API compatibility view.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)