You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2021/06/16 00:41:15 UTC
[GitHub] [beam] kw2542 commented on pull request #14945: [BEAM-12453]: Add interface to access I/O topic information for a Samza Beam job and PipelineJsonRenderer to create the JSON Beam DAG
kw2542 commented on pull request #14945:
URL: https://github.com/apache/beam/pull/14945#issuecomment-861924570
Please fix the compilation error as well:
`16:33:00 > Task :runners:samza:compileJava
16:33:00 /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_Commit@2/src/runners/samza/src/main/java/org/apache/beam/runners/samza/renderer/PipelineJsonRenderer.java:52: error: [return.type.incompatible] incompatible types in return.
16:33:00 return null;
16:33:00 ^
16:33:00 type of expression: null (NullType)
16:33:00 method return type: @Initialized @NonNull String
16:33:00 /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_Commit@2/src/runners/samza/src/main/java/org/apache/beam/runners/samza/renderer/PipelineJsonRenderer.java:74: error: [dereference.of.nullable] dereference of possibly-null reference node.getTransform()
16:33:00 escapeString(fullName.isEmpty() ? OUTERMOST_NODE : node.getTransform().getName()));
16:33:00 ^
16:33:00 /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_Commit@2/src/runners/samza/src/main/java/org/apache/beam/runners/samza/renderer/PipelineJsonRenderer.java:103: error: [dereference.of.nullable] dereference of possibly-null reference node.getTransform()
16:33:00 writeLine(" \"shortName\":\"%s\",", escapeString(node.getTransform().getName()));
16:33:00 ^
16:33:00 /home/jenkins/jenkins-slave/workspace/beam_PreCommit_Java_Commit@2/src/runners/samza/src/main/java/org/apache/beam/runners/samza/renderer/PipelineJsonRenderer.java:116: error: [dereference.of.nullable] dereference of possibly-null reference node.getTransform()
16:33:00 if (node.getTransform().getAdditionalInputs().containsKey(key)) {`
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org