Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.7.0
-
Reviewed
Description
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)