Return-Path: X-Original-To: apmail-hadoop-mapreduce-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-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 7D4F278B2 for ; Thu, 1 Dec 2011 16:35:03 +0000 (UTC) Received: (qmail 45891 invoked by uid 500); 1 Dec 2011 16:35:03 -0000 Delivered-To: apmail-hadoop-mapreduce-issues-archive@hadoop.apache.org Received: (qmail 45861 invoked by uid 500); 1 Dec 2011 16:35:03 -0000 Mailing-List: contact mapreduce-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: mapreduce-issues@hadoop.apache.org Delivered-To: mailing list mapreduce-issues@hadoop.apache.org Received: (qmail 45853 invoked by uid 99); 1 Dec 2011 16:35:03 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2011 16:35:03 +0000 X-ASF-Spam-Status: No, hits=-2001.2 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 01 Dec 2011 16:35:00 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id F41A4AECC6 for ; Thu, 1 Dec 2011 16:34:39 +0000 (UTC) Date: Thu, 1 Dec 2011 16:34:39 +0000 (UTC) From: "Hitesh Shah (Commented) (JIRA)" To: mapreduce-issues@hadoop.apache.org Message-ID: <837264619.31297.1322757280001.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <1080893600.30257.1322731540246.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (MAPREDUCE-3492) mapreduce examples jar is not built properly MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/MAPREDUCE-3492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13160970#comment-13160970 ] Hitesh Shah commented on MAPREDUCE-3492: ---------------------------------------- Wordcount should now be part of hadoop-mapreduce-project/hadoop=mapreduce-examples/ which is now part of the mavenized build. > mapreduce examples jar is not built properly > -------------------------------------------- > > Key: MAPREDUCE-3492 > URL: https://issues.apache.org/jira/browse/MAPREDUCE-3492 > Project: Hadoop Map/Reduce > Issue Type: Bug > Components: examples > Reporter: Ravi Gummadi > > When I try to build examples jar using "ant -Dresolvers=internal examples" in trunk, the jar created in build/ directory is of very small size, may be empty jar. And trying to run wordcount job gives the error: > Exception in thread "main" java.lang.ClassNotFoundException: org.apache.hadoop.examples.ExampleDriver > 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 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.util.RunJar.main(RunJar.java:193) -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira