From user-return-31672-apmail-cassandra-user-archive=cassandra.apache.org@cassandra.apache.org Tue Feb 5 22:13:16 2013 Return-Path: X-Original-To: apmail-cassandra-user-archive@www.apache.org Delivered-To: apmail-cassandra-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CFAF0EA4A for ; Tue, 5 Feb 2013 22:13:16 +0000 (UTC) Received: (qmail 96581 invoked by uid 500); 5 Feb 2013 22:13:14 -0000 Delivered-To: apmail-cassandra-user-archive@cassandra.apache.org Received: (qmail 96553 invoked by uid 500); 5 Feb 2013 22:13:14 -0000 Mailing-List: contact user-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@cassandra.apache.org Delivered-To: mailing list user@cassandra.apache.org Received: (qmail 96544 invoked by uid 99); 5 Feb 2013 22:13:14 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 22:13:14 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of btv1==74836523db3==mkjellman@barracuda.com designates 64.235.145.84 as permitted sender) Received: from [64.235.145.84] (HELO bsf04.barracuda.com) (64.235.145.84) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 05 Feb 2013 22:13:07 +0000 X-ASG-Debug-ID: 1360102365-03dc64147847cf70001-f7dORa Received: from bn-scl-fe06.Cudanet.local (bn-scl-fe06.cudanet.local [10.8.1.48]) by bsf04.barracuda.com with ESMTP id CpnpryIOPKf6oGpf (version=TLSv1 cipher=AES128-SHA bits=128 verify=NO) for ; Tue, 05 Feb 2013 14:12:45 -0800 (PST) X-Barracuda-Envelope-From: mkjellman@barracuda.com Received: from bn-scl-be03.Cudanet.local (10.8.1.54) by bn-scl-fe06.Cudanet.local (10.8.1.48) with Microsoft SMTP Server (TLS) id 8.3.279.1; Tue, 5 Feb 2013 14:12:45 -0800 Received: from bn-scl-be03.Cudanet.local ([::1]) by bn-scl-be03.Cudanet.local ([::1]) with mapi; Tue, 5 Feb 2013 14:12:45 -0800 From: Michael Kjellman X-Barracuda-Apparent-Source-IP: ::1 To: "user@cassandra.apache.org" Date: Tue, 5 Feb 2013 14:12:42 -0800 Subject: Re: Why do Datastax docs recommend Java 6? Thread-Topic: Why do Datastax docs recommend Java 6? X-ASG-Orig-Subj: Re: Why do Datastax docs recommend Java 6? Thread-Index: Ac4D7ev7o796ApF6TPammdlixPhKFQ== Message-ID: In-Reply-To: <18f701ce03ed$7ac22780$70467680$@metricshub.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/14.2.5.121010 acceptlanguage: en-US Content-Type: multipart/alternative; boundary="_000_CD36C395E1E2mkjellmanbarracudacom_" MIME-Version: 1.0 X-Barracuda-Connect: bn-scl-fe06.cudanet.local[10.8.1.48] X-Barracuda-Start-Time: 1360102365 X-Barracuda-Encrypted: AES128-SHA X-Barracuda-URL: http://bsf04.barracuda.com:8000/cgi-mod/mark.cgi Received-SPF: softfail (barracuda.com: domain of transitioning mkjellman@barracuda.com does not designate ::1 as permitted sender) X-Barracuda-BRTS-Status: 1 X-Virus-Scanned: by bsmtpd at barracuda.com X-Barracuda-Spam-Score: 0.15 X-Barracuda-Spam-Status: No, SCORE=0.15 using per-user scores of TAG_LEVEL=1000.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=9.0 tests=BSF_SPF_SOFTFAIL, CN_BODY_332, HTML_MESSAGE, THREAD_INDEX, THREAD_TOPIC X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.121915 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- 0.01 THREAD_INDEX thread-index: AcO7Y8iR61tzADqsRmmc5wNiFHEOig== 0.01 THREAD_TOPIC Thread-Topic: ...(Japanese Subject)... 0.12 CN_BODY_332 BODY: CN_BODY_332 0.00 HTML_MESSAGE BODY: HTML included in message 0.00 BSF_SPF_SOFTFAIL Custom Rule SPF Softfail X-Virus-Checked: Checked by ClamAV on apache.org --_000_CD36C395E1E2mkjellmanbarracudacom_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable OpenJDK will be the reference JDK going forward but there are still a ton o= f differences in the way java apps work on the Oracle JDK vs the OpenJDK. F= lat out you'll just run into weird bugs and 1.2.0 wouldn't even start with = OpenJDK7 From: Ilya Grebnov > Reply-To: "user@cassandra.apache.org" > Date: Tuesday, February 5, 2013 2:09 PM To: "user@cassandra.apache.org" > Subject: RE: Why do Datastax docs recommend Java 6? Also, what is particular reason to use Oracle JDK over Open JDK? Sorry, I c= ould not find this information online. Thanks, Ilya From: Michael Kjellman [mailto:mkjellman@barracuda.com] Sent: Tuesday, February 05, 2013 7:29 AM To: user@cassandra.apache.org Subject: Re: Why do Datastax docs recommend Java 6? There have been tons of threads/convos on this. In the early days of Java 7 it was pretty unstable and there was pretty muc= h no convincing reason to use Java 7 over Java 6. Now that Java 7 has stabilized and Java 6 is EOL it's a reasonable decision= to use Java 7 and we do it in production with no issues to speak of. That being said there was one potential situation we've seen as a community= where bootstrapping new node was using 3x more CPU and getting significant= ly less throughput. However, reproducing this consistently never happened A= FAIK. I think until more people use Java 7 in production and prove it doesn't cau= se any additional bugs/performance issues Datastax will update their docs. = Until now I'd say it's a safe bet to use Java 7 with Vanilla C* 1.2.1. I ho= pe this helps! Best, Michael From: Baron Schwartz > Reply-To: "user@cassandra.apache.org" > Date: Tuesday, February 5, 2013 7:21 AM To: "user@cassandra.apache.org" > Subject: Why do Datastax docs recommend Java 6? The Datastax docs repeatedly say (e.g. http://www.datastax.com/docs/1.2/ins= tall/install_jre) that Java 7 is not recommended, but they don't say why. I= t would be helpful to know this. Does anyone know? The same documentation is referenced from the Cassandra wiki, for example, = http://wiki.apache.org/cassandra/GettingStarted - Baron --_000_CD36C395E1E2mkjellmanbarracudacom_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
OpenJDK will be the refe= rence JDK going forward but there are still a ton of differences in the way= java apps work on the Oracle JDK vs the OpenJDK. Flat out you'll just run = into weird bugs and 1.2.0 wouldn't even start with OpenJDK7

