Return-Path: X-Original-To: apmail-hadoop-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-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 F3D4AD8E0 for ; Thu, 8 Nov 2012 07:22:56 +0000 (UTC) Received: (qmail 43918 invoked by uid 500); 8 Nov 2012 07:22:52 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 43515 invoked by uid 500); 8 Nov 2012 07:22:50 -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 43467 invoked by uid 99); 8 Nov 2012 07:22:49 -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 07:22:49 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of wget.null@gmail.com designates 209.85.215.176 as permitted sender) Received: from [209.85.215.176] (HELO mail-ea0-f176.google.com) (209.85.215.176) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 08 Nov 2012 07:22:44 +0000 Received: by mail-ea0-f176.google.com with SMTP id n12so1050066eaa.35 for ; Wed, 07 Nov 2012 23:22:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to:x-mailer; bh=3WZTGiRf6HLhca0Fpns5cIW6Dh9gEcWEI0kA1zn5RZg=; b=YvK2syoNlAtWAwmO8hY+GEMTyoEraCm/JkgapEk4niXjR4jduDZqZYwhviV+Qt3wna we6wDBA8dLJLRuDSWY1fYid8wmNQg67z98loh9BIb3BV7F52Za3P15b1eU8p2PMUSuF0 glxCHh7K5QE7DyEhWq6iQFnfEYXPTNtMNmM1ewJskDndXgkMvST0gycRcNSajYdZ9P4f NLV+8n/Jut7TKTDujlgAl//nbAtuzr4fsdI/RTAImyhspjFjqpA77hz21Rb+FVv3/i6m WG8wOgmwr/msT5QbwovfuJqTAnJM8oAfipPko91WO7vCqs2fmZmCfpsFm0jckaJ5yzT5 2Hhw== Received: by 10.14.172.195 with SMTP id t43mr24713755eel.17.1352359342932; Wed, 07 Nov 2012 23:22:22 -0800 (PST) Received: from [192.168.200.51] (HSI-KBW-109-192-098-207.hsi6.kabel-badenwuerttemberg.de. [109.192.98.207]) by mx.google.com with ESMTPS id o47sm68714415eem.11.2012.11.07.23.22.21 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 07 Nov 2012 23:22:22 -0800 (PST) Content-Type: text/plain; charset=iso-8859-1 Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Subject: Re: Ubuntu 12.04 - Which JDK? From: Alexander Lorenz In-Reply-To: Date: Thu, 8 Nov 2012 08:22:20 +0100 Cc: "ac@hsk.hk" Content-Transfer-Encoding: quoted-printable Message-Id: References: To: user@hadoop.apache.org X-Mailer: Apple Mail (2.1499) X-Virus-Checked: Checked by ClamAV on apache.org Recommend JDK 1.6.3x, 1.7 has serval issues within NIO and I wouldn't = use them in production, OpenJDK has sometimes a odd behavior and IBM's = JDK - no. cheers, Alex=20 On Nov 8, 2012, at 7:17 AM, Sanjeev Verma = wrote: > 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. >=20 > 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. >=20 > Enjoy! > On Nov 8, 2012 11:30 AM, "ac@hsk.hk" wrote: >=20 >> Hi, >>=20 >> I am planning to use Ubuntu 12.04, from >> http://wiki.apache.org/hadoop/HadoopJavaVersions, about OpenJDK >>=20 >> "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." >>=20 >> Is it OK to use OpenJDK 7 in Ubuntu 12.04? >>=20 >> Thanks >>=20 >>=20 -- Alexander Alten-Lorenz http://mapredit.blogspot.com German Hadoop LinkedIn Group: http://goo.gl/N8pCF