cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steven Lowenthal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CASSANDRA-6190) Cassandra 2.0 won't start up on some platforms with Java 7u40
Date Mon, 14 Oct 2013 01:48:42 GMT

    [ https://issues.apache.org/jira/browse/CASSANDRA-6190?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13793875#comment-13793875
] 

Steven Lowenthal commented on CASSANDRA-6190:
---------------------------------------------

Here is a simple test.  Not the "FileNotFoundException" is good - I ran C* with the wrong
permissions, so that is the expected result.

Unix Info:
Linux ubuntu 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:19:42 UTC 2013 i686 i686 i686 GNU/Linux
u


ubuntu@ubuntu:~$ export JAVA_HOME=~/Downloads/jre1.7.0_40/
ubuntu@ubuntu:~$ cassandra
xss =  -ea -javaagent:/usr/share/cassandra/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42
-Xms1024M -Xmx1024M -Xmn100M -XX:+HeapDumpOnOutOfMemoryError -Xss256k
ubuntu@ubuntu:~$ Unrecognized VM option 'UseCondCardMark'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.

ubuntu@ubuntu:~$ export JAVA_HOME=~/Downloads/jre1.7.0_25/
ubuntu@ubuntu:~$ cassandra
xss =  -ea -javaagent:/usr/share/cassandra/lib/jamm-0.2.5.jar -XX:+UseThreadPriorities -XX:ThreadPriorityPolicy=42
-Xms1024M -Xmx1024M -Xmn100M -XX:+HeapDumpOnOutOfMemoryError -Xss256k
ubuntu@ubuntu:~$ log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: /var/log/cassandra/system.log (Permission denied)
	at java.io.FileOutputStream.open(Native Method)
	at java.io.FileOutputStream.<init>(Unknown Source)


> Cassandra 2.0 won't start up on some platforms with Java 7u40
> -------------------------------------------------------------
>
>                 Key: CASSANDRA-6190
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-6190
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Config
>         Environment: Ubuntu 13.04 32- and 64-bit  JDK 7u40  (tried JRE 7u25)
>            Reporter: Steven Lowenthal
>
> Java 7u40 on some platforms do not recognize the the -XX:+UseCondCardMark JVM option.
 7u40 on Macintosh works correctly,  If I use the tarball 7u40 version of 7, we encounter
the error below. I tried 7u25 (the previous release) and it functioned correctly.
> ubuntu@ubuntu:~$ Unrecognized VM option 'UseCondCardMark'
> Error: Could not create the Java Virtual Machine.
> Error: A fatal exception has occurred. Program will exit.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message