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 93F1011399 for ; Thu, 19 Jun 2014 03:19:15 +0000 (UTC) Received: (qmail 16626 invoked by uid 500); 19 Jun 2014 03:19:11 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 16487 invoked by uid 500); 19 Jun 2014 03:19:10 -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 16475 invoked by uid 99); 19 Jun 2014 03:19:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jun 2014 03:19:10 +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 mohitanchlia@gmail.com designates 209.85.213.177 as permitted sender) Received: from [209.85.213.177] (HELO mail-ig0-f177.google.com) (209.85.213.177) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 19 Jun 2014 03:19:07 +0000 Received: by mail-ig0-f177.google.com with SMTP id c1so1535754igq.16 for ; Wed, 18 Jun 2014 20:18:42 -0700 (PDT) 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=bGBUbdaGbppQR9d4ytqqI0zuwsHRArwH8vxd3hZVZf4=; b=gR+nsi5ag4TvkwCX39tfRLSCMS7AIE5jKjniVRaeCStY5pJJlOkx+jWY11EYf1MvGE 8ydhQUHK9Axw9IJuTNTenx/G5ihN/L7oc7sZhpiIrcArMWsPBFyt76gDRlWCMJG1/cYd lO0waqYkoMIlXV86QPlkW+LDaxwRgM+XAXP8acG7hreMuBnnx83zGbGKyiF98ik+rLKv pP9DqS+lyZFsTMc4HdfuSrUPMp+Jcdzx8f6VKn0DviE+/IHq9NPtcAIDA5UQRR5rPp5i UEsNsEDFo9mdC3hy/N9mFh0QnZCGccLSia4PaSqke2EAItfeXZYQt8UKyNMutEnvNDUt f7ww== MIME-Version: 1.0 X-Received: by 10.43.117.133 with SMTP id fm5mr2577733icc.3.1403147922696; Wed, 18 Jun 2014 20:18:42 -0700 (PDT) Received: by 10.64.82.97 with HTTP; Wed, 18 Jun 2014 20:18:42 -0700 (PDT) In-Reply-To: References: Date: Wed, 18 Jun 2014 20:18:42 -0700 Message-ID: Subject: Re: Hadoop classpath From: Mohit Anchlia To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=bcaec517c9207fee1304fc27d518 X-Virus-Checked: Checked by ClamAV on apache.org --bcaec517c9207fee1304fc27d518 Content-Type: text/plain; charset=UTF-8 No I didn't set that up. Do you know which script it's used? I have HADOOP_HOME setup. On Wed, Jun 18, 2014 at 8:01 PM, bo yang wrote: > Hi Mohit, > > Did you set up HADOOP_INSTALL? > > For me, I did following: > > export HADOOP_INSTALL=/usr/local/hadoop-2.4.0 > > > Bo > > > On Wed, Jun 18, 2014 at 4:27 PM, Mohit Anchlia > wrote: > >> I installed Yarn on a single node and now when I try to run hadoop fs I >> get : >> >> Error: Could not find or load main class FsShell >> >> It appears to be a HADOOP_CLASSPATH issue and I am wondering how I can >> build the classpath? Should I find all the jars in HADOOP_HOME? >> > > --bcaec517c9207fee1304fc27d518 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable No I didn't set that up. Do you know which script it's used? I have= HADOOP_HOME setup.

On Wed, Jun 18, 2014 = at 8:01 PM, bo yang <bobyangbo@gmail.com> wrote:
Hi Mohit,

D= id you set up HADOOP_INSTALL?

For me, I did following:

export HADOOP_IN= STALL=3D/usr/local/hadoop-2.4.0


Bo


On We= d, Jun 18, 2014 at 4:27 PM, Mohit Anchlia <mohitanchlia@gmail.com= > wrote:
I installed Yarn on a single node and now when I try = to run hadoop fs I get :
=C2=A0
Error: Could not find or load main class FsShell
=C2=A0
It appears to be a HADOOP_CLASSPATH issue and I am wo= ndering how I can build the classpath? Should I find all the jars in HADOOP= _HOME?


--bcaec517c9207fee1304fc27d518--