Ver Fonte

Synchronize the relnotes and CHANGES.txt from 204.

MR-2187, 2314, and 2705 were in the 204 list incorrectly.

Also added the new first pass of the release note script.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-0.20-security@1159713 13f79535-47bb-0310-9956-ffa450edef68
Owen O'Malley há 14 anos atrás
pai
commit
693278ef44
3 ficheiros alterados com 211 adições e 18 exclusões
  1. 17 18
      CHANGES.txt
  2. 130 0
      src/docs/releasenotes.html
  3. 64 0
      src/docs/relnotes.py

+ 17 - 18
CHANGES.txt

@@ -9,6 +9,10 @@ Release 0.20.205.0 - unreleased
 
   BUG FIXES
 
+    MAPREDUCE-2324. Removed usage of broken
+    ResourceEstimator.getEstimatedReduceInputSize to check against usable
+    disk-space on TaskTracker. (Robert Evans via acmurthy) 
+
     MAPREDUCE-2729. Ensure jobs with reduces which can't be launched due to
     slow-start do not count for user-limits. (Sherry Chen via acmurthy) 
 
@@ -40,6 +44,12 @@ Release 0.20.205.0 - unreleased
 
   IMPROVEMENTS
 
+    MAPREDUCE-2187. Reporter sends progress during sort/merge. (Anupam Seth via
+    acmurthy) 
+
+    MAPREDUCE-2705. Implements launch of multiple tasks concurrently.
+    (Thomas Graves via ddas)
+
     MAPREDUCE-7343. Make the number of warnings accepted by test-patch
     configurable to limit false positives. (Thomas Graves via cdouglas)
 
@@ -52,8 +62,8 @@ Release 0.20.205.0 - unreleased
     HADOOP-7314. Add support for throwing UnknownHostException when a host
     doesn't resolve. Needed for MAPREDUCE-2489. (Jeffrey Naisbitt via mattf)
 
-    MAPREDUCE-2494. Make the distributed cache delete entires using LRU priority
-    (Robert Joseph Evans via mahadev)
+    MAPREDUCE-2494. Make the distributed cache delete entires using LRU 
+    priority (Robert Joseph Evans via mahadev)
 
     HADOOP-6889. Make RPC to have an option to timeout - backport to 
     0.20-security. (John George and Ravi Prakash via mattf)
@@ -82,12 +92,8 @@ Release 0.20.204.0 - unreleased
 
   BUG FIXES
 
-    MAPREDUCE-2324. Removed usage of broken
-    ResourceEstimator.getEstimatedReduceInputSize to check against usable
-    disk-space on TaskTracker. (Robert Evans via acmurthy) 
-
-    MAPREDUCE-2621. TestCapacityScheduler fails with "Queue "q1" does not exist".
-    (Sherry Chen via mahadev)
+    MAPREDUCE-2621. TestCapacityScheduler fails with "Queue "q1" does not 
+    exist". (Sherry Chen via mahadev)
 
     HADOOP-7475. Fix hadoop-setup-single-node.sh to reflect new layout. (eyang
     via omalley)
@@ -213,10 +219,10 @@ Release 0.20.204.0 - unreleased
     HDFS-2057. Wait time to terminate the threads causes unit tests to
     take longer time. (Bharath Mundlapudi via suresh)
 
-  IMPROVEMENTS
+    HDFS-2218. Disable TestHdfsProxy.testHdfsProxyInterface in automated test 
+    suite for 0.20-security-204 release. (Matt Foley)
 
-    MAPREDUCE-2187. Reporter sends progress during sort/merge. (Anupam Seth via
-    acmurthy) 
+  IMPROVEMENTS
 
     HADOOP-7144. Expose JMX metrics via JSON servlet. (Robert Joseph Evans via
     cdouglas)
@@ -250,11 +256,6 @@ Release 0.20.204.0 - unreleased
 
     HADOOP-7459. Remove jdk-1.6.0 dependency check from rpm. (omalley)
 
-    MAPREDUCE-2705. Implements launch of multiple tasks concurrently.
-    (Thomas Graves via ddas)
-
-Release 0.20.203.1 - Unreleased
-
     HADOOP-7330. Fix MetricsSourceAdapter to use the value instead of the 
     object. (Luke Lu via omalley)
 
@@ -280,8 +281,6 @@ Release 0.20.203.0 - 2011-5-11
 
     HADOOP-7243. Fix contrib unit tests missing dependencies. (omalley)
 
-    MAPREDUCE-2355. Add a dampner to out-of-band heartbeats. (acmurthy) 
- 
     HADOOP-7190. Add metrics v1 back for backwards compatibility. (omalley)
 
     MAPREDUCE-2360. Remove stripping of scheme, authority from submit dir in 

Diff do ficheiro suprimidas por serem muito extensas
+ 130 - 0
src/docs/releasenotes.html


+ 64 - 0
src/docs/relnotes.py

@@ -0,0 +1,64 @@
+#!/usr/bin/python
+
+# Run this command as:
+#
+# jira.sh -s https://issues.apache.org/jira -u $user -p $pw \
+#   -a getIssueList --search \
+#   "project in (HADOOP,HDFS,MAPREDUCE) and fixVersion = '$vers' and resolution = Fixed" \
+#   | ./relnotes.py > $vers.html
+
+import csv
+import re
+import sys
+
+namePattern = re.compile(r' \([0-9]+\)')
+htmlSpecialPattern = re.compile(r'[&<>\'"\n]')
+quotes = {'<' : '&lt;', '>': '&gt;', '"': '&quot;', "'": '&apos;',
+          '&': '&amp;', '\n': '<br>'}
+
+def clean(str):
+  return re.sub(namePattern, "", str)
+
+def formatComponents(str):
+  str = re.sub(namePattern, '', str).replace("'", "")
+  if str != "":
+    return "(" + str + ")"
+  else:
+    return ""
+    
+def quoteHtmlChar(m):
+  return quotes[m.group(0)]
+
+def quoteHtml(str):
+  return re.sub(htmlSpecialPattern, quoteHtmlChar, str)
+
+reader = csv.reader(sys.stdin, skipinitialspace=True)
+
+# throw away number of issues
+reader.next()
+
+# read the columns
+columns = reader.next()
+
+key = columns.index('Key')
+type = columns.index('Type')
+priority = columns.index('Priority')
+assignee = columns.index('Assignee')
+reporter = columns.index('Reporter')
+summary = columns.index('Summary')
+description = columns.index('Description')
+components = columns.index('Components')
+
+print "<html><body><ul>"
+
+for row in reader:
+  print \
+    '<li> <a href="https://issues.apache.org/jira/browse/%s">%s</a>.\n' \
+    '     %s %s reported by %s and fixed by %s %s<br>\n' \
+    '     <b>%s</b><br>\n' \
+    '     <blockquote>%s</blockquote></li>\n' \
+    % (row[key], row[key], clean(row[priority]), clean(row[type]).lower(), 
+       row[reporter], row[assignee], formatComponents(row[components]),
+       quoteHtml(row[summary]), quoteHtml(row[description]))
+
+print "</ul>\n</body></html>"

Alguns ficheiros não foram mostrados porque muitos ficheiros mudaram neste diff