Friday, March 22, 2013

Minor bug with C*1.2.2 and jdk8 on a pi


This is just a quick note on getting Cassandra to run on a Raspberry pi with jdk8.  It looks like a little bug has crept into the starup script in 1.2.2  that will stop C* from running on the pi with jdk1.8   To fix this locate  conf/cassandra-env.sh and comment out the following lines

#if [ "$JVM_VERSION" \> "1.7" ] ; then                                                                      
#    JVM_OPTS="$JVM_OPTS -XX:+UseCondCardMark"                                                              
#fi

It looks like jdk8 on the pi doesn't support the UseCondCardMark option, but it can be safely removed from the startup script. I'm told that the option was added "for  better lock handling especially on hotspot with multicore processor" (see https://issues.apache.org/jira/browse/CASSANDRA-4366 )  I’ll report this as a bug and hopefully it can fixed soon in a more elegant manor.

4 comments:

  1. Information provided in this blog was very useful . I appreciate,We also provide same services Web Development company Jaipur

    ReplyDelete
  2. Viaggi Rajasthan con La feste dei colori e tigri : Viaggi Rajasthan con La feste dei colori e tigri Conosciuta come la festa dei colori, della gioia, dell'amore e del divertimento, in tutto il Paese adulti e bambini aspettano questa ricorrenza che autorizza a schizzare e colorare gli altri per le strade. Il Festival che celebra i colori 06 di marzo. I festeggiamenti prevedono canti, balli e lancio di polvere colorata per le vie delle città e dei villaggi. Le persone con i volti dipinti si trasformano in veri e propri arcobaleni e si buttano reciprocamente addosso secchi di vernice o polvere colorata.

    ReplyDelete
  3. JBN Creators is dedicated to provide all-in-one eCommerce websites for your store. Here we are ready to provide you optimum support in terms of improving your business and expanding the horizon. We invite you to make use of our optimum resources so as to meet the business goal at the earliest.
    Web Development

    ReplyDelete
  4. JBN CREATORS is Ecommerce Website Development company in DELHI. We have more than 5 years of experience serving outsourcing web development services. Provide you service in affordable price at right time. Feel Free contact us 8802969543 , 9650829282 .
    Ecommerce Website Development

    ReplyDelete