You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by GitBox <gi...@apache.org> on 2019/10/15 07:25:01 UTC

[GitHub] [flink] aljoscha commented on a change in pull request #9881: [FLINK-14377] Parse Executor-relevant ProgramOptions to ConfigOptions

aljoscha commented on a change in pull request #9881: [FLINK-14377] Parse Executor-relevant ProgramOptions to ConfigOptions
URL: https://github.com/apache/flink/pull/9881#discussion_r334510792
 
 

 ##########
 File path: flink-core/src/main/java/org/apache/flink/configuration/PipelineOptions.java
 ##########
 @@ -0,0 +1,57 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.apache.flink.configuration;
+
+import org.apache.flink.annotation.PublicEvolving;
+
+import static org.apache.flink.configuration.ConfigOptions.key;
+
+/**
+ * The {@link ConfigOption configuration options} for job execution.
+ */
+@PublicEvolving
+public class PipelineOptions {
+
+	public static final String LIST_SEPARATOR = ";";
+
+	/**
+	 * A list of jar files that contain the user-defined function (UDF) classes and all classes used from within the UDFs.
+	 */
+	public static final ConfigOption<String> JARS =
+			key("pipeline.jars")
+					.noDefaultValue()
+					.withDescription("A comma-separated list of the jars to package with the job jars to be sent to the cluster. These have to be valid paths.");
+
+	/**
+	 * A list of URLs that are added to the classpath of each user code classloader of the program.
+	 * Paths must specify a protocol (e.g. file://) and be accessible on all nodes
+	 */
+	public static final ConfigOption<String> CLASSPATHS =
+			key("pipeline.classpaths")
+					.noDefaultValue()
+					.withDescription("A comma-separated list of the classpaths to package with the job jars to be sent to the cluster. These have to be valid URLs.");
 
 Review comment:
   comma-separated or semicolon?

----------------------------------------------------------------
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


With regards,
Apache Git Services