Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1041A6289 for ; Fri, 29 Jul 2011 16:24:42 +0000 (UTC) Received: (qmail 90747 invoked by uid 500); 29 Jul 2011 16:14:47 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 90716 invoked by uid 500); 29 Jul 2011 16:14:43 -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 90691 invoked by uid 99); 29 Jul 2011 16:14:37 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jul 2011 16:14:37 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Jul 2011 16:14:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F086694D6D for ; Fri, 29 Jul 2011 16:14:09 +0000 (UTC) Date: Fri, 29 Jul 2011 16:14:09 +0000 (UTC) From: "paul cannon (JIRA)" To: commits@cassandra.apache.org Message-ID: <909285947.19034.1311956049981.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1195451812.15785.1311864729591.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Updated] (CASSANDRA-2965) Allow cassandra to start on a Solaris machine. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/CASSANDRA-2965?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] paul cannon updated CASSANDRA-2965: ----------------------------------- Attachment: 0002-improve-general-sh-compatibility.patch.txt 0001-Solaris-bin-sh-compatibility.patch.txt 0001: just Kjell's original patch, rebased after #2785 0002: several other places where it would be a good idea for general compatibility or safety to quote shell variables I don't have access to a Solaris machine to actually test, but this works under dash, and I'm pretty confident it's good. Kjell, would you mind giving it a few extra tests on actual Solaris? > Allow cassandra to start on a Solaris machine. > ---------------------------------------------- > > Key: CASSANDRA-2965 > URL: https://issues.apache.org/jira/browse/CASSANDRA-2965 > Project: Cassandra > Issue Type: Improvement > Components: Packaging > Affects Versions: 0.8.2 > Environment: Solaris 10/SunOS 5.10, x86 architecture. > Reporter: Kjell Andreassen > Assignee: Kjell Andreassen > Priority: Trivial > Fix For: 0.8.3 > > Attachments: 0001-Solaris-bin-sh-compatibility.patch.txt, 0002-improve-general-sh-compatibility.patch.txt, cassandra-0.8.2-2965.txt > > > Cassandra ($CASSANDRA_HOME/bin/cassandra) fails to start with a series of errors, fixing one reveals the next. > These are the errors: > bin/cassandra: syntax error at line 27: `system_memory_in_mb=$' unexpected > bin/cassandra: syntax error at line 100: `check_openjdk=$' unexpected > bin/cassandra: test: argument expected -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira