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 4BE97188B5 for ; Fri, 30 Oct 2015 16:11:37 +0000 (UTC) Received: (qmail 19872 invoked by uid 500); 30 Oct 2015 16:11:27 -0000 Delivered-To: apmail-flink-issues-archive@flink.apache.org Received: (qmail 19818 invoked by uid 500); 30 Oct 2015 16:11:27 -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 19802 invoked by uid 99); 30 Oct 2015 16:11:27 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 30 Oct 2015 16:11:27 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id AA25C2C033A for ; Fri, 30 Oct 2015 16:11:27 +0000 (UTC) Date: Fri, 30 Oct 2015 16:11:27 +0000 (UTC) From: "Chiwan Park (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-2935) Allow scala shell to read yarn properties 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-2935?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14982770#comment-14982770 ] Chiwan Park commented on FLINK-2935: ------------------------------------ I'm working on this now. For this issue, I suggest a commend option "yarn". If the user run scala shell with "yarn" option like {{bin/start-scala-shell.sh yarn}}, the shell will find yarn properties file and be linked with flink in the yarn cluster. Is this approach approvable? > Allow scala shell to read yarn properties > ----------------------------------------- > > Key: FLINK-2935 > URL: https://issues.apache.org/jira/browse/FLINK-2935 > Project: Flink > Issue Type: Improvement > Components: Scala Shell > Affects Versions: 0.9.1 > Reporter: Johannes > Assignee: Chiwan Park > Priority: Minor > Labels: easyfix > > Currently the deployment of flink via yarn and the scala shell are not linked. > When deploying a yarn session the file > bq. org.apache.flink.client.CliFrontend > creates a > bq. .yarn-properties-$username > file with the connection properties. > There should be a way to have the scala shell automatically read this file if wanted as well. -- This message was sent by Atlassian JIRA (v6.3.4#6332)