From issues-return-93802-archive-asf-public=cust-asf.ponee.io@ignite.apache.org Wed Mar 20 15:58:08 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 [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id DA74718077A for ; Wed, 20 Mar 2019 16:58:07 +0100 (CET) Received: (qmail 55395 invoked by uid 500); 20 Mar 2019 15:58:07 -0000 Mailing-List: contact issues-help@ignite.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ignite.apache.org Delivered-To: mailing list issues@ignite.apache.org Received: (qmail 55384 invoked by uid 99); 20 Mar 2019 15:58:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 Mar 2019 15:58:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 81BEFC0010 for ; Wed, 20 Mar 2019 15:58:06 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -109.509 X-Spam-Level: X-Spam-Status: No, score=-109.509 tagged_above=-999 required=6.31 tests=[ENV_AND_HDR_SPF_MATCH=-0.5, RCVD_IN_DNSWL_MED=-2.3, SPF_PASS=-0.001, UPPERCASE_50_75=0.791, URIBL_BLOCKED=0.001, USER_IN_DEF_SPF_WL=-7.5, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id I7hWZ1N5dEIU for ; Wed, 20 Mar 2019 15:58:01 +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 53D956114E for ; Wed, 20 Mar 2019 15:58:01 +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 918ADE0D07 for ; Wed, 20 Mar 2019 15:58: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 4CF262459A for ; Wed, 20 Mar 2019 15:58:00 +0000 (UTC) Date: Wed, 20 Mar 2019 15:58:00 +0000 (UTC) From: "Max Shonichev (JIRA)" To: issues@ignite.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (IGNITE-11583) Seems that copypasted code from ignite.sh is irrelevant in control.sh MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Max Shonichev created IGNITE-11583: -------------------------------------- Summary: Seems that copypasted code from ignite.sh is irrelevant in control.sh Key: IGNITE-11583 URL: https://issues.apache.org/jira/browse/IGNITE-11583 Project: Ignite Issue Type: Bug Reporter: Max Shonichev That piece of code in *control.sh* is copypasted from *ignite.sh*, however, as main class for control utility is *CommandHandler* instead of *CommandLineStartup*, the whole _loop until $RESTART_SUCCESS_FILE is created_ logic just never works. {noformat} ERRORCODE="-1" while [ "${ERRORCODE}" -ne "130" ] do if [ "${INTERACTIVE:-}" == "1" ] ; then case $osname in Darwin*) "$JAVA" ${JVM_OPTS} ${QUIET:-} "${DOCK_OPTS}" "${RESTART_SUCCESS_OPT}" ${JMX_MON:-} \ -DIGNITE_UPDATE_NOTIFIER=false -DIGNITE_HOME="${IGNITE_HOME}" \ -DIGNITE_PROG_NAME="$0" ${JVM_XOPTS:-} -cp "${CP}" ${MAIN_CLASS} $@ ;; *) "$JAVA" ${JVM_OPTS} ${QUIET:-} "${RESTART_SUCCESS_OPT}" ${JMX_MON:-} \ -DIGNITE_UPDATE_NOTIFIER=false -DIGNITE_HOME="${IGNITE_HOME}" \ -DIGNITE_PROG_NAME="$0" ${JVM_XOPTS:-} -cp "${CP}" ${MAIN_CLASS} $@ ;; esac else case $osname in Darwin*) "$JAVA" ${JVM_OPTS} ${QUIET:-} "${DOCK_OPTS}" "${RESTART_SUCCESS_OPT}" ${JMX_MON:-} \ -DIGNITE_UPDATE_NOTIFIER=false -DIGNITE_HOME="${IGNITE_HOME}" \ -DIGNITE_PROG_NAME="$0" ${JVM_XOPTS:-} -cp "${CP}" ${MAIN_CLASS} $@ ;; *) "$JAVA" ${JVM_OPTS} ${QUIET:-} "${RESTART_SUCCESS_OPT}" ${JMX_MON:-} \ -DIGNITE_UPDATE_NOTIFIER=false -DIGNITE_HOME="${IGNITE_HOME}" \ -DIGNITE_PROG_NAME="$0" ${JVM_XOPTS:-} -cp "${CP}" ${MAIN_CLASS} $@ ;; esac fi ERRORCODE="$?" if [ ! -f "${RESTART_SUCCESS_FILE}" ] ; then break else rm -f "${RESTART_SUCCESS_FILE}" fi done if [ -f "${RESTART_SUCCESS_FILE}" ] ; then rm -f "${RESTART_SUCCESS_FILE}" fi {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005)