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 C419E10699 for ; Tue, 7 Jan 2014 16:57:49 +0000 (UTC) Received: (qmail 90748 invoked by uid 500); 7 Jan 2014 16:56:41 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 90563 invoked by uid 500); 7 Jan 2014 16:56:31 -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 90491 invoked by uid 99); 7 Jan 2014 16:56:24 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jan 2014 16:56:24 +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 smarty.juice@gmail.com designates 209.85.219.42 as permitted sender) Received: from [209.85.219.42] (HELO mail-oa0-f42.google.com) (209.85.219.42) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Jan 2014 16:56:19 +0000 Received: by mail-oa0-f42.google.com with SMTP id n16so428512oag.15 for ; Tue, 07 Jan 2014 08:55:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=J6Xfr5jxhhOpmPXjPY0FZv0MQX/b2wR2Rb+Huhq8X8w=; b=trgB9g7f9LOyaGasN1Slu4PP0a5kPA9fyg64og6C/Pkd7iFj4zCfT3U7Bs1y+cr2Ba mwJQRdcAIAb/5nCcg56mc7Iu/H7rEdyrmFk+ogO4C9jF5+manqwGK1jwHgqMzAtt4LZ1 13Q2d7jFf0OlhvIT8Y+1h2aifzHAMxXmPImtwm7jMK9b82OoPJpsJKn7M2nQEf3neFFT za6vCAUgDPZZuVInXpKB2+afnPirZOmafbsYbJCkQRYuuPjVsZBKhdyzWl/zv5JDsv/D XLvYZ7OFcxLOent8ByGefW2GFOF6JYJeNk63XzsKyf5M7XAna8C5wTcDyGoN5yCB9G7W OiVg== MIME-Version: 1.0 X-Received: by 10.182.221.230 with SMTP id qh6mr76258328obc.7.1389113758032; Tue, 07 Jan 2014 08:55:58 -0800 (PST) Received: by 10.182.28.165 with HTTP; Tue, 7 Jan 2014 08:55:57 -0800 (PST) In-Reply-To: References: Date: Tue, 7 Jan 2014 11:55:57 -0500 Message-ID: Subject: Re: Error: Could not find or load main class hdfs From: Hardik Pandya To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a11c2fcb819a63704ef6440db X-Virus-Checked: Checked by ClamAV on apache.org --001a11c2fcb819a63704ef6440db Content-Type: text/plain; charset=ISO-8859-1 hadoop fs -copyFromLocal for e.g /user/home/hadoop/input/file1.txt On Tue, Jan 7, 2014 at 11:41 AM, Allen, Ronald L. wrote: > Thank you for responding. > > I entered hadoop fs -ls and it returned this: > > 14/01/07 11:40:50 WARN util.NativeCodeLoader: Unable to load native-hadoop > library for your platform... using builtin-java classes where applicable > Found 2 items > drwxr-xr-x - r9rhadoop supergroup 0 2014-01-06 13:49 input > drwxr-xr-x - r9rhadoop supergroup 0 2014-01-06 15:30 out > > I guess it does. > ________________________________________ > From: Hardik Pandya [smarty.juice@gmail.com] > Sent: Tuesday, January 07, 2014 11:37 AM > To: user@hadoop.apache.org > Subject: Re: Error: Could not find or load main class hdfs > > does input directory exist in hdfs? you can check by hadoop fs -ls > > > On Tue, Jan 7, 2014 at 11:16 AM, Allen, Ronald L. > wrote: > Hello, > > I am trying to run the WordCount example using Hadoop 2.2.0 on a single > node. I tried to follow the directions from > http://nextgenhadoop.blogspot.in/2013/10/steps-to-install-hadoop-220-stable.html. > However, when I type in the command bin/hadoop hdfs -copyFromLocal input > /input, I get Error: Could not find or load main class hdfs. I am very new > to this and have no idea what is going on. Any help would be greatly > appreciated! > > Thanks, > Ronnie > > --001a11c2fcb819a63704ef6440db Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
hadoop fs -copyF= romLocal <path to your file>=A0

for e.g /user/h= ome/hadoop/input/file1.txt

On Tue, Jan 7, 2014 at 11:41 AM, Allen, Rona= ld L. <allenrl1@ornl.gov> wrote:
Thank you for responding.

I entered hadoop fs -ls and it returned this:

14/01/07 11:40:50 WARN util.NativeCodeLoader: Unable to load native-hadoop = library for your platform... using builtin-java classes where applicable Found 2 items
drwxr-xr-x =A0 - r9rhadoop supergroup =A0 =A0 =A0 =A0 =A00 2014-01-06 13:49= input
drwxr-xr-x =A0 - r9rhadoop supergroup =A0 =A0 =A0 =A0 =A00 2014-01-06 15:30= out

I guess it does.
________________________________________
From: Hardik Pandya [smarty.juice= @gmail.com]
Sent: Tuesday, January 07, 2014 11:37 AM
To: user@hadoop.apache.org Subject: Re: Error: Could not find or load main class hdfs

does input directory exist in hdfs? you can check by hadoop fs -ls


On Tue, Jan 7, 2014 at 11:16 = AM, Allen, Ronald L. <allenrl1@ornl= .gov<mailto:allenrl1@ornl.gov>> wrote:
Hello,

I am trying to run the WordCount example using Hadoop 2.2.0 on a single nod= e. =A0I tried to follow the directions from
http://nextgenhadoop.blogspot.in/2013/10/steps-to-install-hadoop-220-s= table.html. =A0However, when I type in the command bin/hadoop hdfs -cop= yFromLocal input /input, I get Error: Could not find or load main class hdf= s. =A0I am very new to this and have no idea what is going on. =A0Any help = would be greatly appreciated!

Thanks,
Ronnie


--001a11c2fcb819a63704ef6440db--