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

Strip out http:// prefix and port from collectors file when used with start-all.sh script

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Scripts
    • Labels:
      None
    • Environment:

      Redhat EL 5.1, Java 6

      Description

      Chukwa documentation ask user to input collector url in this form:

      http://<collector1HostName>:<collector1Port>/
      http://<collector2HostName>:<collector2Port>/
      http://<collector3HostName>:<collector3Port>/

      But the file is also used by the bin/start-all.sh script. When slave.sh tries to ssh to remote system, it does not strip out the url prefix and port number.

        Activity

        Hide
        eyang Eric Yang added a comment -

        Upload Guillermo Pérez's patch to detect http:// preifx and port in the collectors file, and slaves.sh will ssh correctly to the list of collectors.

        Show
        eyang Eric Yang added a comment - Upload Guillermo Pérez's patch to detect http:// preifx and port in the collectors file, and slaves.sh will ssh correctly to the list of collectors.
        Hide
        eyang Eric Yang added a comment -

        I just committed this, thanks Guillermo.

        Show
        eyang Eric Yang added a comment - I just committed this, thanks Guillermo.
        Hide
        hudson Hudson added a comment -
        Show
        hudson Hudson added a comment - Integrated in Chukwa-trunk #330 (See http://hudson.zones.apache.org/hudson/job/Chukwa-trunk/330/ )

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development