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

The Nimbus storm-local directory is relative to the working directory of the shell executing "storm nimbus"

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.0.0, 1.1.0, 1.0.4
    • Fix Version/s: 2.0.0, 1.2.0, 1.1.2, 1.0.5
    • Component/s: storm-core
    • Labels:
      None
    • Environment:
      Windows 10, Ubuntu 17.04

      Description

      When the storm.local.dir property is set to a relative directory, it should be interpreted as relative to STORM_HOME. This is how it works for "storm supervisor". For "storm nimbus" it is instead relative to the working directory of the shell, so running "storm nimbus" from STORM_HOME/bin will put a storm-local directory in STORM_HOME/bin/storm-local.

        Issue Links

          Activity

          Hide
          kabhwan Jungtaek Lim added a comment -

          Stig Rohde Døssing
          Are you seeing it only in Windows, or other OS like Linux or MacOS as well?

          Show
          kabhwan Jungtaek Lim added a comment - Stig Rohde Døssing Are you seeing it only in Windows, or other OS like Linux or MacOS as well?
          Hide
          Srdo Stig Rohde Døssing added a comment -

          Jungtaek Lim It's also an issue on Linux.

          srdo@srdo-VirtualBox:~$ ./apache-storm-2.0.0-SNAPSHOT/bin/storm nimbus
          

          produces a storm-local directory at ~/storm-local instead of ~/apache-storm-2.0.0-SNAPSHOT/storm-local as expected. Doing the same thing with "storm supervisor" puts the storm-local directory in the right place.

          I don't have a Mac to test, but I'd be surprised if this wasn't an issue there too.

          Show
          Srdo Stig Rohde Døssing added a comment - Jungtaek Lim It's also an issue on Linux. srdo@srdo-VirtualBox:~$ ./apache-storm-2.0.0-SNAPSHOT/bin/storm nimbus produces a storm-local directory at ~/storm-local instead of ~/apache-storm-2.0.0-SNAPSHOT/storm-local as expected. Doing the same thing with "storm supervisor" puts the storm-local directory in the right place. I don't have a Mac to test, but I'd be surprised if this wasn't an issue there too.
          Hide
          kabhwan Jungtaek Lim added a comment -

          Stig Rohde Døssing
          Thanks for clarifying. I guess we have related issue before as well (though the summary is less descriptive) so would like to see two's relevance.

          https://issues.apache.org/jira/browse/STORM-2273

          Show
          kabhwan Jungtaek Lim added a comment - Stig Rohde Døssing Thanks for clarifying. I guess we have related issue before as well (though the summary is less descriptive) so would like to see two's relevance. https://issues.apache.org/jira/browse/STORM-2273
          Hide
          kabhwan Jungtaek Lim added a comment -

          Merged into master, 1.x, 1.1.x, 1.0.x branches.

          Show
          kabhwan Jungtaek Lim added a comment - Merged into master, 1.x, 1.1.x, 1.0.x branches.

            People

            • Assignee:
              kabhwan Jungtaek Lim
              Reporter:
              Srdo Stig Rohde Døssing
            • Votes:
              0 Vote for this issue
              Watchers:
              2 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 - 1h 20m
                1h 20m

                  Development