Chukwa
  1. Chukwa
  2. CHUKWA-482

ChukwaAgent should ignore comments in initial_adaptors

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Invalid
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Data Collection
    • Labels:
      None

      Description

      A comment in the initial_adaptors file (i.e. a line that starts with '#') causes the ChukwaAgent to not start. We should fix that.

        Activity

        Hide
        Bill Graham added a comment -

        Great, this must have been fixed since the ticket was opened.

        Show
        Bill Graham added a comment - Great, this must have been fixed since the ticket was opened.
        Hide
        Ahmed Fathalla added a comment -

        This doesn't seem to be the case, the agent actually ignores adaptors that start with #. Here is the output from agent.log

        2010-12-04 00:29:26,187 WARN main ChukwaAgent - only 'add' command supported in config files; cmd was: # add org.apache.hadoop.chukwa.datacollection.adaptor.ExecAdaptor Iostat 60 /usr/bin/iostat -x -k 55 2 0

        ChukwaAgent doesn't crash.

        Show
        Ahmed Fathalla added a comment - This doesn't seem to be the case, the agent actually ignores adaptors that start with #. Here is the output from agent.log 2010-12-04 00:29:26,187 WARN main ChukwaAgent - only 'add' command supported in config files; cmd was: # add org.apache.hadoop.chukwa.datacollection.adaptor.ExecAdaptor Iostat 60 /usr/bin/iostat -x -k 55 2 0 ChukwaAgent doesn't crash.

          People

          • Assignee:
            Unassigned
            Reporter:
            Bill Graham
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development