Sandeep Khurana created YARN-3572:
-------------------------------------
Summary: 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
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)