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

storm.cmd does not set -Ddaemon.name, which prevents Log4j2 from logging

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.1.0
    • Fix Version/s: 1.1.1
    • Component/s: storm-core
    • Labels:
      None

      Description

      When trying to start any daemon from storm.cmd the following error occurs:

      main ERROR Unable to create file E:\apache-storm-1.1.1\logs/access-web-${sys:daemon.name}.log java.io.IOException: The filename, directory name, or volume label syntax is incorrect
      

      It looks like the daemon-name variable was introduced at some point, but only the storm.py script was updated. This prevents Storm from logging when started from this script.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                srdo Stig Rohde Døssing
                Reporter:
                srdo Stig Rohde Døssing
              • 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 - 0.5h
                  0.5h