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 BCA6DDE94 for ; Tue, 4 Sep 2012 02:14:22 +0000 (UTC) Received: (qmail 81853 invoked by uid 500); 4 Sep 2012 02:14:17 -0000 Delivered-To: apmail-hadoop-user-archive@hadoop.apache.org Received: (qmail 81727 invoked by uid 500); 4 Sep 2012 02:14:17 -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 81719 invoked by uid 99); 4 Sep 2012 02:14:17 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2012 02:14:17 +0000 X-ASF-Spam-Status: No, hits=2.2 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (nike.apache.org: local policy) Received: from [209.85.216.176] (HELO mail-qc0-f176.google.com) (209.85.216.176) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Sep 2012 02:14:09 +0000 Received: by qcsc21 with SMTP id c21so4548932qcs.35 for ; Mon, 03 Sep 2012 19:13:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=uBJWZb6Km7Sjqu0KjhKwUZRlOKI8rXmYzKXRO9K30SM=; b=ZOVEzcsDflDVWFxWTsa7Ywrz1hcbiWvbPb1ePDxZEpxoA1O0yA9KNGLVPXGqiPOiw1 UE6O+stk5TLPuZcMgEgWFNxflKTPgW56F+whPpunMPRhunAdm/C+qt80Rzitk4N2qLkB Wq7+cr23xvc1OWY6W+rqFrsQBkBdTnd3IZsuPipxykX+vxGTgCPmLktzPbvv/9FEx47o uwhj9lJ+10y9U2adMWNsyWIXth5yu3ApwSzNOAS4iYsy2DH5I6yeJYbuGpZ17phzfix9 4VPGnlg8NopiDVom9I1vQZXmSONyHozJ+dMucvXzU1OmS9vSJ0yMfo+NVYOf7BdcSSBG Y2oA== MIME-Version: 1.0 Received: by 10.224.179.205 with SMTP id br13mr37786531qab.95.1346724827892; Mon, 03 Sep 2012 19:13:47 -0700 (PDT) Received: by 10.49.17.6 with HTTP; Mon, 3 Sep 2012 19:13:47 -0700 (PDT) X-Originating-IP: [98.198.171.77] Date: Mon, 3 Sep 2012 21:13:47 -0500 Message-ID: Subject: Hadoop examples don't compile in Eclipse From: Mark Kerzner To: Hadoop User Content-Type: multipart/alternative; boundary=485b397dcd5bfa0c4f04c8d6ce2e X-Gm-Message-State: ALoCoQlVtNFp3G3A//v2ssaZXKGmKn4Rprjc9qrmBbg9XQJfd/7aZfEpL5/Yxu6QMxhZ0JSGwgyB --485b397dcd5bfa0c4f04c8d6ce2e Content-Type: text/plain; charset=ISO-8859-1 Hi, this is really all over, but for example, in SecondarySort.java, this line causes a problem: @Override public int compare(IntPair o1, IntPair o2) { It works beautifully in NB, but in Eclipse it was the "Override" removed, with the following message: Multiple markers at this line - The method compare(SecondarySort.IntPair, SecondarySort.IntPair) of type SecondarySort.FirstGroupingComparator must override a superclass method - implements java.util.Comparator< com.intel.hadooptraining.examples.SecondarySort.Int Pair>.compare Thank you, Mark --485b397dcd5bfa0c4f04c8d6ce2e Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

this is really all over, but for example, in SecondarySort.java,= this line causes a problem:

@Override
=A0=A0=A0=A0=A0=A0=A0 publ= ic int compare(IntPair o1, IntPair o2) {

It works beautifully in NB,= but in Eclipse it was the "Override" removed, with the following= message:

Multiple markers at this line
=A0=A0=A0 - The method compare(Seconda= rySort.IntPair, SecondarySort.IntPair) of
=A0=A0=A0 =A0type SecondarySo= rt.FirstGroupingComparator must override a superclass
=A0=A0=A0 =A0meth= od
=A0=A0=A0 - implements
=A0=A0=A0 =A0java.util.Comparator<com.intel.hadooptraining= .examples.SecondarySort.Int
=A0=A0=A0 =A0Pair>.compare

Tha= nk you,
Mark
--485b397dcd5bfa0c4f04c8d6ce2e--