Return-Path: X-Original-To: apmail-hadoop-common-user-archive@www.apache.org Delivered-To: apmail-hadoop-common-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 72722EC24 for ; Tue, 27 Nov 2012 13:20:25 +0000 (UTC) Received: (qmail 50930 invoked by uid 500); 27 Nov 2012 13:20:19 -0000 Delivered-To: apmail-hadoop-common-user-archive@hadoop.apache.org Received: (qmail 50845 invoked by uid 500); 27 Nov 2012 13:20:19 -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 50838 invoked by uid 99); 27 Nov 2012 13:20:19 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2012 13:20:19 +0000 X-ASF-Spam-Status: No, hits=1.7 required=5.0 tests=FREEMAIL_ENVFROM_END_DIGIT,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of hadoop.hive04@gmail.com designates 209.85.214.194 as permitted sender) Received: from [209.85.214.194] (HELO mail-ob0-f194.google.com) (209.85.214.194) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2012 13:20:13 +0000 Received: by mail-ob0-f194.google.com with SMTP id lz20so1726147obb.5 for ; Tue, 27 Nov 2012 05:19:52 -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=NZOhMNjN1ZO/hkGd6hZdrxyE7Ce9n3TEYYNd5pTqfw8=; b=EyOJZ+vlpVm8pC7NpMsTAwqpizLOEqxjucW05TXVmxYakQFHGrvQDKgzcN4N1GEAa5 MUHGixPUzsZGsfSM3WhhiGhZjG2IPgmb3D7FNYOLmYaDud9MME9uiwHOuZtuPxDwjNzf ddgKU6v1yPPZpVzDfUKi+Aegd3aiUCZmsHkZ9Fm+IJLmQ6FhCWA6qzVspxIkVzgr97FU 78wixLIRvLvjo0dO1JB2bZdj/OCrAhNXBMgP58p9JuEFAAhNSdbzfV5gZwPfmgvEVajI yp5+mZQysc/qvvHZEKbhY2vmeJ7SkEslw6uc2+hBDw0A6OqADrH14y9ZVoTGySQ5VCBc Dh3w== MIME-Version: 1.0 Received: by 10.60.26.165 with SMTP id m5mr13176238oeg.4.1354022391921; Tue, 27 Nov 2012 05:19:51 -0800 (PST) Received: by 10.76.20.101 with HTTP; Tue, 27 Nov 2012 05:19:51 -0800 (PST) In-Reply-To: References: Date: Tue, 27 Nov 2012 18:49:51 +0530 Message-ID: Subject: Re: ClassNotFoundException: org.jdom2.JDOMException From: dyuti a To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=e89a8ff1c5ccb03d8804cf79e7e6 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff1c5ccb03d8804cf79e7e6 Content-Type: text/plain; charset=ISO-8859-1 Hi Bharath, yes i have added all those jars. Thanks, dti On Tue, Nov 27, 2012 at 6:35 PM, bharath vissapragada < bharathvissapragada1990@gmail.com> wrote: > Hi, > > Did you add JDOM jar [1] to your class path ? > > [1] http://www.jdom.org/downloads/index.html > > Thanks, > > > On Tue, Nov 27, 2012 at 6:30 PM, dyuti a wrote: > >> Hi All, >> am working on XML processing in hadoop , followed the steps from the >> blog http://xmlandhadoop.blogspot.in/.I have added all jars in >> classpath but still getting the below exception. is there anything that i >> missed out? >> >> >> Error: java.lang.ClassNotFoundException: org.jdom2.JDOMException >> at java.net.URLClassLoader$1.run(URLClassLoader.java:202) >> at java.security.AccessController.doPrivileged(Native Method) >> at java.net.URLClassLoader.findClass(URLClassLoader.java:190) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:307) >> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) >> at java.lang.ClassLoader.loadClass(ClassLoader.java:248) >> at java.lang.Class.forName0(Native Method) >> at java.lang.Class.forName(Class.java:247) >> at >> org.apache.hadoop.conf.Configuration.getClassByName(Configuration.java:951) >> at >> org.apache.hadoop.conf.Configuration.getClass(Configuration.java:1002) >> at >> org.apache.hadoop.mapreduce.JobContext.getMapperClass(JobContext.java:217) >> at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:602) >> at org.apache.hadoop.mapred.MapTask.run(MapTask.java:323) >> at org.apache.hadoop.mapred.Child$4.run(Child.java:270) >> at java.security.AccessController.doPrivileged(Native Method) >> at javax.security.auth >> >> >> Thanks for your help in advance! >> >> Regards, >> dti >> >> >> > > > -- > Regards, > Bharath .V > w:http://researchweb.iiit.ac.in/~bharath.v > --e89a8ff1c5ccb03d8804cf79e7e6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Bharath,
yes i have added all those j= ars.

Thanks,
dti
=

On Tue, Nov 27, 2012 at 6:35 PM, bharath vissapragada <= ;bha= rathvissapragada1990@gmail.com> wrote:
Hi,

Did you add JDOM jar [1] to your class path ?=A0

<= div>
Thanks,


On Tue, Nov 27, 2012 at 6:30 PM, dyuti a <hadoop.hive04@gmail.com> wrote:
Hi All,
am working on=A0XML proce= ssing in hadoop , followed the steps from the blog=A0=A0http://xmlandhadoop.blog= spot.in/.I have added all jars in classpath but still getting t= he below exception. is there anything that i missed out?


Error: java.lang.ClassNotFoundException:= org.jdom2.JDOMException
=A0 =A0 =A0 =A0 at java.net.URLClassLoad= er$1.run(URLClassLoader.java:202)
=A0 =A0 =A0 =A0 at java.securit= y.AccessController.doPrivileged(Native Method)
=A0 =A0 =A0 =A0 at java.net.URLClassLoader.findClass(URLClassLoader.ja= va:190)
=A0 =A0 =A0 =A0 at java.lang.ClassLoader.loadClass(ClassL= oader.java:307)
=A0 =A0 =A0 =A0 at sun.misc.Launcher$AppClassLoad= er.loadClass(Launcher.java:301)
=A0 =A0 =A0 =A0 at java.lang.ClassLoader.loadClass(ClassLoader.java:24= 8)
=A0 =A0 =A0 =A0 at java.lang.Class.forName0(Native Method)
=A0 =A0 =A0 =A0 at java.lang.Class.forName(Class.java:247)
=A0 =A0 =A0 =A0 at org.apache.hadoop.conf.Configuration.getClassByName(Con= figuration.java:951)
=A0 =A0 =A0 =A0 at org.apache.hadoop.conf.Configuration.getClass(Confi= guration.java:1002)
=A0 =A0 =A0 =A0 at org.apache.hadoop.mapreduc= e.JobContext.getMapperClass(JobContext.java:217)
=A0 =A0 =A0 =A0 = at org.apache.hadoop.mapred.MapTask.runNewMapper(MapTask.java:602)
=A0 =A0 =A0 =A0 at org.apache.hadoop.mapred.MapTask.run(MapTask.java:3= 23)
=A0 =A0 =A0 =A0 at org.apache.hadoop.mapred.Child$4.run(Child= .java:270)
=A0 =A0 =A0 =A0 at java.security.AccessController.doPr= ivileged(Native Method)
=A0 =A0 =A0 =A0 at javax.security.auth


Thanks for your help in advance!

Regards,<= /span>
dti





--
Regards,
Bharath .V
w:= ht= tp://researchweb.iiit.ac.in/~bharath.v

--e89a8ff1c5ccb03d8804cf79e7e6--