<= /div>
From: Ilya Grebnov <<= a href=3D"mailto:ilya@metricshub.com">ilya@metricshub.com>
Reply-To: "user@cassandra.apache.org" <user@cassandra.apache.org>
Date: Tuesday, February 5, 2013 2:09 PM
To: "user@cassandra.apache.org" <user@cassandra.apache.org>
Subject: RE: Why do Datastax docs recommend Java 6?

Also, what is particular reason to use Oracle JDK over Open JDK? Sor= ry, I could not find this information online.

 

Thanks,

Ilya

From: Michael Kjellman [= mailto:mkjellman@barracuda.com]
Sent: Tuesday, February 05, 2013 7:29 AM
To:
user@cassandra.apache.org
S= ubject: Re: Why do Datastax docs recommend Java 6?

 

There have been tons of threads/convos on this.

 

In the early days of Ja= va 7 it was pretty unstable and there was pretty much no convincing reason = to use Java 7 over Java 6.

 

Now that Java 7 has stabilized and Java 6 is EOL it's a reasona= ble decision to use Java 7 and we do it in production with no issues to spe= ak of.

 

That b= eing said there was one potential situation we've seen as a community where= bootstrapping new node was using 3x more CPU and getting significantly les= s throughput. However, reproducing this consistently never happened AFAIK.

 <= /o:p>

I think until mo= re people use Java 7 in production and prove it doesn't cause any additiona= l bugs/performance issues Datastax will update their docs. Until now I'd say it's a safe bet to use Java 7 with Vanilla C* 1.2.1. I hope this h= elps!

=  

Best,

Michael

 =

From: Baron Schwartz <bar= on@xaprb.com>
Reply-To: "user@cassandra.apache.org" <user@cassandra.apache.org>
Date: Tuesday,= February 5, 2013 7:21 AM
To: "user@cassandra.apache.org" <user@cassandra.apache.org>
Subject: Why do= Datastax docs recommend Java 6?

 

The Datastax docs repeatedly say (e.g. http://www= .datastax.com/docs/1.2/install/install_jre) that Java 7 is not recommen= ded, but they don't say why. It would be helpful to know this. Does anyone = know?

 

The same documentati= on is referenced from the Cassandra wiki, for example, http://wiki.apache.org/cassand= ra/GettingStarted

 

- Baron

--_000_CD36C395E1E2mkjellmanbarracudacom_--