Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
CHUKWA-280. Added end to end test to detect iostat overflow. (Eric Yang)
git-svn-id: https://svn.apache.org/repos/asf/hadoop/chukwa/trunk@783885 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
macroadster committed Jun 11, 2009
1 parent ef9b357 commit 26cbe26adf3b99086e6fbbab2cf0092a932dac34
Show file tree
Hide file tree
Showing 5 changed files with 27,239 additions and 1 deletion.
@@ -4,6 +4,8 @@ Trunk (unreleased changes)

NEW FEATURES

CHUKWA-280. Added end to end test to detect iostat overflow. (Eric Yang)

CHUKWA-194. Backfilling tools. (Jerome Boulon via asrabkin)

CHUKWA-253. Added aggregations by user. (Cheng Zhang via Eric Yang)
@@ -28,6 +30,8 @@ Trunk (unreleased changes)

IMPROVEMENTS

CHUKWA-280. Added end to end test to detect iostat overflow. (Eric Yang)

CHUKWA-278. Improve post process manager and metric data loader to support data loading from pig aggregation. (Eric Yang)

CHUKWA-263. Added ability to configure demux parameters during build time. (Jerome Boulon via Eric Yang)
@@ -464,10 +464,23 @@
<target name="test-chukwa" depends="compile,compile-test" description="Run Chukwa unit tests">
<mkdir dir="${basedir}/var" />
<mkdir dir="${test.build.dir}/var" />
<mkdir dir="${test.build.dir}/var/log" />
<copy todir="${test.build.dir}/var/log">
<fileset dir="${basedir}/test/samples/">
<include name="*.log" />
</fileset>
</copy>
<copy todir="${test.build.dir}">
<fileset dir="${build.dir}">
<include name="chukwa-core*.jar" />
</fileset>
</copy>
<copy file="${basedir}/conf/chukwa-demux-conf.xml.template" tofile="${test.build.dir}/conf/chukwa-demux-conf.xml"></copy>
<junit showoutput="${test.output}" fork="yes" printsummary="withOutAndErr" forkmode="${test.junit.fork.mode}" maxmemory="${test.junit.maxmemory}" dir="${test.build.dir}/classes/" timeout="${test.timeout}" errorProperty="tests.failed" failureProperty="tests.failed">
<classpath refid="testClasspath" />
<env key="CHUKWA_CONF_DIR" value="${test.build.dir}/conf" />
<env key="CHUKWA_DATA_DIR" value="${test.build.dir}/var" />
<env key="CHUKWA_HOME" value="${test.build.dir}" />
<sysproperty key="test.src.dir" value="${test.src.dir}" />
<sysproperty key="test.build.classes" value="${test.build.classes}" />
<formatter type="${test.junit.output.format}" />
@@ -209,7 +209,7 @@ public ChukwaAgent(Configuration conf) throws AlreadyRunningException {
if (checkpointDir != null && !checkpointDir.exists()) {
checkpointDir.mkdirs();
}

tags = conf.get("chukwaAgent.tags", "cluster=\"unknown\"");
DataFactory.getInstance().addDefaultTag(conf.get("chukwaAgent.tags", "cluster=\"unknown\""));

log.info("Config - CHECKPOINT_BASE_NAME: [" + CHECKPOINT_BASE_NAME + "]");

0 comments on commit 26cbe26

Please sign in to comment.