hadoop-mapreduce-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Lipcon (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAPREDUCE-2578) Fix eclipse project to work out of the box
Date Wed, 08 Jun 2011 19:49:58 GMT

     [ https://issues.apache.org/jira/browse/MAPREDUCE-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Todd Lipcon updated MAPREDUCE-2578:
-----------------------------------

    Attachment: mr-2578.txt

- moves the webapps inside build/web/webapps instead of just build/webapps (see HDFS-1980
for equivalent HDFS change)
- moves testjar src into src/testjar instead of src/mapred/testjar
- adds build/test/conf to eclipse classpath so the test mapred-site.xml is picked up
- fixes one case of hadoop.log.dir not having any sensible default in JobHistory

> Fix eclipse project to work out of the box
> ------------------------------------------
>
>                 Key: MAPREDUCE-2578
>                 URL: https://issues.apache.org/jira/browse/MAPREDUCE-2578
>             Project: Hadoop Map/Reduce
>          Issue Type: Bug
>    Affects Versions: 0.22.0
>            Reporter: Todd Lipcon
>            Assignee: Todd Lipcon
>             Fix For: 0.22.0
>
>         Attachments: mr-2578.txt
>
>
> 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

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message