Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-3135

Build a war file for HttpFS instead of packaging the server (tomcat) along with the application.

    Details

    • Type: Improvement Improvement
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Affects Version/s: 0.23.2
    • Fix Version/s: None
    • Component/s: build
    • Labels:

      Description

      There are several reason why web applications should not be packaged along with the server that is expected to serve them. For one not all organisations use vanilla tomcat. There are other reasons I won't go into.
      I'm filing this bug because some of our builds failed in trying to download the tomcat.tar.gz file. We then had to manually wget the file and place it in downloads/ to make the build pass. I suspect the download failed because of an overloaded server (Frankly, I don't really know). If someone has ideas, please share them.

        Issue Links

          Activity

          Hide
          Ryan Hennig added a comment -

          I'm troubleshooting a broken build that fails on the Tomcat download, because our Jenkins server doesn't have internet access (by design). Rather, all components are supposed to be fetched from our internal Maven Repository (Artifactory). So while I don't need the war file change, I do think this direct download should be removed.

          Show
          Ryan Hennig added a comment - I'm troubleshooting a broken build that fails on the Tomcat download, because our Jenkins server doesn't have internet access (by design). Rather, all components are supposed to be fetched from our internal Maven Repository (Artifactory). So while I don't need the war file change, I do think this direct download should be removed.
          Hide
          Alejandro Abdelnur added a comment -

          Bundling a Tomcat Server with HttpFS is just a convenience to work out of the box from Hadoop TARBALL, you can grab the WAR file and deployed it any servlet container implementing servlet 2.4 or higher. You'll also have to adapt some of the httpfs scripts system properties settings for Tomcat.

          On the other hand, if you use BigTop packages, only the WAR file and startup scripts are used, and a bigtop-tomcat package provides the Tomcat server.

          As I've commented in HDFS-3866, you could tweak the location from where the tomcat TARBALL is being downloaded.

          Show
          Alejandro Abdelnur added a comment - Bundling a Tomcat Server with HttpFS is just a convenience to work out of the box from Hadoop TARBALL, you can grab the WAR file and deployed it any servlet container implementing servlet 2.4 or higher. You'll also have to adapt some of the httpfs scripts system properties settings for Tomcat. On the other hand, if you use BigTop packages, only the WAR file and startup scripts are used, and a bigtop-tomcat package provides the Tomcat server. As I've commented in HDFS-3866 , you could tweak the location from where the tomcat TARBALL is being downloaded.

            People

            • Assignee:
              Unassigned
              Reporter:
              Ravi Prakash
            • Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

              • Created:
                Updated:

                Development