hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alejandro Abdelnur (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDFS-3866) HttpFS build should download Tomcat via Maven instead of directly
Date Fri, 31 Aug 2012 03:49:07 GMT

    [ https://issues.apache.org/jira/browse/HDFS-3866?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13445605#comment-13445605

Alejandro Abdelnur commented on HDFS-3866:

HttpFS uses a Tomcat server to run the service, not just Tomcat JARs. A Tomcat server is much
more than just the JARs (available in Maven), it has a special layout, scripts and configuration
files. Tomcat server TARBALLs are not available in Maven.

To help build this in-house without downloading Tomcat TARBALL from the internet you could
modify the property that sets the download URL to an internal web server where you stage the

One thing we could do as part of this JIRA is to make the download location to be a POM property
so you can easily override it with -D or edit in the properties section.

> HttpFS build should download Tomcat via Maven instead of directly
> -----------------------------------------------------------------
>                 Key: HDFS-3866
>                 URL: https://issues.apache.org/jira/browse/HDFS-3866
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: build
>    Affects Versions: 2.0.0-alpha
>         Environment: CDH4 build on CentOS 6.2
>            Reporter: Ryan Hennig
>            Priority: Minor
> When trying to enable a build of CDH4 in Jenkins, I got a build error due to an attempt
to download Tomcat from the internet directly instead of via Maven and thus our internal Maven
> The problem is due to this line in src/hadoop-hdfs-project/hadoop-hdfs-httpfs/target/antrun/build-main.xml:
>   <get dest="downloads/tomcat.tar.gz" skipexisting="true" verbose="true" src="http://archive.apache.org/dist/tomcat/tomcat-6/v6.0.32/bin/apache-tomcat-6.0.32.tar.gz"/>
> This build.xml is generated from src/hadoop-hdfs-project/hadoop-hdfs-httpfs/pom.xml:
> <get src="http://archive.apache.org/dist/tomcat/tomcat-6/v${tomcat.version}/bin/apache-tomcat-${tomcat.version}.tar.gz"
 dest="downloads/tomcat.tar.gz" verbose="true" skipexisting="true"/>
> Instead of directly downloading from a hardcoded location, the Tomcat dependency should
be managed by Maven.  This would enable the use of a local repository for build machines without
internet access.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message