You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@storm.apache.org by "Ethan Li (Jira)" <ji...@apache.org> on 2020/03/30 15:47:00 UTC

[jira] [Updated] (STORM-3613) storm.py should include lib-worker instead of lib directory in the classpath while submitting a topology

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

Ethan Li updated STORM-3613:
----------------------------
    Description: 
Currently the classpath is:
{code:java}
-cp /<path>/storm/2.2.0/*:/<path>/storm/2.2.0/lib/*:/<path>/storm/2.2.0/extlib/*:/tmp/storm-examples-1.0-SNAPSHOT.jar:/<path>/storm/2.2.0/conf:/<path>/storm/2.2.0/bin: 
{code}

 for "storm jar" command.

It should include lib-worker/ instead of lib/.

This can cause problems because we don't shade deps in lib/ so topology jar could conflict with jars in lib/.

  was:
Currently the classpath is:
{code:java}
-cp /<path>/storm/2.2.0/*:/<path>/storm/2.2.0/lib/*:/<path>/storm/2.2.0/extlib/*:/tmp/storm-examples-1.0-SNAPSHOT.jar:/<path>/storm/2.2.0/conf:/<path>/storm/2.2.0/bin: 
{code}

 for "storm jar" command.

It should include lib-worker/ instead of lib/


> storm.py should include lib-worker instead of lib directory in the classpath while submitting a topology
> --------------------------------------------------------------------------------------------------------
>
>                 Key: STORM-3613
>                 URL: https://issues.apache.org/jira/browse/STORM-3613
>             Project: Apache Storm
>          Issue Type: Bug
>            Reporter: Ethan Li
>            Assignee: Ethan Li
>            Priority: Major
>
> Currently the classpath is:
> {code:java}
> -cp /<path>/storm/2.2.0/*:/<path>/storm/2.2.0/lib/*:/<path>/storm/2.2.0/extlib/*:/tmp/storm-examples-1.0-SNAPSHOT.jar:/<path>/storm/2.2.0/conf:/<path>/storm/2.2.0/bin: 
> {code}
>  for "storm jar" command.
> It should include lib-worker/ instead of lib/.
> This can cause problems because we don't shade deps in lib/ so topology jar could conflict with jars in lib/.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)