Uploaded image for project: 'Hive'
  1. Hive
  2. HIVE-986

Ant "eclipse-files" target is broken for Hadoop 0.20

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.5.0
    • Build Infrastructure
    • None
    • Reviewed
    • eclipse 0.20 servlet-api jetty

    Description

      Hadoop 0.20 depends on servlet-api-2.5-6.1.14.jar and jetty-6.1.14.jar/jetty-util-6.1.11.jar instead of servlet-api.jar and jetty-5.1.4.jar.

      The eclipse-files ant target needs to be updated to take this account (which involves editing eclipse-templates/.classpath)
      and adding some conditional logic to build.xml

      Here's what you see currently after importing into eclipse:

      Project 'apache-hive' is missing required library: 'build/hadoopcore/hadoop-0.20.0/lib/jetty-5.1.4.jar'
      Project 'apache-hive' is missing required library: 'build/hadoopcore/hadoop-0.20.0/lib/servlet-api.jar'

      Attachments

        1. HIVE-986.1.patch
          4 kB
          Zheng Shao

        Activity

          People

            zshao Zheng Shao
            cwsteinbach Carl Steinbach
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: