Return-Path: X-Original-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-yarn-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7F95C10EC3 for ; Mon, 6 Jan 2014 05:04:29 +0000 (UTC) Received: (qmail 41301 invoked by uid 500); 6 Jan 2014 05:04:06 -0000 Delivered-To: apmail-hadoop-yarn-issues-archive@hadoop.apache.org Received: (qmail 41154 invoked by uid 500); 6 Jan 2014 05:03:54 -0000 Mailing-List: contact yarn-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: yarn-issues@hadoop.apache.org Delivered-To: mailing list yarn-issues@hadoop.apache.org Received: (qmail 41116 invoked by uid 99); 6 Jan 2014 05:03:50 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 Jan 2014 05:03:50 +0000 Date: Mon, 6 Jan 2014 05:03:50 +0000 (UTC) From: "Ajesh Kumar (JIRA)" To: yarn-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (YARN-1562) Getting ClassNotFoundException even though jar is included in lib folder MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Ajesh Kumar created YARN-1562: --------------------------------- Summary: Getting ClassNotFoundException even though jar is included in lib folder Key: YARN-1562 URL: https://issues.apache.org/jira/browse/YARN-1562 Project: Hadoop YARN Issue Type: Bug Components: applications Environment: GNU/Linux 3.2.0-29-generic x86_64 Reporter: Ajesh Kumar In YARN, we are getting the below exception. The same is running fine in MRv1.The jar containing CSVReader.class in included in the lib folder. Tried also setting the jar in HADOOP_CLASSPATH as well,but still the same exception. 13/12/31 09:26:37 INFO mapreduce.Job: map 0% reduce 0% 13/12/31 09:26:42 INFO mapreduce.Job: Task Id : attempt_1388462142258_0001_m_000003_0, Status : FAILED Error: java.lang.RuntimeException: Error in configuring object at org.apache.hadoop.util.ReflectionUtils.setJobConf(ReflectionUtils.java:106) at org.apache.hadoop.util.ReflectionUtils.setConf(ReflectionUtils.java:72) at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:130) .......... .......... Caused by: java.lang.NoClassDefFoundError: au/com/bytecode/opencsv/CSVReader at com.tcs.nextgen.pe.wm.datagen.maptask.MPOCDataMapperNewest.configure(MPOCDataMapperNewest.java:56) ... 22 more Caused by: java.lang.ClassNotFoundException: au.com.bytecode.opencsv.CSVReader at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) -- This message was sent by Atlassian JIRA (v6.1.5#6160)