YARN-3572. Correct typos in WritingYarnApplications.md. Contributed by Gabor Liptak.

This commit is contained in:
Akira Ajisaka 2015-05-08 13:24:29 +09:00
parent b167fe7605
commit a521b50955
2 changed files with 5 additions and 2 deletions

View File

@ -339,6 +339,9 @@ Release 2.8.0 - UNRELEASED
YARN-1832. Fix wrong MockLocalizerStatus#equals implementation. YARN-1832. Fix wrong MockLocalizerStatus#equals implementation.
(Hong Zhiguo via aajisaka) (Hong Zhiguo via aajisaka)
YARN-3572. Correct typos in WritingYarnApplications.md.
(Gabor Liptak via aajisaka)
Release 2.7.1 - UNRELEASED Release 2.7.1 - UNRELEASED
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -535,8 +535,8 @@ You can use the LocalResource to add resources to your application request. This
```java ```java
File packageFile = new File(packagePath); File packageFile = new File(packagePath);
Url packageUrl = ConverterUtils.getYarnUrlFromPath( URL packageUrl = ConverterUtils.getYarnUrlFromPath(
FileContext.getFileContext.makeQualified(new Path(packagePath))); FileContext.getFileContext().makeQualified(new Path(packagePath)));
packageResource.setResource(packageUrl); packageResource.setResource(packageUrl);
packageResource.setSize(packageFile.length()); packageResource.setSize(packageFile.length());