YARN-3572. Correct typos in WritingYarnApplications.md. Contributed by Gabor Liptak.
(cherry picked from commit a521b50955
)
This commit is contained in:
parent
170f1b0afd
commit
c7f3dd1eb3
|
@ -294,6 +294,9 @@ Release 2.8.0 - UNRELEASED
|
|||
YARN-1832. Fix wrong MockLocalizerStatus#equals implementation.
|
||||
(Hong Zhiguo via aajisaka)
|
||||
|
||||
YARN-3572. Correct typos in WritingYarnApplications.md.
|
||||
(Gabor Liptak via aajisaka)
|
||||
|
||||
Release 2.7.1 - UNRELEASED
|
||||
|
||||
INCOMPATIBLE CHANGES
|
||||
|
|
|
@ -535,8 +535,8 @@ You can use the LocalResource to add resources to your application request. This
|
|||
|
||||
```java
|
||||
File packageFile = new File(packagePath);
|
||||
Url packageUrl = ConverterUtils.getYarnUrlFromPath(
|
||||
FileContext.getFileContext.makeQualified(new Path(packagePath)));
|
||||
URL packageUrl = ConverterUtils.getYarnUrlFromPath(
|
||||
FileContext.getFileContext().makeQualified(new Path(packagePath)));
|
||||
|
||||
packageResource.setResource(packageUrl);
|
||||
packageResource.setSize(packageFile.length());
|
||||
|
|
Loading…
Reference in New Issue