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 22F46200BF4 for ; Fri, 6 Jan 2017 18:27:44 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 21AEA160B48; Fri, 6 Jan 2017 17:27:44 +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 5AC6E160B49 for ; Fri, 6 Jan 2017 18:27:43 +0100 (CET) Received: (qmail 80695 invoked by uid 500); 6 Jan 2017 17:27:42 -0000 Mailing-List: contact dev-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@accumulo.apache.org Delivered-To: mailing list dev@accumulo.apache.org Received: (qmail 80060 invoked by uid 99); 6 Jan 2017 17:27:41 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Jan 2017 17:27:41 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id AECC3DFC2F; Fri, 6 Jan 2017 17:27:41 +0000 (UTC) From: mikewalch To: dev@accumulo.apache.org Reply-To: dev@accumulo.apache.org References: In-Reply-To: Subject: [GitHub] accumulo-testing pull request #1: Accumulo 4510 Content-Type: text/plain Message-Id: <20170106172741.AECC3DFC2F@git1-us-west.apache.org> Date: Fri, 6 Jan 2017 17:27:41 +0000 (UTC) archived-at: Fri, 06 Jan 2017 17:27:44 -0000 Github user mikewalch commented on a diff in the pull request: https://github.com/apache/accumulo-testing/pull/1#discussion_r94629162 --- Diff: twill/src/main/java/org/apache/accumulo/testing/twill/TestRunner.java --- @@ -0,0 +1,166 @@ +/* + * 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.accumulo.testing.twill; + +import com.beust.jcommander.JCommander; +import com.beust.jcommander.Parameter; +import com.google.common.base.Preconditions; +import org.apache.accumulo.testing.core.TestProps; +import org.apache.hadoop.yarn.conf.YarnConfiguration; +import org.apache.twill.api.ResourceSpecification; +import org.apache.twill.api.TwillApplication; +import org.apache.twill.api.TwillController; +import org.apache.twill.api.TwillRunnerService; +import org.apache.twill.api.TwillSpecification; +import org.apache.twill.ext.BundledJarRunnable; +import org.apache.twill.ext.BundledJarRunner; +import org.apache.twill.yarn.YarnTwillRunnerService; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; + +import java.io.File; +import java.io.FileInputStream; +import java.util.ArrayList; +import java.util.List; +import java.util.Properties; +import java.util.concurrent.ExecutionException; +import java.util.concurrent.atomic.AtomicBoolean; + +public class TestRunner { --- End diff -- I will change --- 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. ---