dawidwys commented on a change in pull request #6266: [FLINK-9682] Add 
setDescription to execution environment and provide description field for the 
rest api
URL: https://github.com/apache/flink/pull/6266#discussion_r219486325
 
 

 ##########
 File path: 
flink-runtime/src/main/java/org/apache/flink/runtime/executiongraph/JobInformation.java
 ##########
 @@ -61,13 +64,15 @@ public JobInformation(
                        SerializedValue<ExecutionConfig> 
serializedExecutionConfig,
                        Configuration jobConfiguration,
                        Collection<PermanentBlobKey> requiredJarFileBlobKeys,
-                       Collection<URL> requiredClasspathURLs) {
+                       Collection<URL> requiredClasspathURLs,
+                       String jobDescription) {
                this.jobId = Preconditions.checkNotNull(jobId);
                this.jobName = Preconditions.checkNotNull(jobName);
                this.serializedExecutionConfig = 
Preconditions.checkNotNull(serializedExecutionConfig);
                this.jobConfiguration = 
Preconditions.checkNotNull(jobConfiguration);
                this.requiredJarFileBlobKeys = 
Preconditions.checkNotNull(requiredJarFileBlobKeys);
                this.requiredClasspathURLs = 
Preconditions.checkNotNull(requiredClasspathURLs);
+               this.jobDescription = jobDescription;
 
 Review comment:
   Please check with `checkNotNull`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to