Return-Path: Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: (qmail 49780 invoked from network); 5 Feb 2010 22:59:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 5 Feb 2010 22:59:22 -0000 Received: (qmail 31066 invoked by uid 500); 5 Feb 2010 22:59:20 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 31000 invoked by uid 500); 5 Feb 2010 22:59:20 -0000 Mailing-List: contact common-user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-user@hadoop.apache.org Delivered-To: mailing list common-user@hadoop.apache.org Received: (qmail 30989 invoked by uid 500); 5 Feb 2010 22:59:19 -0000 Delivered-To: apmail-hadoop-core-user@hadoop.apache.org Received: (qmail 30986 invoked by uid 99); 5 Feb 2010 22:59:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2010 22:59:19 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=HTML_MESSAGE,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of prateekjindal.uiuc@gmail.com designates 209.85.210.203 as permitted sender) Received: from [209.85.210.203] (HELO mail-yx0-f203.google.com) (209.85.210.203) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 05 Feb 2010 22:59:12 +0000 Received: by yxe41 with SMTP id 41so7711795yxe.30 for ; Fri, 05 Feb 2010 14:58:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:date :x-google-sender-auth:message-id:subject:from:to:content-type; bh=kUVBgs0PCn5seO1wrdRRGi5aQf3+CrQzfHSiJ1eth0s=; b=YZEvqE8tF3J3I1E5PSi3KzpafP6UZ2UpcUvE6cascryXLOzFy2AwMziwbHux6ZseIB Oe4Px698m2wmXbo/GhvXV7kHoesLGcij+FbbJ5e+wC5E24r8cSfe4a0IW5b1VjW4eruo db2i5kK8ZM3CMrzlDNp6xOZeHDOyMd3wMTXjs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:date:x-google-sender-auth:message-id:subject :from:to:content-type; b=XpOnNqnQyvI2CchWSFVypcj6fn8zjj8SwU4d/Ulho62LfbaNiL2ie7nEpZl0PhBHm8 Eyrn96tjvXzL1HGIX4wmjYHE+RxeiJEZRIZHvRR9or03oLLk/6NRJJSe2oM6waZDk8TE dHltC8Cb3U2OKY0DjwFjDBq/UaR2qICMOVUG8= MIME-Version: 1.0 Sender: prateekjindal.uiuc@gmail.com Received: by 10.100.244.16 with SMTP id r16mr4682991anh.157.1265410731579; Fri, 05 Feb 2010 14:58:51 -0800 (PST) Date: Fri, 5 Feb 2010 16:58:51 -0600 X-Google-Sender-Auth: dd2e85bfd9243f70 Message-ID: <870bd4eb1002051458r49eb2920v9d6753510c85e207@mail.gmail.com> Subject: Not able to compile '.java' files From: Prateek Jindal To: core-user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001636c927f9269bb4047ee2650a X-Virus-Checked: Checked by ClamAV on apache.org --001636c927f9269bb4047ee2650a Content-Type: text/plain; charset=ISO-8859-1 Hi everyone, I am new to mapReduce. I am trying to run a very basic mapReduce application. I encountered the following problem. Can someone help me about it: 1) I have 3 files, namely MaxTemperature.java, MaxTemperatureMapper.java, MaxTemperatureReducer.java. Now, I have to compile them to get the '.class' files which would be used by 'hadoop' command. I tried the following: 'javac -cp .:/hadoop/lib MaxTemperatureMapper.java' But it gives me the error that it doesn't recognize the packages ' org.apache.hadoop.io', 'org.apache.hadoop.mapred' and so on. Can someone suggest something about that? 2) Also, do we have to make the '.class' files by ourselves necessarily. Or is it somehow possible that hadoop will make .class files by itself (from the .java source files)? Thanks, Prateek. --001636c927f9269bb4047ee2650a--