Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3866

HttpFS POM should have property where to download tomcat from

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-alpha
    • Fix Version/s: 2.0.2-alpha
    • Component/s: build
    • Labels:
      None
    • Environment:

      CDH4 build on CentOS 6.2

    • Hadoop Flags:
      Reviewed

      Description

      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 repository.

      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.

      1. HDFS-3866.patch
        1 kB
        Plamen Jeliazkov

        Issue Links

          Activity

          Ryan Hennig created issue -
          Ryan Hennig made changes -
          Field Original Value New Value
          Link This issue relates to HDFS-3135 [ HDFS-3135 ]
          Plamen Jeliazkov made changes -
          Assignee Plamen Jeliazkov [ zero45 ]
          Plamen Jeliazkov made changes -
          Attachment HDFS-3866.patch [ 12543751 ]
          Plamen Jeliazkov made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Alejandro Abdelnur made changes -
          Summary HttpFS build should download Tomcat via Maven instead of directly HttpFS POM should have property where to download tomcat from
          Alejandro Abdelnur made changes -
          Issue Type Bug [ 1 ] Improvement [ 4 ]
          Alejandro Abdelnur made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags Reviewed [ 10343 ]
          Fix Version/s 2.2.0-alpha [ 12322472 ]
          Resolution Fixed [ 1 ]
          Arun C Murthy made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Plamen Jeliazkov
              Reporter:
              Ryan Hennig
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development