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

allow supervisor log filename to be configurable via ENV variable

    XMLWordPrintableJSON

Details

    • Task
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • None
    • 0.9.6
    • storm-core
    • None

    Description

      Requested feature: allow configuring the supervisor's log filename when launching it via an ENV variable.

      Motivation: The storm-on-mesos project (https://github.com/mesos/storm) relies on multiple Storm Supervisor processes per worker host, where each Supervisor is dedicated to a particular topology. This is part of the framework's functionality of separating topologies from each other. i.e., storm-on-mesos is a multi-tenant system. But before the change requested in this issue, the logs from all supervisors on a worker host will be written into a supervisor log with a single name of supervisor.log. If all logs are written to a common location on the mesos host, then all logs go to the same log file. Instead it would be desirable to separate the supervisor logs per-topology, so that each tenant/topology-owner can peruse the logs that are related to their own topology. Thus this ticket is requesting the ability to configure the supervisor log via an environment variable whilst invoking bin/storm.py (or bin/storm in pre-0.10 storm releases).

      When this ticket is fixed, we will include the topology ID into the supervisor log filename for storm-on-mesos.

      Attachments

        Activity

          People

            erikdw Erik Weathers
            erikdw Erik Weathers
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: