Skip to content

Commit be4f29c

Browse files
author
Thomas Risberg
committed
SHDP-394 Remove use of mapreduce.framework.name property
1 parent c5e9b53 commit be4f29c

File tree

1 file changed

+1
-1
lines changed
  • spring-hadoop-core/src/main/java/org/springframework/data/hadoop/mapreduce

1 file changed

+1
-1
lines changed

spring-hadoop-core/src/main/java/org/springframework/data/hadoop/mapreduce/JobUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public static RunningJob getRunningJob(Job job) {
136136

137137
try {
138138
Configuration cfg = job.getConfiguration();
139-
cfg.set("mapreduce.framework.name", "yarn");
139+
//cfg.set("mapreduce.framework.name", "yarn");
140140
JobClient jobClient = null;
141141
try {
142142
Constructor<JobClient> constr = JobClient.class.getConstructor(Configuration.class);

0 commit comments

Comments
 (0)