hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From z..@apache.org
Subject hadoop git commit: MAPREDUCE-6873. MR Job Submission Fails if MR framework application path not on defaultFS. Contributed by Erik Krogen.
Date Thu, 30 Mar 2017 05:11:03 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk ceab00ac6 -> de7efd268


MAPREDUCE-6873. MR Job Submission Fails if MR framework application path not on defaultFS.
Contributed by Erik Krogen.


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

Branch: refs/heads/trunk
Commit: de7efd2687ccb74608249abf4c83c84a9345ec0a
Parents: ceab00a
Author: Zhe Zhang <zhz@apache.org>
Authored: Wed Mar 29 22:10:55 2017 -0700
Committer: Zhe Zhang <zhz@apache.org>
Committed: Wed Mar 29 22:10:55 2017 -0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/mapreduce/JobSubmitter.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/de7efd26/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/JobSubmitter.java
----------------------------------------------------------------------
diff --git a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/JobSubmitter.java
b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/JobSubmitter.java
index 09edd94..6ade376 100644
--- a/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/JobSubmitter.java
+++ b/hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-core/src/main/java/org/apache/hadoop/mapreduce/JobSubmitter.java
@@ -458,7 +458,7 @@ class JobSubmitter {
       // resolve any symlinks in the URI path so using a "current" symlink
       // to point to a specific version shows the specific version
       // in the distributed cache configuration
-      FileSystem fs = FileSystem.get(conf);
+      FileSystem fs = FileSystem.get(uri, conf);
       Path frameworkPath = fs.makeQualified(
           new Path(uri.getScheme(), uri.getAuthority(), uri.getPath()));
       FileContext fc = FileContext.getFileContext(frameworkPath.toUri(), conf);


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org


Mime
View raw message