Added: hadoop/chukwa/branches/chukwa-0.1/src/docs/changes/changes2html.pl URL: http://svn.apache.org/viewvc/hadoop/chukwa/branches/chukwa-0.1/src/docs/changes/changes2html.pl?rev=766749&view=auto ============================================================================== --- hadoop/chukwa/branches/chukwa-0.1/src/docs/changes/changes2html.pl (added) +++ hadoop/chukwa/branches/chukwa-0.1/src/docs/changes/changes2html.pl Mon Apr 20 16:49:28 2009 @@ -0,0 +1,284 @@ +#!/usr/bin/perl +# +# Transforms Lucene Java's CHANGES.txt into Changes.html +# +# Input is on STDIN, output is to STDOUT +# +# +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You under the Apache License, Version 2.0 +# (the "License"); you may not use this file except in compliance with +# the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# + +use strict; +use warnings; + +my $jira_url_prefix = 'http://issues.apache.org/jira/browse/'; +my $title = undef; +my $release = undef; +my $sections = undef; +my $items = undef; +my $first_relid = undef; +my $second_relid = undef; +my @releases = (); + +my @lines = <>; # Get all input at once + +# +# Parse input and build hierarchical release structure in @releases +# +for (my $line_num = 0 ; $line_num <= $#lines ; ++$line_num) { + $_ = $lines[$line_num]; + next unless (/\S/); # Skip blank lines + + unless ($title) { + if (/\S/) { + s/^\s+//; # Trim leading whitespace + s/\s+$//; # Trim trailing whitespace + } + $title = $_; + next; + } + + if (/^(Release)|(Trunk)/) { # Release headings + $release = $_; + $sections = []; + push @releases, [ $release, $sections ]; + ($first_relid = lc($release)) =~ s/\s+/_/g if ($#releases == 0); + ($second_relid = lc($release)) =~ s/\s+/_/g if ($#releases == 1); + $items = undef; + next; + } + + # Section heading: 2 leading spaces, words all capitalized + if (/^ ([A-Z]+)\s*/) { + my $heading = $_; + $items = []; + push @$sections, [ $heading, $items ]; + next; + } + + # Handle earlier releases without sections - create a headless section + unless ($items) { + $items = []; + push @$sections, [ undef, $items ]; + } + + my $type; + if (@$items) { # A list item has been encountered in this section before + $type = $items->[0]; # 0th position of items array is list type + } else { + $type = get_list_type($_); + push @$items, $type; + } + + if ($type eq 'numbered') { # The modern items list style + # List item boundary is another numbered item or an unindented line + my $line; + my $item = $_; + $item =~ s/^(\s{0,2}\d+\.\s*)//; # Trim the leading item number + my $leading_ws_width = length($1); + $item =~ s/\s+$//; # Trim trailing whitespace + $item .= "\n"; + + while ($line_num < $#lines + and ($line = $lines[++$line_num]) !~ /^(?:\s{0,2}\d+\.\s*\S|\S)/) { + $line =~ s/^\s{$leading_ws_width}//; # Trim leading whitespace + $line =~ s/\s+$//; # Trim trailing whitespace + $item .= "$line\n"; + } + $item =~ s/\n+\Z/\n/; # Trim trailing blank lines + push @$items, $item; + --$line_num unless ($line_num == $#lines); + } elsif ($type eq 'paragraph') { # List item boundary is a blank line + my $line; + my $item = $_; + $item =~ s/^(\s+)//; + my $leading_ws_width = defined($1) ? length($1) : 0; + $item =~ s/\s+$//; # Trim trailing whitespace + $item .= "\n"; + + while ($line_num < $#lines and ($line = $lines[++$line_num]) =~ /\S/) { + $line =~ s/^\s{$leading_ws_width}//; # Trim leading whitespace + $line =~ s/\s+$//; # Trim trailing whitespace + $item .= "$line\n"; + } + push @$items, $item; + --$line_num unless ($line_num == $#lines); + } else { # $type is one of the bulleted types + # List item boundary is another bullet or a blank line + my $line; + my $item = $_; + $item =~ s/^(\s*$type\s*)//; # Trim the leading bullet + my $leading_ws_width = length($1); + $item =~ s/\s+$//; # Trim trailing whitespace + $item .= "\n"; + + while ($line_num < $#lines + and ($line = $lines[++$line_num]) !~ /^\s*(?:$type|\Z)/) { + $line =~ s/^\s{$leading_ws_width}//; # Trim leading whitespace + $line =~ s/\s+$//; # Trim trailing whitespace + $item .= "$line\n"; + } + push @$items, $item; + --$line_num unless ($line_num == $#lines); + } +} + +# +# Print HTML-ified version to STDOUT +# +print<<"__HTML_HEADER__"; + + + + $title + + + + + + + +Chukwa +

