Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BB9C7200B79 for ; Wed, 24 Aug 2016 05:59:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id BA361160AC3; Wed, 24 Aug 2016 03:59:22 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0F6DD160AAD for ; Wed, 24 Aug 2016 05:59:21 +0200 (CEST) Received: (qmail 38749 invoked by uid 500); 24 Aug 2016 03:59:21 -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 38733 invoked by uid 99); 24 Aug 2016 03:59:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 24 Aug 2016 03:59:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 132762C0154 for ; Wed, 24 Aug 2016 03:59:21 +0000 (UTC) Date: Wed, 24 Aug 2016 03:59:21 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-4363) Implement TaskManager basic startup of all components in java MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 24 Aug 2016 03:59:22 -0000 [ https://issues.apache.org/jira/browse/FLINK-4363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15434147#comment-15434147 ] ASF GitHub Bot commented on FLINK-4363: --------------------------------------- Github user wangzhijiang999 commented on the issue: https://github.com/apache/flink/pull/2400 Hi @mxm , I pushed some modifications based on your comments, including: 1. Make var as final 2. Implement TaskExecutorConfiguration class in java instead of TaskManagerConfiguration in scala, the NetworkEnvironmentConfiguration should also be rewrote by java, but it will cause import mistake in NetworkEnvironment, so retain the current implementation. 3. Replace scala tuple2 by InetAddress, and the scala tuple4 by org.apache.flink.api.java.tuple.Tuple4 4. Remove throws in checkConfigParameter method 5. There are two public static methods "selectNetworkInterfaceAndRunTaskManager" and "startTaskManagerComponentsAndActor" that can be invoked by outside world. For startTaskManagerComponentsAndActor method, the parameters should pass "RPCService" and "HighAvailabilityServices" for constructing "TaskExecutor" directly. For "startTaskManagerComponentsAndActor" method, we will generate the default "RPCService" and "HighAvailabilityServices" or based on configuration. 6. Fix the missing ResourceID parameter description. Thank you for further suggestions! > Implement TaskManager basic startup of all components in java > ------------------------------------------------------------- > > Key: FLINK-4363 > URL: https://issues.apache.org/jira/browse/FLINK-4363 > Project: Flink > Issue Type: Sub-task > Components: Cluster Management > Reporter: Zhijiang Wang > Assignee: Zhijiang Wang > > Similar with current {{TaskManager}},but implement initialization and startup all components in java instead of scala. -- This message was sent by Atlassian JIRA (v6.3.4#6332)