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 22BB317529 for ; Wed, 7 Oct 2015 10:33:27 +0000 (UTC) Received: (qmail 35705 invoked by uid 500); 7 Oct 2015 10:33:26 -0000 Delivered-To: apmail-flink-issues-archive@flink.apache.org Received: (qmail 35656 invoked by uid 500); 7 Oct 2015 10:33:26 -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 35646 invoked by uid 99); 7 Oct 2015 10:33:26 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Oct 2015 10:33:26 +0000 Date: Wed, 7 Oct 2015 10:33:26 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: issues@flink.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FLINK-2790) Add high availability support for Yarn 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-2790?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14946643#comment-14946643 ] ASF GitHub Bot commented on FLINK-2790: --------------------------------------- Github user uce commented on a diff in the pull request: https://github.com/apache/flink/pull/1213#discussion_r41374549 --- Diff: flink-runtime/src/test/scala/org/apache/flink/runtime/testingUtils/TestingTaskManagerLike.scala --- @@ -0,0 +1,222 @@ +/* + * 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.runtime.testingUtils + +import akka.actor.{Terminated, ActorRef} +import org.apache.flink.runtime.FlinkActor +import org.apache.flink.runtime.execution.ExecutionState +import org.apache.flink.runtime.executiongraph.ExecutionAttemptID +import org.apache.flink.runtime.messages.JobManagerMessages.{ResponseLeaderSessionID, +RequestLeaderSessionID} +import org.apache.flink.runtime.messages.Messages.{Acknowledge, Disconnect} +import org.apache.flink.runtime.messages.RegistrationMessages.{AlreadyRegistered, +AcknowledgeRegistration} +import org.apache.flink.runtime.messages.TaskMessages.{UpdateTaskExecutionState, TaskInFinalState} +import org.apache.flink.runtime.taskmanager.TaskManager +import org.apache.flink.runtime.testingUtils.TestingJobManagerMessages.NotifyWhenJobRemoved +import org.apache.flink.runtime.testingUtils.TestingMessages.{DisableDisconnect, +CheckIfJobRemoved, Alive} +import org.apache.flink.runtime.testingUtils.TestingTaskManagerMessages._ + +import scala.concurrent.duration._ + +import language.postfixOps + +/** This mixin can be used to decorate a TaskManager with messages for testing purposes. + * --- End diff -- empty line > Add high availability support for Yarn > -------------------------------------- > > Key: FLINK-2790 > URL: https://issues.apache.org/jira/browse/FLINK-2790 > Project: Flink > Issue Type: Sub-task > Components: JobManager, TaskManager > Reporter: Till Rohrmann > Fix For: 0.10 > > > Add master high availability support for Yarn. The idea is to let Yarn restart a failed application master in a new container. For that, we set the number of application retries to something greater than 1. > From version 2.4.0 onwards, it is possible to reuse already started containers for the TaskManagers, thus, avoiding unnecessary restart delays. > From version 2.6.0 onwards, it is possible to specify an interval in which the number of application attempts have to be exceeded in order to fail the job. This will prevent long running jobs from eventually depleting all available application attempts. -- This message was sent by Atlassian JIRA (v6.3.4#6332)