[
https://issues.apache.org/jira/browse/YARN-3572?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Allen Wittenauer updated YARN-3572:
-----------------------------------
Labels: BB2015-05-TBR newbie (was: newbie)
> 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
> Assignee: Gabor Liptak
> Priority: Minor
> Labels: BB2015-05-TBR, newbie
> 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)