Uploaded image for project: 'Apache Storm'
  1. Apache Storm
  2. STORM-3613

storm.py should include lib-worker instead of lib directory in the classpath while submitting a topology

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 2.1.0
    • Fix Version/s: 2.2.0, 2.1.1
    • Component/s: None

      Description

      Currently the classpath is:

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

      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/.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ethanli Ethan Li
                Reporter:
                ethanli Ethan Li
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m