Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 86D7AD73A for ; Thu, 8 Nov 2012 06:17:46 +0000 (UTC) Received: (qmail 6309 invoked by uid 500); 8 Nov 2012 06:17:41 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 6185 invoked by uid 500); 8 Nov 2012 06:17:41 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 6172 invoked by uid 99); 8 Nov 2012 06:17:40 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2012 06:17:40 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of sanjeev.x.verma@gmail.com designates 209.85.223.176 as permitted sender) Received: from [209.85.223.176] (HELO mail-ie0-f176.google.com) (209.85.223.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2012 06:17:36 +0000 Received: by mail-ie0-f176.google.com with SMTP id k11so4204512iea.35 for ; Wed, 07 Nov 2012 22:17:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=IbT93NTOjYNP0oqx9nPot44t+wIV06HJjMEjHgXu4Zk=; b=gCSsReO5IdFqEALZ36Tcg20d3xTwEqcI65gF2s7KOrLTSXoT5dUTLmA+CRSUDmkKsc mPtyUuw2vIHO52aGU7tM+9eYNYXJ7UZTxeZo3/viNgbZCrHSxy7r7app+AsdwkaO8teH +YhjNINkQK8U1XNQa3KQqlIrJR3FLK7pzcaLQSIswZ5xDmPeqfLuhDT0hmn6mi7yMCk/ NxMQOtEhCfJaFadUBJX8Yqn+nN4jg9exXod3GAJ1SuHLvKEJgtoLPXWFvGLMCKBiomJk au7b/Bi6jWUrzf+iUu7mIELyWLqeBLPG/QS0SJMrnwfPh7d69cc4tme2YxsW6S8CcBIx /g8g== MIME-Version: 1.0 Received: by 10.42.98.197 with SMTP id t5mr6189964icn.29.1352355435607; Wed, 07 Nov 2012 22:17:15 -0800 (PST) Received: by 10.64.9.136 with HTTP; Wed, 7 Nov 2012 22:17:15 -0800 (PST) Received: by 10.64.9.136 with HTTP; Wed, 7 Nov 2012 22:17:15 -0800 (PST) In-Reply-To: References: Date: Thu, 8 Nov 2012 11:47:15 +0530 Message-ID: Subject: Re: Ubuntu 12.04 - Which JDK? From: Sanjeev Verma To: user@hadoop.apache.org Cc: "ac@hsk.hk" Content-Type: multipart/alternative; boundary=90e6ba613d1c5975a304cdf5c988 X-Virus-Checked: Checked by ClamAV on apache.org --90e6ba613d1c5975a304cdf5c988 Content-Type: text/plain; charset=ISO-8859-1 AFAIK, openjdk can be used to run hadoop. Why do you want to build hadoop from source? Get precompiled binaries and you will be ok. Also, you can install sun/oracle jdk on ubuntu. Just google for instructions, u will find plenty, like here - http://www.ubuntututorials.com/install-oracle-java-jdk-7-ubuntu-12-04/. These are for jdk 7, but you can follow the same to install jdk 6. Enjoy! On Nov 8, 2012 11:30 AM, "ac@hsk.hk" wrote: > Hi, > > I am planning to use Ubuntu 12.04, from > http://wiki.apache.org/hadoop/HadoopJavaVersions, about OpenJDK > > "Note*: OpenJDK6 has some open bugs w.r.t handling of generics... so > OpenJDK cannot be used to compile hadoop mapreduce code in branch-0.23 and > beyond, please use other JDKs." > > Is it OK to use OpenJDK 7 in Ubuntu 12.04? > > Thanks > > --90e6ba613d1c5975a304cdf5c988 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

AFAIK, openjdk can be used to run hadoop. Why do you want to build hadoo= p from source? Get precompiled binaries and you will be ok.

Also, you can install sun/oracle jdk on ubuntu. Just google for instruct= ions, u will find plenty, like here -
http://www.ubuntututorials.com/install-oracle-java-jdk-7-ubuntu-12-= 04/. These are for jdk 7, but you can follow the same to install jdk 6.=

Enjoy!

On Nov 8, 2012 11:30 AM, "ac@hsk.hk" <ac@hsk.hk<= /a>> wrote:
Hi,


"Note*: OpenJDK6 has some open bugs w.r.t handling of generics...<= span style=3D"text-indent:0px;letter-spacing:normal;font-variant:normal;tex= t-align:start;font-style:normal;display:inline!important;font-weight:normal= ;float:none;line-height:normal;text-transform:none;font-size:16px;white-spa= ce:normal;font-family:sans-serif;word-spacing:0px">=A0so OpenJDK cannot be = used to compile hadoop mapreduce code in branch-0.23 and beyond, please use= other JDKs."

Is it OK to use OpenJDK 7 in Ubuntu 12.04?

Thanks

--90e6ba613d1c5975a304cdf5c988--