Hadoop Common
  1. Hadoop Common
  2. HADOOP-5095

chukwa watchdog does not monitor the system correctly

    Details

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

      Redhat EL 5.1, Java 6

    • Hadoop Flags:
      Reviewed

      Description

      watchdog depends on environment variables to locate pid files correctly. Due to the recent path enhancement for build.xml, watchdog needs to be updated with the correct CHUKWA_LOG_DIR and CHUKWA_CONF_DIR at build time.

      1. HADOOP-5095.patch
        0.8 kB
        Jerome Boulon
      2. HADOOP-5095.patch
        0.8 kB
        Jerome Boulon

        Issue Links

          Activity

          Hide
          Hudson added a comment -
          Show
          Hudson added a comment - Integrated in Hadoop-trunk #756 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/756/ )
          Hide
          Chris Douglas added a comment -

          I committed this. Thanks, Jerome

          Show
          Chris Douglas added a comment - I committed this. Thanks, Jerome
          Hide
          Chris Douglas added a comment -

          +1

          Show
          Chris Douglas added a comment - +1
          Hide
          Jerome Boulon added a comment -

          upload the patch again so that it could be picked up by Hudson

          Show
          Jerome Boulon added a comment - upload the patch again so that it could be picked up by Hudson
          Hide
          Jerome Boulon added a comment -

          Junit failed because of HADOOP-5138

          Show
          Jerome Boulon added a comment - Junit failed because of HADOOP-5138
          Hide
          Hadoop QA added a comment -

          -1 overall. Here are the results of testing the latest attachment
          http://issues.apache.org/jira/secure/attachment/12398831/HADOOP-5095.patch
          against trunk revision 737944.

          +1 @author. The patch does not contain any @author tags.

          -1 tests included. The patch doesn't appear to include any new or modified tests.
          Please justify why no tests are needed for this patch.

          +1 javadoc. The javadoc tool did not generate any warning messages.

          +1 javac. The applied patch does not increase the total number of javac compiler warnings.

          +1 findbugs. The patch does not introduce any new Findbugs warnings.

          +1 Eclipse classpath. The patch retains Eclipse classpath integrity.

          +1 core tests. The patch passed core unit tests.

          -1 contrib tests. The patch failed contrib unit tests.

          Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3762/testReport/
          Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3762/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
          Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3762/artifact/trunk/build/test/checkstyle-errors.html
          Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3762/console

          This message is automatically generated.

          Show
          Hadoop QA added a comment - -1 overall. Here are the results of testing the latest attachment http://issues.apache.org/jira/secure/attachment/12398831/HADOOP-5095.patch against trunk revision 737944. +1 @author. The patch does not contain any @author tags. -1 tests included. The patch doesn't appear to include any new or modified tests. Please justify why no tests are needed for this patch. +1 javadoc. The javadoc tool did not generate any warning messages. +1 javac. The applied patch does not increase the total number of javac compiler warnings. +1 findbugs. The patch does not introduce any new Findbugs warnings. +1 Eclipse classpath. The patch retains Eclipse classpath integrity. +1 core tests. The patch passed core unit tests. -1 contrib tests. The patch failed contrib unit tests. Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3762/testReport/ Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3762/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3762/artifact/trunk/build/test/checkstyle-errors.html Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3762/console This message is automatically generated.
          Hide
          Jerome Boulon added a comment -

          Add --config parameter to watchdog.sh crontab cmd via chukwa-daemon.sh
          This way there's no build time dependency

          Show
          Jerome Boulon added a comment - Add --config parameter to watchdog.sh crontab cmd via chukwa-daemon.sh This way there's no build time dependency
          Hide
          Jerome Boulon added a comment -

          CHUKWA_CONF_DIR can also be passed to watchdog by adding --config to the crontab cmde.
          */5 * * * * $

          {CHUKWA_HOME}/bin/watchdog.sh --config xyz > ${CHUKWA_HOME}

          /var/run/watchdog.out
          where xyz will be the value of $

          {CHUKWA_CONF_DIR}

          Show
          Jerome Boulon added a comment - CHUKWA_CONF_DIR can also be passed to watchdog by adding --config to the crontab cmde. */5 * * * * $ {CHUKWA_HOME}/bin/watchdog.sh --config xyz > ${CHUKWA_HOME} /var/run/watchdog.out where xyz will be the value of $ {CHUKWA_CONF_DIR}

            People

            • Assignee:
              Jerome Boulon
              Reporter:
              Eric Yang
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development