YARN-5943. Write native services container stderr file to log directory. Contributed by Billie Rinaldi
This commit is contained in:
parent
7b8fd3abd6
commit
4f43ebdb9f
|
@ -193,7 +193,8 @@ public class DockerProviderService extends AbstractProviderService implements
|
|||
"/bin/bash"));
|
||||
|
||||
operation.add("> " + ApplicationConstants.LOG_DIR_EXPANSION_VAR + "/"
|
||||
+ OUT_FILE + " 2>" + ERR_FILE);
|
||||
+ OUT_FILE + " 2>" + ApplicationConstants.LOG_DIR_EXPANSION_VAR + "/"
|
||||
+ ERR_FILE);
|
||||
|
||||
launcher.addCommand(operation.build());
|
||||
|
||||
|
|
Loading…
Reference in New Issue