Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-5095

chukwa watchdog does not monitor the system correctly

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.21.0
    • None
    • None
    • Redhat EL 5.1, Java 6

    • 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.

      Attachments

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

        Issue Links

          Activity

            jboulon 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}

            jboulon 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}
            jboulon 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

            jboulon 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
            hadoopqa 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.

            hadoopqa 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.
            jboulon Jerome Boulon added a comment -

            Junit failed because of HADOOP-5138

            jboulon Jerome Boulon added a comment - Junit failed because of HADOOP-5138
            jboulon Jerome Boulon added a comment -

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

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

            I committed this. Thanks, Jerome

            cdouglas Christopher Douglas added a comment - I committed this. Thanks, Jerome
            hudson Hudson added a comment -
            hudson Hudson added a comment - Integrated in Hadoop-trunk #756 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/756/ )

            People

              jboulon Jerome Boulon
              eyang Eric Yang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: