We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fc89170 commit 0736cc6Copy full SHA for 0736cc6
1 file changed
runners/google-cloud-dataflow-java/src/main/java/org/apache/beam/runners/dataflow/DataflowRunner.java
@@ -1526,7 +1526,8 @@ public DataflowPipelineJob run(Pipeline pipeline) {
1526
// enable upload_graph when the graph is too large
1527
byte[] jobGraphBytes = DataflowPipelineTranslator.jobToString(newJob).getBytes(UTF_8);
1528
int jobGraphByteSize = jobGraphBytes.length;
1529
- if (jobGraphByteSize >= CREATE_JOB_REQUEST_LIMIT_BYTES && !useUnifiedWorker(options)) {
+ if (jobGraphByteSize >= CREATE_JOB_REQUEST_LIMIT_BYTES && !useUnifiedWorker(options)
1530
+ && !hasExperiment(options, "upload_graph")) {
1531
ExperimentalOptions.addExperiment(options, "upload_graph");
1532
LOG.info(
1533
"The job graph size ({} in bytes) is larger than {}. Automatically add "
0 commit comments