[ 
https://issues.apache.org/jira/browse/HADOOP-4164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Xuebing Yan updated HADOOP-4164:
--------------------------------

    Attachment: HADOOP-4164.patch

HADOOP-4164.patch can be applied onto hadoop-0.17.x distribution, i.e. 
http://svn.apache.org/repos/asf/hadoop/core/tags/release-0.17.x/. after this 
patch being applied, there will be a cn subdir under release-0.17.x/src/docs/. 
To build Chinese docs,  
1 follow the README.BUILD in the cn subdir to download the fonts file needed 
for generating the pdf files, 
2 change to release-0.17.x/src/docs/cn, run "forrest"

This patch has been tested through ant test-patch, the following are the 
command line and the output. 

NOTE that all the 4 '@author'  occurrence are in the XSLT files used by fop,  
where it means the 'author' attribute of an xml node, is a kind of XPath 
syntax, not the same meaning as it is in the the Java Docs. So I don't think 
it's a problem, or do you have any good idea to avoid this warning?

command line:

ant -Dpatch.file=../release-0.17.0/HADOOP-4164.patch 
-Dforrest.home=$FORREST_HOME -Dfindbugs.home=$FINDBUGS_HOME test-patch

output:
    
      .... 
    
     [exec] findbugs:
     [exec]     [mkdir] Created dir: 
/home/yanxb/dev/release-0.17.1/build/test/findbugs
     [exec]  [findbugs] Executing findbugs from ant task
     [exec]  [findbugs] Running FindBugs...
     [exec]  [findbugs] The following classes needed for analysis were missing:
     [exec]  [findbugs]   org.apache.tools.ant.Task
     [exec]  [findbugs]   org.apache.tools.ant.DirectoryScanner
     [exec]  [findbugs]   org.apache.tools.ant.types.FileSet
     [exec]  [findbugs]   org.apache.tools.ant.Project
     [exec]  [findbugs]   org.apache.tools.ant.BuildException
     [exec]  [findbugs] Warnings generated: 219
     [exec]  [findbugs] Missing classes: 6
     [exec]  [findbugs] Classes needed for analysis were missing
     [exec]  [findbugs] Output saved to 
/home/yanxb/dev/release-0.17.1/build/test/findbugs/hadoop-findbugs-report.xml
     [exec]      [xslt] Processing 
/home/yanxb/dev/release-0.17.1/build/test/findbugs/hadoop-findbugs-report.xml 
to 
/home/yanxb/dev/release-0.17.1/build/test/findbugs/hadoop-findbugs-report.html
     [exec]      [xslt] Loading stylesheet 
/home/yanxb/findbugs-1.3.5/src/xsl/default.xsl
     [exec] 
     [exec] BUILD SUCCESSFUL
     [exec] Total time: 3 minutes 33 seconds
     [exec] Starting with /home/yanxb/tmp/trunkFindbugsWarnings.xml
     [exec] Merging /home/yanxb/tmp/patchFindbugsWarnings.xml
     [exec] 
     [exec] 
     [exec] 
     [exec] 
     [exec] -1 overall.  
     [exec] 
     [exec]     @author -1.  The patch appears to contain 4 @author tags which 
the Hadoop community has agreed to not allow in code contributions.
     [exec] 
     [exec]     tests included +1.  The patch appears to include 9 new or 
modified tests.
     [exec] 
     [exec]     javadoc +1.  The javadoc tool did not generate any warning 
messages.
     [exec] 
     [exec]     javac +1.  The applied patch does not generate any new javac 
compiler warnings.
     [exec] 
     [exec]     findbugs +1.  The patch does not introduce any new Findbugs 
warnings.
     [exec] 
     [exec] 
     [exec] 
     [exec] 
     [exec] 
======================================================================
     [exec] 
======================================================================
     [exec]     Finished build.
     [exec] 
======================================================================
     [exec] 
======================================================================
     [exec] 
     [exec] 

BUILD FAILED
/home/yanxb/dev/release-0.17.1/build.xml:1135: exec returned: 1

Total time: 10 minutes 37 seconds

> Chinese translation of core docs
> --------------------------------
>
>                 Key: HADOOP-4164
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4164
>             Project: Hadoop Core
>          Issue Type: Wish
>          Components: documentation
>            Reporter: Xuebing Yan
>         Attachments: HADOOP-4164.patch
>
>   Original Estimate: 168h
>  Remaining Estimate: 168h
>
> There are many active Chinese users in Hadoop community, a Chinese 
> translation of the core docs will be very helpful to Hadoop newbies and 
> experienced Hadoop users as well. Our team(Distributed [EMAIL PROTECTED] 
> Search Center) have just worked out a translation of  r0.17.x, now we're 
> updating it to r0.18 and r0.19.
> The translation covers all the files under xdocs directory in the repos. 
> Thus, we will have a Chinese version for each main doc, and leave the API 
> docs, Wiki, FAQ, Mailing Lists, Release Notes, All Changes as is.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to