beam-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pabl...@apache.org
Subject [beam] branch master updated: Remove PrettyPrint from job definition
Date Wed, 10 Mar 2021 05:09:11 GMT
This is an automated email from the ASF dual-hosted git repository.

pabloem pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git


The following commit(s) were added to refs/heads/master by this push:
     new 4069f7b  Remove PrettyPrint from job definition
     new 4479ff6  Merge pull request #14122 from [BEAM-11904] Remove PrettyPrint from job
definition
4069f7b is described below

commit 4069f7b2f7321cef9b13e2c450726d0e40563646
Author: Fokko Driesprong <fdriesprong@ebay.com>
AuthorDate: Mon Mar 1 22:35:23 2021 +0100

    Remove PrettyPrint from job definition
---
 .../org/apache/beam/runners/dataflow/DataflowPipelineTranslator.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowPipelineTranslator.java
b/runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowPipelineTranslator.java
index 87c4b60..0fd8d80 100644
--- a/runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowPipelineTranslator.java
+++ b/runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowPipelineTranslator.java
@@ -229,7 +229,7 @@ public class DataflowPipelineTranslator {
   /** Renders a {@link Job} as a string. */
   public static String jobToString(Job job) {
     try {
-      return MAPPER.writerWithDefaultPrettyPrinter().writeValueAsString(job);
+      return MAPPER.writeValueAsString(job);
     } catch (JsonProcessingException exc) {
       throw new IllegalStateException("Failed to render Job as String.", exc);
     }


Mime
View raw message