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 8F6B3200BA2 for ; Sun, 16 Oct 2016 13:11:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 8DFD8160AF8; Sun, 16 Oct 2016 11:11:22 +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 06727160ACE for ; Sun, 16 Oct 2016 13:11:21 +0200 (CEST) Received: (qmail 33452 invoked by uid 500); 16 Oct 2016 11:11:21 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 33441 invoked by uid 99); 16 Oct 2016 11:11:21 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Oct 2016 11:11:21 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id D2C2E2C4C70 for ; Sun, 16 Oct 2016 11:11:20 +0000 (UTC) Date: Sun, 16 Oct 2016 11:11:20 +0000 (UTC) From: "Ali Ebrahiminejad (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-12793) invalid jvm type and architecture [cassandra-env.sh] MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 16 Oct 2016 11:11:22 -0000 [ https://issues.apache.org/jira/browse/CASSANDRA-12793?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ali Ebrahiminejad updated CASSANDRA-12793: ------------------------------------------ Priority: Minor (was: Major) Summary: invalid jvm type and architecture [cassandra-env.sh] (was: invalid jvm type and architecture "cassandra-env.sh) > invalid jvm type and architecture [cassandra-env.sh] > ---------------------------------------------------- > > Key: CASSANDRA-12793 > URL: https://issues.apache.org/jira/browse/CASSANDRA-12793 > Project: Cassandra > Issue Type: Bug > Components: Configuration > Environment: ubuntu 16.04, openjdk 1.8.0_91 > Reporter: Ali Ebrahiminejad > Priority: Minor > Fix For: 3.7 > > > In cassandra-env.sh the part that determines the type of JVM we'll be running on doesn't provide the right answer for openjdk 1.8.0_91. > value of java_ver_output is "openjdk version "1.8.0_91" OpenJDK Runtime Environment (build 1.8.0_91-8u91-b14-3ubuntu1~16.04.1-b14) OpenJDK 64-Bit Server VM (build 25.91-b14, mixed mode)", yet the command looks for "java version" (jvm=`echo "$java_ver_output" | grep -A 1 'java version' ...) which does not exist. > I guess it should be replaced with jvm=`echo "$java_ver_output" | grep -A 1 '[openjdk|java] version' | awk 'NR==2 {print $1}'` -- This message was sent by Atlassian JIRA (v6.3.4#6332)