[ https://issues.apache.org/jira/browse/YARN-3572?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14526140#comment-14526140 ]
Hadoop QA commented on YARN-3572: --------------------------------- \\ \\ | (/) *{color:green}+1 overall{color}* | \\ \\ || Vote || Subsystem || Runtime || Comment || | {color:blue}0{color} | pre-patch | 3m 7s | Pre-patch trunk compilation is healthy. | | {color:green}+1{color} | @author | 0m 0s | The patch does not contain any @author tags. | | {color:green}+1{color} | release audit | 0m 19s | The applied patch does not increase the total number of release audit warnings. | | {color:green}+1{color} | site | 2m 57s | Site still builds. | | {color:green}+1{color} | whitespace | 0m 0s | The patch has no lines that end in whitespace. | | | | 6m 26s | | \\ \\ || Subsystem || Report/Notes || | Patch URL | http://issues.apache.org/jira/secure/attachment/12730054/YARN-3572.patch | | Optional Tests | site | | git revision | trunk / a319771 | | Java | 1.7.0_55 | | uname | Linux asf903.gq1.ygridcore.net 3.13.0-36-lowlatency #63-Ubuntu SMP PREEMPT Wed Sep 3 21:56:12 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux | | Console output | https://builds.apache.org/job/PreCommit-YARN-Build/7679/console | This message was automatically generated. > Yarn Client documentation needs correction > ------------------------------------------ > > Key: YARN-3572 > URL: https://issues.apache.org/jira/browse/YARN-3572 > Project: Hadoop YARN > Issue Type: Bug > Components: documentation > Affects Versions: 2.7.0 > Reporter: Sandeep Khurana > Priority: Minor > Attachments: YARN-3572.patch > > > The documentation at > http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/WritingYarnApplications.html#Sample_Code > has couple of issues > In FAQ section > Url packageUrl = ConverterUtils.getYarnUrlFromPath( > FileContext.getFileContext.makeQualified(new Path(packagePath))); > 1) Url packageUrl should be changed to URL packageUrl > 2) FileContext.getFileContext should be FileContext.getFileContext() > (brackets at the end) -- This message was sent by Atlassian JIRA (v6.3.4#6332)