YARN-5943. Write native services container stderr file to log directory. Contributed by Billie Rinaldi

This commit is contained in:
Gour Saha 2016-11-30 10:30:39 -08:00 committed by Jian He
parent 7b8fd3abd6
commit 4f43ebdb9f
1 changed files with 2 additions and 1 deletions

View File

@ -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());