You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by xt...@apache.org on 2020/06/05 02:47:09 UTC
[flink] branch release-1.11 updated: [hotfix] Remove redundant
backslash in the log of GPUDriver
This is an automated email from the ASF dual-hosted git repository.
xtsong pushed a commit to branch release-1.11
in repository https://gitbox.apache.org/repos/asf/flink.git
The following commit(s) were added to refs/heads/release-1.11 by this push:
new 3f43fc6 [hotfix] Remove redundant backslash in the log of GPUDriver
3f43fc6 is described below
commit 3f43fc6bd31976a279cdce8301199249f5c38dc4
Author: Yangze Guo <ka...@gmail.com>
AuthorDate: Thu Jun 4 17:15:44 2020 +0800
[hotfix] Remove redundant backslash in the log of GPUDriver
This closes #12480.
---
.../src/main/java/org/apache/flink/externalresource/gpu/GPUDriver.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/flink-external-resources/flink-external-resource-gpu/src/main/java/org/apache/flink/externalresource/gpu/GPUDriver.java b/flink-external-resources/flink-external-resource-gpu/src/main/java/org/apache/flink/externalresource/gpu/GPUDriver.java
index 25215e0..9acd8eb 100644
--- a/flink-external-resources/flink-external-resource-gpu/src/main/java/org/apache/flink/externalresource/gpu/GPUDriver.java
+++ b/flink-external-resources/flink-external-resource-gpu/src/main/java/org/apache/flink/externalresource/gpu/GPUDriver.java
@@ -127,7 +127,7 @@ class GPUDriver implements ExternalResourceDriver {
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();