Return-Path: X-Original-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CD646106B3 for ; Mon, 22 Apr 2013 15:03:15 +0000 (UTC) Received: (qmail 38317 invoked by uid 500); 22 Apr 2013 15:03:15 -0000 Delivered-To: apmail-hadoop-hdfs-dev-archive@hadoop.apache.org Received: (qmail 38258 invoked by uid 500); 22 Apr 2013 15:03:14 -0000 Mailing-List: contact hdfs-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-dev@hadoop.apache.org Delivered-To: mailing list hdfs-dev@hadoop.apache.org Received: (qmail 38249 invoked by uid 99); 22 Apr 2013 15:03:14 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Apr 2013 15:03:14 +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 yuzhihong@gmail.com designates 209.85.217.181 as permitted sender) Received: from [209.85.217.181] (HELO mail-lb0-f181.google.com) (209.85.217.181) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 22 Apr 2013 15:03:09 +0000 Received: by mail-lb0-f181.google.com with SMTP id r11so5728933lbv.40 for ; Mon, 22 Apr 2013 08:02:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=MkujN3fWLAq9xyio2/BUCWFr0netQ0ZtQGiV7SVjgFA=; b=XRIaU52ki3dXpQNNZwT8X2uBNZ7smDkH3ky9pAe0MyBhUteKWfNsuuk3IAuaCCJoXI CEaqvOtHuN5ODL/Ei9JOuU8ojLsFKfrtX0BvjdKSIjx3a9CSt3O/AiSSUaBOv53n+7b6 rhfUKJcvqBSkb0gmkvtp97by58SInOWol3By7V+b8FJ+oUkgdS+vK3TkWZ8UyGHyYYKM xlx9o6rSBpe/ADuyJy3q4Dqrom+T600RSODRDCdFSXm5Yd210kKYgnjG/m98LPScSdSm 4VdYRpvdR3MXZqsuiXFzwRXW3Hb/fiAfalSkJo2n61oxa/SnupUcpPELcVYswEKPMoO8 oWEA== MIME-Version: 1.0 X-Received: by 10.152.6.162 with SMTP id c2mr13387341laa.20.1366642968437; Mon, 22 Apr 2013 08:02:48 -0700 (PDT) Received: by 10.112.5.101 with HTTP; Mon, 22 Apr 2013 08:02:48 -0700 (PDT) In-Reply-To: <2B74AD16-5575-4EA3-8F22-DF95B66366E6@charter.net> References: <2B74AD16-5575-4EA3-8F22-DF95B66366E6@charter.net> Date: Mon, 22 Apr 2013 08:02:48 -0700 Message-ID: Subject: Re: Cannot communicate From: Ted Yu To: hdfs-dev@hadoop.apache.org Content-Type: multipart/alternative; boundary=089e013d139eab2b1c04daf45c7f X-Virus-Checked: Checked by ClamAV on apache.org --089e013d139eab2b1c04daf45c7f Content-Type: text/plain; charset=ISO-8859-1 The exception was due to incompatible RPC versions between Apache maven artifacts and CDH4. I suggest you build the project with same hadoop version as in your cluster. On Mon, Apr 22, 2013 at 7:50 AM, Kevin Burton wrote: > I am relatively new to Hadoop and am working through a Manning publication > "Hadoop in Action". One of the first program in the book (page 44) gives me > a Java exception: org.apache.hadoop.ipc.RemoteException: Server IPC version > 7 cannot communicate with client version 3. > > My Hadoop distribution is CDH4. The Java Maven project takes its > dependency from Apache. The exception comes from a line involving the > "Configuration" class. > > Any idea on how to avoid this exception? --089e013d139eab2b1c04daf45c7f--