You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@spark.apache.org by Hao Wang <wh...@gmail.com> on 2014/05/19 08:50:57 UTC

For performance, Spark prefers OracleJDK or OpenJDK?

Hi,

Oracle JDK and OpenJDK, which one is better or preferred for Spark?


Regards,
Wang Hao(王灏)

CloudTeam | School of Software Engineering
Shanghai Jiao Tong University
Address:800 Dongchuan Road, Minhang District, Shanghai, 200240
Email:wh.sjtu@gmail.com

Re: For performance, Spark prefers OracleJDK or OpenJDK?

Posted by Andrew Ash <an...@andrewash.com>.
I don't know if anyone has done benchmarking of different JVMs for Spark
specifically, but the widely-held belief seems to be that the Oracle JDK is
slightly more performant.

Elasticsearch makes heavy usage of Lucene, which is a particularly intense
workout for a JVM, and they recommend using the Oracle JVM where possible.

http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/setup-service.html#_installing_the_oracle_jdk


On Sun, May 18, 2014 at 11:50 PM, Hao Wang <wh...@gmail.com> wrote:

> Hi,
>
> Oracle JDK and OpenJDK, which one is better or preferred for Spark?
>
>
> Regards,
> Wang Hao(王灏)
>
> CloudTeam | School of Software Engineering
> Shanghai Jiao Tong University
> Address:800 Dongchuan Road, Minhang District, Shanghai, 200240
> Email:wh.sjtu@gmail.com
>

Re: For performance, Spark prefers OracleJDK or OpenJDK?

Posted by Gordon Wang <gw...@gopivotal.com>.
I would like to say that Oracle JDK may be the better choice. A lot of
hadoop distribution vendors use Oracle JDK instead of Open JDK for
enterprise.


On Mon, May 19, 2014 at 2:50 PM, Hao Wang <wh...@gmail.com> wrote:

> Hi,
>
> Oracle JDK and OpenJDK, which one is better or preferred for Spark?
>
>
> Regards,
> Wang Hao(王灏)
>
> CloudTeam | School of Software Engineering
> Shanghai Jiao Tong University
> Address:800 Dongchuan Road, Minhang District, Shanghai, 200240
> Email:wh.sjtu@gmail.com
>



-- 
Regards
Gordon Wang