From hdfs-issues-return-270092-archive-asf-public=cust-asf.ponee.io@hadoop.apache.org Mon Jul 1 21:13:05 2019 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by mx-eu-01.ponee.io (Postfix) with SMTP id 829AF180670 for ; Mon, 1 Jul 2019 23:13:05 +0200 (CEST) Received: (qmail 80039 invoked by uid 500); 1 Jul 2019 21:13:04 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 80027 invoked by uid 99); 1 Jul 2019 21:13:04 -0000 Received: from mailrelay1-us-west.apache.org (HELO mailrelay1-us-west.apache.org) (209.188.14.139) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Jul 2019 21:13:04 +0000 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 8D5BCE2CE6 for ; Mon, 1 Jul 2019 21:13:00 +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 48D8126194 for ; Mon, 1 Jul 2019 21:13:00 +0000 (UTC) Date: Mon, 1 Jul 2019 21:13:00 +0000 (UTC) From: "Anu Engineer (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HDDS-1735) Create separate unit and integration test executor dev-support script MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDDS-1735?page=3Dcom.atlassian.= jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D16876= 505#comment-16876505 ]=20 Anu Engineer commented on HDDS-1735: ------------------------------------ {quote}Hadoop already provide it's own pre-commit build validation suites (= yetus) {quote} Can you point me to an instruction =E2=80=93 or documentation that explain = how to even setup Yetus on my Mac ? Ozone avoids all these costly mistakes = that make Hadoop very hard to use. So please don't hamper our efforts by in= sisting that we need to go back to Hadoop tool chain if we have a better ex= perience in place. > Create separate unit and integration test executor dev-support script > --------------------------------------------------------------------- > > Key: HDDS-1735 > URL: https://issues.apache.org/jira/browse/HDDS-1735 > Project: Hadoop Distributed Data Store > Issue Type: Improvement > Reporter: Elek, Marton > Assignee: Elek, Marton > Priority: Major > Labels: pull-request-available > Time Spent: 1h 10m > Remaining Estimate: 0h > > hadoop-ozone/dev-support/checks directory contains multiple helper script= to execute different type of testing (findbugs, rat, unit, build). > They easily define how tests should be executed, with the following contr= act: > =C2=A0* The problems should be printed out to the console > =C2=A0* in case of test failure a non zero exit code should be used > =C2=A0 > The tests are working well (in fact I have some experiments with executin= g these scripts on k8s and argo where all the shell scripts are executed pa= rallel) but we need some update: > =C2=A01. Most important: the unit tests and integration tests can be sepa= rated. Integration tests are more flaky and it's better to have a way to ru= n only the normal unit tests > =C2=A02. As HDDS-1115 introduced a pom.ozone.xml it's better to use them = instead of the magical "am pl hadoop-ozone-dist" trick-- > =C2=A03. To make it possible to run blockade test in containers we should= use - T flag with docker-compose > =C2=A04. checkstyle violations are printed out to the console -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org