Uploaded image for project: 'Chukwa'
  1. Chukwa
  2. CHUKWA-255

Startup scripts should exit after launching the jvm

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.1.2, 0.2.0
    • Fix Version/s: 0.2.0
    • Component/s: Data Collection
    • Labels:
      None
    • Environment:

      Redhat EL 5.1, Java 6

      Description

      On a compute node:

      user 16220 5084 0 Apr10 ? 00:00:00 /bin/bash /grid/0/gs/chukwa/chuwka-0.1.1/bin/exec-data-loader.sh
      --config /grid/0/gs/conf/chukwa-current netstat
      user 16221 5086 0 Apr10 ? 00:00:00 /bin/bash /grid/0/gs/chukwa/chuwka-0.1.1/bin/exec-data-loader.sh
      --config /grid/0/gs/conf/chukwa-current top
      user 16222 5082 0 Apr10 ? 00:00:00 /bin/bash /grid/0/gs/chukwa/chuwka-0.1.1/bin/exec-data-loader.sh
      --config /grid/0/gs/conf/chukwa-current df
      user 16223 5083 0 Apr10 ? 00:00:00 /bin/bash /grid/0/gs/chukwa/chuwka-0.1.1/bin/exec-data-loader.sh
      --config /grid/0/gs/conf/chukwa-current iostat
      user 16224 5081 0 Apr10 ? 00:00:00 /bin/sh /grid/0/gs/chukwa/chuwka-0.1.1/bin/agent.sh --config
      /grid/0/gs/conf/chukwa-current
      user 16229 5085 0 Apr10 ? 00:00:00 /bin/bash /grid/0/gs/chukwa/chuwka-0.1.1/bin/exec-data-loader.sh
      --config /grid/0/gs/conf/chukwa-current sar

      All of them wait on the java pid.

      This can be improved to use exec and having shell script exit.

        Attachments

        1. CHUKWA-255.patch
          10 kB
          Eric Yang

          Activity

            People

            • Assignee:
              eyang Eric Yang
              Reporter:
              eyang Eric Yang
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: