Skip to content

Commit

Permalink
[hotfix] Remove redundant backslash in the log of GPUDriver
Browse files Browse the repository at this point in the history
This closes apache#12480.
  • Loading branch information
KarmaGYZ authored and xintongsong committed Jun 5, 2020
1 parent f5ba41f commit ad828cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ private String executeDiscoveryScript(File discoveryScript, long gpuAmount, Stri
if (exitVal != 0) {
final String stdout = stdoutReader.lines().collect(StringBuilder::new, StringBuilder::append, StringBuilder::append).toString();
final String stderr = stderrReader.lines().collect(StringBuilder::new, StringBuilder::append, StringBuilder::append).toString();
LOG.warn("Discovery script exit with {}.\\nSTDOUT: {}\\nSTDERR: {}", exitVal, stdout, stderr);
LOG.warn("Discovery script exit with {}.\nSTDOUT: {}\nSTDERR: {}", exitVal, stdout, stderr);
throw new FlinkException(String.format("Discovery script exit with non-zero return code: %s.", exitVal));
}
Object[] stdout = stdoutReader.lines().toArray();
Expand Down

0 comments on commit ad828cb

Please sign in to comment.