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 633B2116ED for ; Mon, 15 Sep 2014 18:13:02 +0000 (UTC) Received: (qmail 59481 invoked by uid 500); 15 Sep 2014 18:12:57 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 59348 invoked by uid 500); 15 Sep 2014 18:12:57 -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 59337 invoked by uid 99); 15 Sep 2014 18:12:57 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2014 18:12:57 +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 (nike.apache.org: domain of kawa.adam@gmail.com designates 209.85.223.170 as permitted sender) Received: from [209.85.223.170] (HELO mail-ie0-f170.google.com) (209.85.223.170) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Sep 2014 18:12:30 +0000 Received: by mail-ie0-f170.google.com with SMTP id tp5so5145969ieb.29 for ; Mon, 15 Sep 2014 11:12:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=fBGULndfeZLm6zfPFi44QStRIjQOhOR2hbqB3Pkd4Tc=; b=AMq2/l/YTS6bkvY1P6GvGn95YPZREIXt8hdfypDNyccYE19igHy8U/d8yPjeYCEeXA uHVgxVatpwj5hq7vQ6wXelDAEPu/rOOpytDbwAAZEU+OKZDk6I5cE/0NW5bw1C74clTD M3SyCcHSptdV7yJLcjAaYl9wN55aahM0NJswWSP/Ky+ostjI9qvYdghTezSPRJ0QUZa+ EcOCh+oSlLFuUwSELmXu/bIYUGnJhk+zF1EcXpELS7q5QhOYq32Y8TSDfwHMUAB1QSGO QFkpyzkIvGYulWZsM0upeQ6XSTPDJqa3E7S1ChzvSv0NMnHvUWx620GTiS4VN8XEWbKL gkog== MIME-Version: 1.0 X-Received: by 10.42.188.7 with SMTP id cy7mr3536348icb.91.1410804748728; Mon, 15 Sep 2014 11:12:28 -0700 (PDT) Received: by 10.42.24.130 with HTTP; Mon, 15 Sep 2014 11:12:28 -0700 (PDT) Date: Mon, 15 Sep 2014 20:12:28 +0200 Message-ID: Subject: Swtiching from Java 6 to Java 7 on Hadoop 2.2.0 From: Adam Kawa To: "user@hadoop.apache.org" Content-Type: multipart/alternative; boundary=20cf302078dae53ff305031e93b4 X-Virus-Checked: Checked by ClamAV on apache.org --20cf302078dae53ff305031e93b4 Content-Type: text/plain; charset=UTF-8 Hi All! We are about to upgrade the Java version of our Hadoop cluster (Hadoop 2.2.0). Just would like to ask about your recommendations and experience: (A) Should we schedule a downtime of a whole cluster and then upgrade Java everywhere (all Hadoop projects e.g. HDFS, YARN, Pig, Hive, Sqoop etc) or (B) Can we do a rolling upgrade to avoid downtime (this means that we would run some nodes/projects on Java 6 talking to nodes/projects running on Java 7). According to our initial research, (A) is generally recommended (because some libraries can have incompatible APIs between their java 7 and java 6 versions e.g. Google Guavaa), but we are curious if there are any ways to make (B) happen. Cheers! Adam --20cf302078dae53ff305031e93b4 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi All!

We are about to upgrade the=C2=A0Java=C2=A0vers= ion of our Hadoop cluster (Hadoop 2.2.0). Just would like to ask about your= recommendations and experience:

(A) Should we schedule a downtime of a whole cluster and th= en upgrade Java everywhere (all Hadoop projects e.g. HDFS, YARN, Pig, Hive,= Sqoop etc)

or

(B) Can we do a rol= ling upgrade to avoid downtime (this means that we would run some nodes/pro= jects on Java 6 talking to nodes/projects running on Java 7).

According to our initial r= esearch, (A) is generally recommended (because some libraries can have inco= mpatible APIs between their java 7 and java 6 versions e.g. Google Guavaa),= but we are curious if there are any ways to make (B) happen.

Cheers!
Adam
--20cf302078dae53ff305031e93b4--