flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (FLINK-1525) Provide utils to pass -D parameters to UDFs
Date Fri, 15 May 2015 08:27:00 GMT

    [ https://issues.apache.org/jira/browse/FLINK-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14545145#comment-14545145

ASF GitHub Bot commented on FLINK-1525:

Github user rmetzger commented on a diff in the pull request:

    --- Diff: docs/apis/best_practices.md ---
    @@ -0,0 +1,155 @@
    +title: "Best Practices"
    +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
    +KIND, either express or implied.  See the License for the
    +specific language governing permissions and limitations
    +under the License.
    +<a href="#top"></a>
    +This page contains a collection of best practices for Flink programmers on how to solve
frequently encountered problems.
    +* This will be replaced by the TOC
    +## Parsing command line arguments and passing them around in your Flink application
    +Almost all Flink applications, both batch and streaming rely on external configuration
    +For example for specifying input and output sources (like paths or addresses), also system
parameters (parallelism, runtime configuration) and application specific parameters (often
used within the user functions).
    +Since version 0.9 we are providing a simple called `ParameterTool` to provide at least
some basic tooling for solving these problems.
    +As you'll see Flink is very flexible when it comes to parsing input parameters. You are
free to choose any other framework, like [Commons CLI](https://commons.apache.org/proper/commons-cli/),
[argparse4j](http://argparse4j.sourceforge.net/), or others.
    --- End diff --
    I rephrased it

> Provide utils to pass -D parameters to UDFs 
> --------------------------------------------
>                 Key: FLINK-1525
>                 URL: https://issues.apache.org/jira/browse/FLINK-1525
>             Project: Flink
>          Issue Type: Improvement
>          Components: flink-contrib
>            Reporter: Robert Metzger
>            Assignee: Robert Metzger
>              Labels: starter
> Hadoop users are used to setting job configuration through "-D" on the command line.
> Right now, Flink users have to manually parse command line arguments and pass them to
the methods.
> It would be nice to provide a standard args parser with is taking care of such stuff.

This message was sent by Atlassian JIRA

View raw message