hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron T. Myers (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-2096) Mavenization of hadoop-hdfs
Date Thu, 11 Aug 2011 08:16:27 GMT

    [ 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

        

Mime
View raw message