diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt index 5f05376ee9..94b10bf80a 100644 --- a/hadoop-common-project/hadoop-common/CHANGES.txt +++ b/hadoop-common-project/hadoop-common/CHANGES.txt @@ -1099,6 +1099,9 @@ Release 0.22.0 - Unreleased HADOOP-7358. Improve log levels when exceptions caught in RPC handler (Todd Lipcon via shv) + HADOOP-7861. changes2html.pl generates links to HADOOP, HDFS, and MAPREDUCE + jiras. (shv) + OPTIMIZATIONS HADOOP-6884. Add LOG.isDebugEnabled() guard for each LOG.debug(..). diff --git a/hadoop-common-project/hadoop-common/src/main/docs/changes/changes2html.pl b/hadoop-common-project/hadoop-common/src/main/docs/changes/changes2html.pl index 67e1826e11..4431e57e00 100755 --- a/hadoop-common-project/hadoop-common/src/main/docs/changes/changes2html.pl +++ b/hadoop-common-project/hadoop-common/src/main/docs/changes/changes2html.pl @@ -242,7 +242,11 @@ $item =~ s:\s*(\([^)"]+?\))\s*$:
$1:; # Separate attribution $item =~ s:\n{2,}:\n

\n:g; # Keep paragraph breaks - $item =~ s{(?:${jira_url_prefix})?(HADOOP-\d+)} # Link to JIRA + $item =~ s{(?:${jira_url_prefix})?(HADOOP-\d+)} # Link to JIRA Common + {$1}g; + $item =~ s{(?:${jira_url_prefix})?(HDFS-\d+)} # Link to JIRA Hdfs + {$1}g; + $item =~ s{(?:${jira_url_prefix})?(MAPREDUCE-\d+)} # Link to JIRA MR {$1}g; print "

  • $item
  • \n"; } diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/docs/changes/changes2html.pl b/hadoop-hdfs-project/hadoop-hdfs/src/main/docs/changes/changes2html.pl index 67e1826e11..4431e57e00 100755 --- a/hadoop-hdfs-project/hadoop-hdfs/src/main/docs/changes/changes2html.pl +++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/docs/changes/changes2html.pl @@ -242,7 +242,11 @@ $item =~ s:\s*(\([^)"]+?\))\s*$:
    $1:; # Separate attribution $item =~ s:\n{2,}:\n

    \n:g; # Keep paragraph breaks - $item =~ s{(?:${jira_url_prefix})?(HADOOP-\d+)} # Link to JIRA + $item =~ s{(?:${jira_url_prefix})?(HADOOP-\d+)} # Link to JIRA Common + {$1}g; + $item =~ s{(?:${jira_url_prefix})?(HDFS-\d+)} # Link to JIRA Hdfs + {$1}g; + $item =~ s{(?:${jira_url_prefix})?(MAPREDUCE-\d+)} # Link to JIRA MR {$1}g; print "

  • $item
  • \n"; } diff --git a/hadoop-mapreduce-project/src/docs/changes/changes2html.pl b/hadoop-mapreduce-project/src/docs/changes/changes2html.pl index 67e1826e11..4431e57e00 100755 --- a/hadoop-mapreduce-project/src/docs/changes/changes2html.pl +++ b/hadoop-mapreduce-project/src/docs/changes/changes2html.pl @@ -242,7 +242,11 @@ $item =~ s:\s*(\([^)"]+?\))\s*$:
    $1:; # Separate attribution $item =~ s:\n{2,}:\n

    \n:g; # Keep paragraph breaks - $item =~ s{(?:${jira_url_prefix})?(HADOOP-\d+)} # Link to JIRA + $item =~ s{(?:${jira_url_prefix})?(HADOOP-\d+)} # Link to JIRA Common + {$1}g; + $item =~ s{(?:${jira_url_prefix})?(HDFS-\d+)} # Link to JIRA Hdfs + {$1}g; + $item =~ s{(?:${jira_url_prefix})?(MAPREDUCE-\d+)} # Link to JIRA MR {$1}g; print "

  • $item
  • \n"; }