$title

+ +__HTML_HEADER__ + +my $heading; +my $relcnt = 0; +my $header = 'h2'; +for my $rel (@releases) { + if (++$relcnt == 3) { + $header = 'h3'; + print "

"; + print "Older Releases"; + print "

\n"; + print "\n" if ($relcnt > 3); +print "\n\n"; + + +# +# Subroutine: get_list_type +# +# Takes one parameter: +# +# - The first line of a sub-section/point +# +# Returns one scalar: +# +# - The list type: 'numbered'; or one of the bulleted types '-', or '.' or +# 'paragraph'. +# +sub get_list_type { + my $first_list_item_line = shift; + my $type = 'paragraph'; # Default to paragraph type + + if ($first_list_item_line =~ /^\s{0,2}\d+\.\s+\S+/) { + $type = 'numbered'; + } elsif ($first_list_item_line =~ /^\s*([-.])\s+\S+/) { + $type = $1; + } + return $type; +} + +1; Propchange: hadoop/chukwa/branches/chukwa-0.1/src/docs/changes/changes2html.pl ------------------------------------------------------------------------------ svn:executable = * Added: hadoop/chukwa/branches/chukwa-0.1/src/docs/overview.html URL: http://svn.apache.org/viewvc/hadoop/chukwa/branches/chukwa-0.1/src/docs/overview.html?rev=766749&view=auto ============================================================================== --- hadoop/chukwa/branches/chukwa-0.1/src/docs/overview.html (added) +++ hadoop/chukwa/branches/chukwa-0.1/src/docs/overview.html Mon Apr 20 16:49:28 2009 @@ -0,0 +1,30 @@ + + + + + Chukwa + + + +Chukwa is an open source data collection system for monitoring and analyzing large distributed systems. +Chukwa is built on top of the Hadoop distributed filesystem (HDFS) and MapReduce framework and inherits Hadoop's +scalability and robustness. Chukwa also includes a flexible and powerful toolkit for displaying monitoring +and analyzing results, in order to make the best use of this collected data. + + + Added: hadoop/chukwa/branches/chukwa-0.1/src/docs/releasenotes.html URL: http://svn.apache.org/viewvc/hadoop/chukwa/branches/chukwa-0.1/src/docs/releasenotes.html?rev=766749&view=auto ============================================================================== --- hadoop/chukwa/branches/chukwa-0.1/src/docs/releasenotes.html (added) +++ hadoop/chukwa/branches/chukwa-0.1/src/docs/releasenotes.html Mon Apr 20 16:49:28 2009 @@ -0,0 +1 @@ +THIS IS A PLACEHOLDER. REAL RELEASE NOTES WILL BE ADDED TO THIS FILE IN RELEASE BRANCHES. Modified: hadoop/chukwa/trunk/CHANGES.txt URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/CHANGES.txt?rev=766749&r1=766748&r2=766749&view=diff ============================================================================== --- hadoop/chukwa/trunk/CHANGES.txt (original) +++ hadoop/chukwa/trunk/CHANGES.txt Mon Apr 20 16:49:28 2009 @@ -1,5 +1,9 @@ +Chukwa Change Log + Trunk (unreleased changes) +Release 0.1.2 - 2009-04-24 + INCOMPATIBLE CHANGES NEW FEATURES @@ -23,10 +27,10 @@ CHUKWA-45. Added docs to folder structure. (Corinne Chandel via asrabkin) - CHUKWA-13. * Create a new Macro class for macro substitution. (Eric Yang) - * Changed Aggregator to use Macro class. - * Added macro substitution support to Chukwa Charting. - * Added Macro test case. + CHUKWA-13. Create a new Macro class for macro substitution. + Changed Aggregator to use Macro class. + Added macro substitution support to Chukwa Charting. + Added Macro test case. (Eric Yang) HADOOP-4989. Added capability to add scatter chart. (Eric Yang) @@ -66,7 +70,7 @@ CHUKWA-59. Collect HDFS Usage information for users. (Contribute by Cheng Zhang via Eric Yang) - CHUKWA-54. Filters web based input from HICC to prevent cross site scripting attack. + CHUKWA-54. Filters web based input from HICC to prevent cross site scripting attack. (Eric Yang) CHUKWA-31. Added duration logging for SQL statements. (Eric Yang) @@ -76,9 +80,9 @@ HADOOP-5228. Chukwa tests shouldn't write to /tmp. (asrabkin) - HADOOP-5035. * Improved Y axis ticker labelling. (Eric Yang) - * Used TreeMap to build non-time series data for charting. - * Improved handling of "not a number "values. + HADOOP-5035. Improved Y axis ticker labelling. + Used TreeMap to build non-time series data for charting. + Improved handling of "not a number "values. (Eric Yang) HADOOP-5030. Changed RPM install location to the value specified by build.properties file. (Eric Yang) @@ -95,7 +99,11 @@ BUG FIXES - CHUKWA-139. Rewrite collector bail out code. (Cheng Zhang via Eric Yang) + CHUKWA-156. Test Macro testcase changed to use timestamp check for the generated macros. (Eric Yang) + + CHUKWA-154. Handle adaptor exception, close file pointers on failure condition. (Jerome Boulon via Eric Yang) + + CHUKWA-139. Rewrite collector bail out code. (Cheng Zhang via Eric Yang) CHUKWA-119. Removed dependency of ChukwaAgent from ChunkImpl for preventing multiple MetricsContext to be initialized in the same VM. (Jerome Boulon via Eric Yang) @@ -207,7 +215,7 @@ HADOOP-4791. Add build configuration parameter to specify where Chukwa will be installed for RPM packaging. (Eric Yang) -Release 0.19.0 - Unreleased +Release 0.1.1 - Unreleased IMPROVEMENTS Modified: hadoop/chukwa/trunk/build.xml URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/build.xml?rev=766749&r1=766748&r2=766749&view=diff ============================================================================== --- hadoop/chukwa/trunk/build.xml (original) +++ hadoop/chukwa/trunk/build.xml Mon Apr 20 16:49:28 2009 @@ -17,279 +17,360 @@ limitations under the License. --> - + - - - - - - - - - - - - - - - - - - - - - Standalone Mode - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + Standalone Mode + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - + + + + + + + + - - - - - - - - + + + + + + + + + + + + + + + + + + + + - - - + + + - - - - + + + + - + - - - - - - - - - + + + + + + + + + You need Apache Ivy 2.0 or later from http://ant.apache.org/ It could not be loaded from ${ivy_repo_url} - - + + + + + + + - - + + - - - + + - - - - Hadoop Mode - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Reports generated:${build.ivy.report.dir} + + + + + + Hadoop Mode + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - @@ -303,116 +384,110 @@ - - - - - + + + + + - - - + + + - + - - - + + + - + - - - + + + - + - - + + - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - - - - - - - - - - Tests failed! - - - - + + + + + + + + + + + + + + + + + + + + + Tests failed! + + + + - - - - - + + + + + @@ -463,153 +538,153 @@ - + - + - + + + + - - - - + - + - - - + + + - - - - + - + - + - + - - - + + + + + + - - -
- - - -
-
+ + +
+ + + +
+
- + - +
- + - - - - + + + + - - - - + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -623,26 +698,121 @@ - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - + + - - + + @@ -653,49 +823,50 @@ - - - - - - + + + + + + - - - - - - - - + + + + + + + + - + + + + - - - - - + + - - + + - + - - - - - - - - - + + + + + + + + + + @@ -703,38 +874,32 @@ + - + - + - - - - - - - + - - + +
+
+ + + + + + - - - - - - - @@ -765,10 +930,14 @@ - + + + + + - +
@@ -817,51 +986,48 @@
- - - - - + + + + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + - + - - - - - - - - - - - - + + + + + + + + + + + + - - + +
Modified: hadoop/chukwa/trunk/ivy.xml URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/ivy.xml?rev=766749&r1=766748&r2=766749&view=diff ============================================================================== --- hadoop/chukwa/trunk/ivy.xml (original) +++ hadoop/chukwa/trunk/ivy.xml Mon Apr 20 16:49:28 2009 @@ -12,15 +12,23 @@ - + + + + - + + + + @@ -28,6 +36,14 @@ + +