From hdfs-issues-return-23580-apmail-hadoop-hdfs-issues-archive=hadoop.apache.org@hadoop.apache.org Thu Aug 11 08:17:22 2011 Return-Path: X-Original-To: apmail-hadoop-hdfs-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 E418A7106 for ; Thu, 11 Aug 2011 08:17:21 +0000 (UTC) Received: (qmail 35510 invoked by uid 500); 11 Aug 2011 08:17:11 -0000 Delivered-To: apmail-hadoop-hdfs-issues-archive@hadoop.apache.org Received: (qmail 35289 invoked by uid 500); 11 Aug 2011 08:16:53 -0000 Mailing-List: contact hdfs-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: hdfs-issues@hadoop.apache.org Delivered-To: mailing list hdfs-issues@hadoop.apache.org Received: (qmail 35271 invoked by uid 99); 11 Aug 2011 08:16:49 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 11 Aug 2011 08:16:49 +0000 X-ASF-Spam-Status: No, hits=-2000.8 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, 11 Aug 2011 08:16:47 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 6049BB7380 for ; Thu, 11 Aug 2011 08:16:27 +0000 (UTC) Date: Thu, 11 Aug 2011 08:16:27 +0000 (UTC) From: "Aaron T. Myers (JIRA)" To: hdfs-issues@hadoop.apache.org Message-ID: <527484206.27254.1313050587391.JavaMail.tomcat@hel.zones.apache.org> In-Reply-To: <151931517.25093.1308677389653.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (HDFS-2096) Mavenization of hadoop-hdfs MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HDFS-2096?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13083006#comment-13083006 ] Aaron T. Myers commented on HDFS-2096: -------------------------------------- Hey Alejandro, I gave this patch a try and almost everything looked great. I tried the following with great success: # Importing the projects into Eclipse. Worked flawlessly except for the known issue with generated sources. (BTW, the instructions on the wiki are slightly off. I had to add the directory "{{target/generated-src/test/java}}", not "{{target/generated-test-sources/java}}" as are in the instructions.) # Clean/compile the project from trunk/ # Clean/compile the project from trunk/hdfs # Run a single unit test # Run the full suite of unit tests # Building a plain TAR # Running findbugs The following, however, did not work: # Though the RAT check runs just fine, HDFS fails because of "Too many unapproved licenses: 57". I think a few more directories need to be excluded. # Running checkstyle. I ran {{`mvn compile checkstyle:checkstyle'}} as instrucuted, which failed with the following error: \\ {noformat} [ERROR] Failed to execute goal org.apache.maven.plugins:maven-checkstyle-plugin:2.6:checkstyle (default-cli) on project hadoop-hdfs: An error has occurred in Checkstyle report generation. Failed during checkstyle configuration: cannot initialize module PackageHtml - Unable to instantiate PackageHtml: Unable to instantiate PackageHtmlCheck -> [Help 1] {noformat} \\ # Building a TAR with the native libs. I ran the following from trunk/hadoop-hdfs: {{mvn -DskipTests -Pnative package}}. This failed with the following error: {noformat} [INFO] --- make-maven-plugin:1.0-beta-1:test (test) @ hadoop-hdfs --- [INFO] make: *** No rule to make target `check'. Stop. {noformat} Somewhat curiously, simply compiling the native libs ({{`mvn -Pnative compile'}}) appears to work. > Mavenization of hadoop-hdfs > --------------------------- > > Key: HDFS-2096 > URL: https://issues.apache.org/jira/browse/HDFS-2096 > Project: Hadoop HDFS > Issue Type: Task > Reporter: Alejandro Abdelnur > Assignee: Alejandro Abdelnur > Attachments: HDFS-2096-AA.patch, HDFS-2096-AA.sh, HDFS-2096-AB.patch, HDFS-2096-AB.sh, HDFS-2096-AC.patch, HDFS-2096-AC.sh, HDFS-2096-AD.patch, HDFS-2096-AD.sh, HDFS-2096-AE.patch, HDFS-2096-AE.sh > > > Same as HADOOP-6671 for hdfs -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira