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 CA798200C5E for ; Sat, 8 Apr 2017 01:15:48 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id C92AC160B97; Fri, 7 Apr 2017 23:15:48 +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 1E2C0160BA2 for ; Sat, 8 Apr 2017 01:15:47 +0200 (CEST) Received: (qmail 65436 invoked by uid 500); 7 Apr 2017 23:15:47 -0000 Mailing-List: contact commits-help@beam.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@beam.apache.org Delivered-To: mailing list commits@beam.apache.org Received: (qmail 65420 invoked by uid 99); 7 Apr 2017 23:15:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Apr 2017 23:15:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id E477918F4C2 for ; Fri, 7 Apr 2017 23:15:46 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.201 X-Spam-Level: X-Spam-Status: No, score=-99.201 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id AbFToBlnqTr8 for ; Fri, 7 Apr 2017 23:15:45 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id E5FB55FCBA for ; Fri, 7 Apr 2017 23:15:44 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id F099AE0D20 for ; Fri, 7 Apr 2017 23:15:43 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 8934D24073 for ; Fri, 7 Apr 2017 23:15:42 +0000 (UTC) Date: Fri, 7 Apr 2017 23:15:42 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: commits@beam.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (BEAM-1644) IO ITs: shared directory for kubernetes resources and PipelineOptions? MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Fri, 07 Apr 2017 23:15:49 -0000 [ https://issues.apache.org/jira/browse/BEAM-1644?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15961550#comment-15961550 ] ASF GitHub Bot commented on BEAM-1644: -------------------------------------- GitHub user ssisk opened a pull request: https://github.com/apache/beam/pull/2466 [BEAM-1644] Move travis & jenkins into shared test-infra dir, and move k8s scripts there Be sure to do all of the following to help us incorporate your contribution quickly and easily: - [X] Make sure the PR title is formatted like: `[BEAM-] Description of pull request` - [X] Make sure tests pass via `mvn clean verify`. (Even better, enable Travis-CI on your fork and ensure the whole test matrix passes). - [X] Replace `` in the title with the actual Jira issue number, if there is one. - [X] If this contribution is large, please file an Apache [Individual Contributor License Agreement](https://www.apache.org/licenses/icla.pdf). --- Reasoning is discussed in the bug, but generally, we want to have a language neutral place for these kubernetes scripts to live, and also don't want a million top level directories for test-infra cc @jasonkuster You can merge this pull request into a Git repository by running: $ git pull https://github.com/ssisk/beam create-k8s-home Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/2466.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #2466 ---- commit 617297662e2649f5e38f5c4ae9047f7e9bcecbe8 Author: Stephen Sisk Date: 2017-04-07T22:57:33Z Move travis/jenkins folders in a test-infra folder commit 4cd666c5026ef91121a5cf7c6786c21c8d39d904 Author: Stephen Sisk Date: 2017-04-07T23:06:15Z Move jdbc's postgres k8s scripts into shared k8s dir commit 3468cec566bd24164922c0c063067d90e1c43849 Author: Stephen Sisk Date: 2017-04-07T23:11:19Z Move HIFIO k8s scripts into shared dir ---- > IO ITs: shared directory for kubernetes resources and PipelineOptions? > ---------------------------------------------------------------------- > > Key: BEAM-1644 > URL: https://issues.apache.org/jira/browse/BEAM-1644 > Project: Beam > Issue Type: Bug > Components: sdk-java-extensions > Reporter: Stephen Sisk > Assignee: Stephen Sisk > Fix For: First stable release > > > It is the case that different IOs will be created that connect to the same data stores - HadoopInputFormat in particular uses ES and cassandra, which are also used in their respective IOs as well. Jdbc is likely to have the same type of overlap. > It would be nice to share TestPipelineOption and kubernetes/docker scripts so that we don't need to repeat them in each module. > As such, we should put them in a shared location. It seems like the best bet is to create a new module for test resources. > Proposal: > * Create a new module under io, test-common (? I'm not in love with that name) > * All the IOs with ITs can put their TestPipelineOption classes there > * it will have a kubernetes directory with the various kubernetes scripts in sub directories > Further thoughts: > If 2 IOs need different configurations of a data store, this would make that harder. In that case, there's nothing stopping us from having two different sets of the kubernetes scripts in the shared location -- This message was sent by Atlassian JIRA (v6.3.15#6346)