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 AC610200CF3 for ; Wed, 30 Aug 2017 01:31:08 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id A95FA167D6D; Tue, 29 Aug 2017 23:31:08 +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 EF0DF167D69 for ; Wed, 30 Aug 2017 01:31:07 +0200 (CEST) Received: (qmail 84590 invoked by uid 500); 29 Aug 2017 23:31:06 -0000 Mailing-List: contact dev-help@apex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@apex.apache.org Delivered-To: mailing list dev@apex.apache.org Received: (qmail 84578 invoked by uid 99); 29 Aug 2017 23:31:06 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Aug 2017 23:31:06 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id B12DCC58D0 for ; Tue, 29 Aug 2017 23:31:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id oDRlZPuaOp_2 for ; Tue, 29 Aug 2017 23:31:03 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 35F1960D96 for ; Tue, 29 Aug 2017 23:31:02 +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 2022AE0DF4 for ; Tue, 29 Aug 2017 23:31:01 +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 3CA5224157 for ; Tue, 29 Aug 2017 23:31:00 +0000 (UTC) Date: Tue, 29 Aug 2017 23:31:00 +0000 (UTC) From: "ASF GitHub Bot (JIRA)" To: dev@apex.incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (APEXCORE-779) In unit tests Yarn containers must use the same JVM as the test itself. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 29 Aug 2017 23:31:08 -0000 [ https://issues.apache.org/jira/browse/APEXCORE-779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16146332#comment-16146332 ] ASF GitHub Bot commented on APEXCORE-779: ----------------------------------------- PramodSSImmaneni closed pull request #573: APEXCORE-779 In unit tests Yarn containers must use the same JVM as the test itself. URL: https://github.com/apache/apex-core/pull/573 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org > In unit tests Yarn containers must use the same JVM as the test itself. > ----------------------------------------------------------------------- > > Key: APEXCORE-779 > URL: https://issues.apache.org/jira/browse/APEXCORE-779 > Project: Apache Apex Core > Issue Type: Bug > Reporter: Vlad Rozov > Assignee: Vlad Rozov > Priority: Minor > > When Yarn containers are launched from a unit test, they should use "java.home" property to find what java executable to use as JAVA_HOME may point not to a proper location. Using PATH to find java must be avoided, as the default java on a test box may be a wrong version or not a properly configured JVM. -- This message was sent by Atlassian JIRA (v6.4.14#64029)