Issue Details (XML | Word | Printable)

Key: HADOOP-4726
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Edward J. Yoon
Reporter: Tsz Wo (Nicholas), SZE
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Hadoop Common

documentation typos: "the the"

Created: 25/Nov/08 10:51 PM   Updated: 30/Jan/09 08:14 PM
Return to search
Component/s: documentation
Affects Version/s: 0.18.2
Fix Version/s: 0.18.3

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works 4726_20081202.patch 2008-12-02 07:35 PM Tsz Wo (Nicholas), SZE 119 kB
Text File Licensed for inclusion in ASF works HADOOP-4726.patch 2008-11-26 07:35 AM Edward J. Yoon 17 kB
Text File Licensed for inclusion in ASF works HADOOP-4726_for_0.18.patch 2008-12-01 01:26 PM Edward J. Yoon 15 kB
Text File Licensed for inclusion in ASF works HADOOP-4726_v02.patch 2008-12-02 12:33 AM Edward J. Yoon 14 kB
Text File Licensed for inclusion in ASF works HADOOP-4726_v04.patch 2008-12-02 02:49 AM Edward J. Yoon 15 kB
Issue Links:
Reference
 

Hadoop Flags: Reviewed
Resolution Date: 02/Dec/08 07:35 PM


 Description  « Hide
Try searching "the the" in the documentation files. See http://issues.apache.org/jira/browse/HADOOP-4704?focusedCommentId=12649589#action_12649589 for a list.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Edward J. Yoon added a comment - 25/Nov/08 11:27 PM
Here's another one typos: "intermedate" --> "intermediate"

throw (IOException)new IOException
("Intermedate merge failed").initCause(e);


Edward J. Yoon added a comment - 25/Nov/08 11:34 PM
I would like to work on this issue.

Edward J. Yoon added a comment - 26/Nov/08 01:21 AM
ugh, what is HADOOP-4704 different from this? bug report seems duplicated.

Tsz Wo (Nicholas), SZE added a comment - 26/Nov/08 01:27 AM
HADOOP-4704 is for javadoc. This one is for forrest doc and other documentation like hadoop-default.html.

Tsz Wo (Nicholas), SZE added a comment - 26/Nov/08 01:27 AM
Do you still want to work on this, Edward?

Edward J. Yoon added a comment - 26/Nov/08 01:32 AM
Oh, OK. Let me work on it.

Tsz Wo (Nicholas), SZE added a comment - 26/Nov/08 01:35 AM
Thanks, Edward.

Edward J. Yoon added a comment - 26/Nov/08 07:35 AM
Attach my patch.

Edward J. Yoon added a comment - 26/Nov/08 07:38 AM
Submitting.

Tsz Wo (Nicholas), SZE added a comment - 26/Nov/08 06:28 PM
+1 patch looks good. Could you also post corresponding patches for 0.18 and 0.19?

Hadoop QA added a comment - 28/Nov/08 07:11 PM
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12394719/HADOOP-4726.patch
against trunk revision 721415.

+1 @author. The patch does not contain any @author tags.

+0 tests included. The patch appears to be a documentation patch that doesn't require tests.

+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 failed core unit tests.

+1 contrib tests. The patch passed contrib unit tests.

Test results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3665/testReport/
Findbugs warnings: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3665/artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Checkstyle results: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3665/artifact/trunk/build/test/checkstyle-errors.html
Console output: http://hudson.zones.apache.org/hudson/job/Hadoop-Patch/3665/console

This message is automatically generated.


Edward J. Yoon added a comment - 01/Dec/08 01:23 PM
>> Could you also post corresponding patches for 0.18 and 0.19?

Oh, yes. Let's apply it to the 0.18.3


Edward J. Yoon added a comment - 01/Dec/08 01:26 PM
re-attach the patch for 0.18.3-dev

Tsz Wo (Nicholas), SZE added a comment - 01/Dec/08 07:36 PM
Hi Edward, HADOOP-4726_for_0.18.patch cannot be applied to 0.18. Could you check that?

Edward J. Yoon added a comment - 02/Dec/08 12:33 AM
Oh, sorry. the previous patch is clearly wrong.
please try this patch.

[root@udanax hadoop-0.18]# patch -p0 < HADOOP-4726_v02.patch
patching file conf/hadoop-default.xml
patching file docs/jdiff/hadoop_0.17.0.xml
patching file docs/jdiff/hadoop_0.18.1.xml
patching file docs/jdiff/hadoop_0.18.2.xml
patching file src/docs/src/documentation/content/xdocs/cluster_setup.xml
patching file src/docs/src/documentation/content/xdocs/hdfs_permissions_guide.xml
patching file src/docs/src/documentation/content/xdocs/mapred_tutorial.xml
patching file src/docs/src/documentation/content/xdocs/streaming.xml
[root@udanax hadoop-0.18]#


Tsz Wo (Nicholas), SZE added a comment - 02/Dec/08 01:41 AM
  • Seems there are some EOL changes in streaming.xml. It confuses svn. Tried to apply HADOOP-4726.patch (or HADOOP-4726_v02.patch) and than did "svn diff > a.patch". The resulted a.patch contained the entire streaming.xml file.

Edward J. Yoon added a comment - 02/Dec/08 02:49 AM
Thanks for your review. I fixed them.

[root@udanax hadoop-0.18]# patch -p0 < ~/Desktop/HADOOP-4726_v04.patch
...
+ patching file src/mapred/org/apache/hadoop/mapred/ReduceTask.java
...
[root@udanax hadoop-0.18]# svn diff > a.patch
[root@udanax hadoop-0.18]# cat a.patch

Index: src/docs/src/documentation/content/xdocs/streaming.xml
===================================================================
— src/docs/src/documentation/content/xdocs/streaming.xml (revision 722337)
+++ src/docs/src/documentation/content/xdocs/streaming.xml (working copy)
@@ -48,11 +48,11 @@
....


Tsz Wo (Nicholas), SZE added a comment - 02/Dec/08 07:35 PM
HADOOP-4726.patch also has a eol problem in streaming.xml. I fixed it. 4726_20081202.patch is the patch committed.

Tsz Wo (Nicholas), SZE added a comment - 02/Dec/08 07:35 PM
I just committed this. Thanks, Edward!

Hudson added a comment - 03/Dec/08 02:32 PM
Integrated in Hadoop-trunk #677 (See http://hudson.zones.apache.org/hudson/job/Hadoop-trunk/677/)
. Fix documentation typos "the the". (Edward J. Yoon via szetszwo)