File tree Expand file tree Collapse file tree 2 files changed +10
-1
lines changed
hadoop-tools/hadoop-streaming/src/main/java/org/apache/hadoop/streaming Expand file tree Collapse file tree 2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -635,6 +635,9 @@ Release 0.23.6 - UNRELEASED
635635 MAPREDUCE-4833. Task can get stuck in FAIL_CONTAINER_CLEANUP (Robert
636636 Parker via jlowe)
637637
638+ MAPREDUCE-4793. Problem with adding resources when using both -files and
639+ -file to hadoop streaming (jlowe)
640+
638641Release 0.23.5 - UNRELEASED
639642
640643 INCOMPATIBLE CHANGES
Original file line number Diff line number Diff line change @@ -306,7 +306,13 @@ void parseArgv() {
306306 throw new IllegalArgumentException (e );
307307 }
308308 }
309- config_ .set ("tmpfiles" , config_ .get ("tmpfiles" , "" ) + fileList );
309+ String tmpFiles = config_ .get ("tmpfiles" , "" );
310+ if (tmpFiles .isEmpty ()) {
311+ tmpFiles = fileList .toString ();
312+ } else {
313+ tmpFiles = tmpFiles + "," + fileList ;
314+ }
315+ config_ .set ("tmpfiles" , tmpFiles );
310316 validate (packageFiles_ );
311317 }
312318
You can’t perform that action at this time.
0 commit comments