You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "Abhishek Agarwal (JIRA)" <ji...@apache.org> on 2016/03/14 14:18:33 UTC

[jira] [Commented] (STORM-1622) Topology jars referring to shaded classes of older version of storm jar cannot be run in Storm 1.0.0

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

Abhishek Agarwal commented on STORM-1622:
-----------------------------------------

Got this exception while submitting the topology built with 0.9.6 on Storm 1.0.0 cluster
java.lang.NoClassDefFoundError: org/apache/storm/guava/base/Preconditions

[~revans2] what do you think of this? It can be fixed in 1.0.0 using the ClientJarTransformer with trivial changes. I am not sure how it will work for 0.10.0 though. 

> Topology jars referring to shaded classes of older version of storm jar cannot be run in Storm 1.0.0
> ----------------------------------------------------------------------------------------------------
>
>                 Key: STORM-1622
>                 URL: https://issues.apache.org/jira/browse/STORM-1622
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-core
>            Reporter: Abhishek Agarwal
>            Assignee: Abhishek Agarwal
>
> This commit https://github.com/apache/storm/commit/12fdaa01b20eb144bf18a231a05c92873c90aa09
> changes the package names of shaded classes inside the storm.  These classes are shipped inside the maven release of storm-core jar and can depended upon the topology jar. Jar built with older version of storm-core and using this dependency, wouldn't run on newer version of storm cluster. 



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