Return-Path: X-Original-To: apmail-flink-issues-archive@minotaur.apache.org Delivered-To: apmail-flink-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6EBDA179F3 for ; Tue, 12 May 2015 14:40:00 +0000 (UTC) Received: (qmail 12138 invoked by uid 500); 12 May 2015 14:40:00 -0000 Delivered-To: apmail-flink-issues-archive@flink.apache.org Received: (qmail 12096 invoked by uid 500); 12 May 2015 14:40:00 -0000 Mailing-List: contact issues-help@flink.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flink.apache.org Delivered-To: mailing list issues@flink.apache.org Received: (qmail 12086 invoked by uid 99); 12 May 2015 14:40:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 12 May 2015 14:40:00 +0000 Date: Tue, 12 May 2015 14:40:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-1525) Provide utils to pass -D parameters to UDFs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FLINK-1525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14539916#comment-14539916 ] ASF GitHub Bot commented on FLINK-1525: --------------------------------------- Github user rmetzger commented on the pull request: https://github.com/apache/flink/pull/664#issuecomment-101303549 Yes. But my PR will provide two standard implementations (ParameterTool, Configuration), so only if users want more features they need to implement the config. Users have to cast it in their function, yes. @hsaputra: I renamed the class to `ParameterTool`. ---------------------------------- I think the pull request is in a mergeable state now. I didn't change the examples yet. Thats going to be a big change which I would like to do separately, once this is merged. Please review the PR ... > 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 (v6.3.4#6332)