hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aajis...@apache.org
Subject hadoop git commit: YARN-3572. Correct typos in WritingYarnApplications.md. Contributed by Gabor Liptak.
Date Fri, 08 May 2015 04:26:14 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk b167fe760 -> a521b5095


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


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/a521b509
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/a521b509
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/a521b509

Branch: refs/heads/trunk
Commit: a521b509551e092dfeb38cdf29bb96556d3e0266
Parents: b167fe7
Author: Akira Ajisaka <aajisaka@apache.org>
Authored: Fri May 8 13:24:29 2015 +0900
Committer: Akira Ajisaka <aajisaka@apache.org>
Committed: Fri May 8 13:24:29 2015 +0900

----------------------------------------------------------------------
 hadoop-yarn-project/CHANGES.txt                                  | 3 +++
 .../src/site/markdown/WritingYarnApplications.md                 | 4 ++--
 2 files changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/a521b509/hadoop-yarn-project/CHANGES.txt
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt
index fac3fa5..f8a2cc0 100644
--- a/hadoop-yarn-project/CHANGES.txt
+++ b/hadoop-yarn-project/CHANGES.txt
@@ -339,6 +339,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

http://git-wip-us.apache.org/repos/asf/hadoop/blob/a521b509/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/WritingYarnApplications.md
----------------------------------------------------------------------
diff --git a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/WritingYarnApplications.md
b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/WritingYarnApplications.md
index 03b2964..d5a7a17 100644
--- a/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/WritingYarnApplications.md
+++ b/hadoop-yarn-project/hadoop-yarn/hadoop-yarn-site/src/site/markdown/WritingYarnApplications.md
@@ -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());


Mime
View raw message