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 63FC9EBCF for ; Tue, 27 Nov 2012 13:06:23 +0000 (UTC) Received: (qmail 1088 invoked by uid 500); 27 Nov 2012 13:06:18 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 1015 invoked by uid 500); 27 Nov 2012 13:06:18 -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 990 invoked by uid 99); 27 Nov 2012 13:06:18 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2012 13:06:18 +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 (athena.apache.org: domain of bharathvissapragada1990@gmail.com designates 209.85.210.48 as permitted sender) Received: from [209.85.210.48] (HELO mail-da0-f48.google.com) (209.85.210.48) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Nov 2012 13:06:13 +0000 Received: by mail-da0-f48.google.com with SMTP id k18so3614131dae.35 for ; Tue, 27 Nov 2012 05:05:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=Dwsmmqa2iISWP5rNENQmSHfu/bxiqIXCzU/NI9VLfLk=; b=YpsVTnkSbVmfpkd7eGEkssTGDetEfWFQ3l0sP5mPGSM7EnR26inBuJScNkE4oSH4iC DrLMO9OaLvJ6KlxRIhl1B8wmMDTr9M1yIXXu5oJS+wEV0Bh/nQMu7djhI2VAO7L8YjDh hJ6slEHzGWNohcZHtkjudF2DIwT8NY9JpoonOUUUdmTZ5t2pdbyr8A1OCrqrlqRsuokV zLo/XcSHknStuxFTcSkr6iFl1zqjjVPEqi51KrCgOn6q4dkJ5hFNWHBAMd3k29wHdzH9 KCAV+U0qDvmbPA7BZm6O7IPq/p4Ia852NZ0DAIWfl/AXpmaG9l83bcsmcdXmjpT9WmHX PMag== Received: by 10.68.238.34 with SMTP id vh2mr48473700pbc.6.1354021553118; Tue, 27 Nov 2012 05:05:53 -0800 (PST) MIME-Version: 1.0 Received: by 10.67.14.9 with HTTP; Tue, 27 Nov 2012 05:05:32 -0800 (PST) In-Reply-To: References: From: bharath vissapragada Date: Tue, 27 Nov 2012 18:35:32 +0530 Message-ID: Subject: Re: ClassNotFoundException: org.jdom2.JDOMException To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=e89a8ff245b5b11d0304cf79b513 X-Virus-Checked: Checked by ClamAV on apache.org --e89a8ff245b5b11d0304cf79b513 Content-Type: text/plain; charset=ISO-8859-1 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 --e89a8ff245b5b11d0304cf79b513 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi,

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


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:http://researchweb.iiit.ac.in/~bharath.v
--e89a8ff245b5b11d0304cf79b513--