Uploaded image for project: 'Slider'
  1. Slider
  2. SLIDER-457

Avoid using Application environment variables within other environment variables

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Duplicate
    • Slider 0.50
    • Slider 0.60
    • agent-provider
    • None

    Description

      During container launch the environment variables may get expanded in random order. So if you define a variable such as AGENT_LOG_ROOT = %LOG_DIRS% then it may not expand correctly if LOG_DIRS is expanded later. For example:

      @set AGENT_LOG_ROOT=%LOG_DIRS%
      ....
      @set LOG_DIRS=c:/hadoop/data/hadoop/logs/application_1411325548120_0018/container_1411325548120_0018_01_000010

      Instead, the code should directly use the existing environment variables.

      Attachments

        Activity

          People

            sumitmohanty Sumit Mohanty
            sumitmohanty Sumit Mohanty
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: