flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From uce <...@git.apache.org>
Subject [GitHub] flink pull request: [FLINK-2790] [yarn] [ha] Adds high availabilit...
Date Wed, 07 Oct 2015 10:31:49 GMT
Github user uce commented on a diff in the pull request:

    --- Diff: flink-runtime/src/test/scala/org/apache/flink/runtime/testingUtils/TestingJobManagerLike.scala
    @@ -0,0 +1,367 @@
    + * 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, Cancellable, ActorRef}
    +import akka.pattern.{ask, pipe}
    +import org.apache.flink.api.common.JobID
    +import org.apache.flink.runtime.FlinkActor
    +import org.apache.flink.runtime.execution.ExecutionState
    +import org.apache.flink.runtime.jobgraph.JobStatus
    +import org.apache.flink.runtime.jobmanager.JobManager
    +import org.apache.flink.runtime.messages.ExecutionGraphMessages.JobStatusChanged
    +import org.apache.flink.runtime.messages.JobManagerMessages.GrantLeadership
    +import org.apache.flink.runtime.messages.Messages.{Acknowledge, Disconnect}
    +import org.apache.flink.runtime.messages.RegistrationMessages.RegisterTaskManager
    +import org.apache.flink.runtime.messages.TaskManagerMessages.Heartbeat
    +import org.apache.flink.runtime.testingUtils.TestingJobManagerMessages._
    +import org.apache.flink.runtime.testingUtils.TestingMessages.{DisableDisconnect,
    +CheckIfJobRemoved, Alive}
    +import org.apache.flink.runtime.testingUtils.TestingTaskManagerMessages.AccumulatorsChanged
    +import scala.collection.mutable
    +import scala.concurrent.Future
    +import scala.concurrent.duration._
    +import language.postfixOps
    +/** This mixin can be used to decorate a JobManager with messages for testing purpose.
    +  *
    --- End diff --
    empty line

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.

View raw message