Uploaded image for project: 'Hadoop Map/Reduce'
  1. Hadoop Map/Reduce
  2. MAPREDUCE-2578

Fix eclipse project to work out of the box

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Won't Fix
    • Affects Version/s: 0.22.0
    • Fix Version/s: 0.22.0
    • Component/s: None
    • Labels:
      None

      Description

      Currently "ant eclipse" generates an eclipse project that doesn't actually work properly. A few issues:

      • the "testjar" dir inside src/test/mapred has a java class in no package, which confuses Eclipse since it's in testjar/
      • the gridmix tests have test/org and test/system/org, which makes eclipse thing the system tests belong in a package "system.org.apache.hadoop..."
      • the webapps are in build/ directly, but putting build/ on the classpath breaks things since we then have two copies of every class, etc
      • some parts of the code depend on hadoop.log.dir being defined, which isn't true when running junit inside a stock Eclipse setup

        Attachments

        1. mr-2578.txt
          48 kB
          Todd Lipcon
        2. mr-2578.txt
          4 kB
          Todd Lipcon

          Activity

            People

            • Assignee:
              tlipcon Todd Lipcon
              Reporter:
              tlipcon Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: