You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Todd Lipcon (JIRA)" <ji...@apache.org> on 2011/06/08 21:46:00 UTC
[jira] [Created] (MAPREDUCE-2578) Fix eclipse project to work out
of the box
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
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
[jira] [Commented] (MAPREDUCE-2578) Fix eclipse project to work out
of the box
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048207#comment-13048207 ]
Eli Collins commented on MAPREDUCE-2578:
----------------------------------------
+1 lgtm
> 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, 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
[jira] [Updated] (MAPREDUCE-2578) Fix eclipse project to work out
of the box
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ 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
[jira] [Resolved] (MAPREDUCE-2578) Fix eclipse project to work out
of the box
Posted by "Todd Lipcon (Resolved) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon resolved MAPREDUCE-2578.
------------------------------------
Resolution: Won't Fix
This has been obsoleted by the mavenization in trunk
> 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, 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.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (MAPREDUCE-2578) Fix eclipse project to work out
of the box
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13046341#comment-13046341 ]
Hadoop QA commented on MAPREDUCE-2578:
--------------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12481880/mr-2578.txt
against trunk revision 1133226.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 47 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
-1 findbugs. The patch appears to introduce 1 new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
-1 core tests. The patch failed these core unit tests:
org.apache.hadoop.cli.TestMRCLI
org.apache.hadoop.fs.TestFileSystem
org.apache.hadoop.mapred.TestDebugScript
org.apache.hadoop.mapred.TestJobClient
org.apache.hadoop.mapred.TestJvmReuse
org.apache.hadoop.mapred.TestMiniMRDFSSort
org.apache.hadoop.mapred.TestShuffleJobToken
org.apache.hadoop.mapred.TestTaskFail
org.apache.hadoop.mapred.TestWebUIAuthorization
org.apache.hadoop.mapreduce.TestMRJobClient
-1 contrib tests. The patch failed contrib unit tests.
+1 system test framework. The patch passed system test framework compile.
Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/367//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/367//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/367//console
This message is automatically generated.
> 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, 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
[jira] [Updated] (MAPREDUCE-2578) Fix eclipse project to work out
of the box
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated MAPREDUCE-2578:
-----------------------------------
Status: Patch Available (was: Open)
> 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
[jira] [Issue Comment Edited] (MAPREDUCE-2578) Fix eclipse project
to work out of the box
Posted by "Eli Collins (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048207#comment-13048207 ]
Eli Collins edited comment on MAPREDUCE-2578 at 6/12/11 3:13 AM:
-----------------------------------------------------------------
+1 lgtm (pending Hudson which currently looks borked)
was (Author: eli):
+1 lgtm
> 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, 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
[jira] [Commented] (MAPREDUCE-2578) Fix eclipse project to work out
of the box
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13046167#comment-13046167 ]
Todd Lipcon commented on MAPREDUCE-2578:
----------------------------------------
this patch needs to be applied after: "svn mv src/test/mapred/testjar src/test/testjar"
> 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
[jira] [Commented] (MAPREDUCE-2578) Fix eclipse project to work out
of the box
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048209#comment-13048209 ]
Todd Lipcon commented on MAPREDUCE-2578:
----------------------------------------
Yea, this probably needs another rev -- the first hudson result seems like some legit failures. Second one is due to HADOOP-7383.
> 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, 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
[jira] [Commented] (MAPREDUCE-2578) Fix eclipse project to work out
of the box
Posted by "Hadoop QA (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13048190#comment-13048190 ]
Hadoop QA commented on MAPREDUCE-2578:
--------------------------------------
-1 overall. Here are the results of testing the latest attachment
http://issues.apache.org/jira/secure/attachment/12481880/mr-2578.txt
against trunk revision 1134180.
+1 @author. The patch does not contain any @author tags.
+1 tests included. The patch appears to include 47 new or modified tests.
+1 javadoc. The javadoc tool did not generate any warning messages.
+1 javac. The applied patch does not increase the total number of javac compiler warnings.
+1 findbugs. The patch does not introduce any new Findbugs (version 1.3.9) warnings.
+1 release audit. The applied patch does not increase the total number of release audit warnings.
-1 core tests. The patch failed these core unit tests:
org.apache.hadoop.cli.TestMRCLI
org.apache.hadoop.conf.TestNoDefaultsJobConf
org.apache.hadoop.examples.terasort.TestTeraSort
org.apache.hadoop.fs.TestDFSIO
org.apache.hadoop.fs.TestFileSystem
org.apache.hadoop.ipc.TestSocketFactory
org.apache.hadoop.mapred.join.TestDatamerge
org.apache.hadoop.mapred.lib.TestDelegatingInputFormat
org.apache.hadoop.mapred.pipes.TestPipes
org.apache.hadoop.mapred.TestBadRecords
org.apache.hadoop.mapred.TestClusterMapReduceTestCase
org.apache.hadoop.mapred.TestCommandLineJobSubmission
org.apache.hadoop.mapred.TestCompressedEmptyMapOutputs
org.apache.hadoop.mapred.TestControlledMapReduceJob
org.apache.hadoop.mapred.TestDebugScript
org.apache.hadoop.mapred.TestFileInputFormat
org.apache.hadoop.mapred.TestJobClient
org.apache.hadoop.mapred.TestJobDirCleanup
org.apache.hadoop.mapred.TestJobHistory
org.apache.hadoop.mapred.TestJobName
org.apache.hadoop.mapred.TestJobQueueInformation
org.apache.hadoop.mapred.TestJobStatusPersistency
org.apache.hadoop.mapred.TestJobSysDirWithDFS
org.apache.hadoop.mapred.TestJobTrackerXmlJsp
org.apache.hadoop.mapred.TestJvmReuse
org.apache.hadoop.mapred.TestLazyOutput
org.apache.hadoop.mapred.TestMapredHeartbeat
org.apache.hadoop.mapred.TestMapredSystemDir
org.apache.hadoop.mapred.TestMiniMRChildTask
org.apache.hadoop.mapred.TestMiniMRClasspath
org.apache.hadoop.mapred.TestMiniMRDFSCaching
org.apache.hadoop.mapred.TestMiniMRDFSSort
org.apache.hadoop.mapred.TestMiniMRWithDFSWithDistinctUsers
org.apache.hadoop.mapred.TestMiniMRWithDFS
org.apache.hadoop.mapred.TestMultipleLevelCaching
org.apache.hadoop.mapred.TestNodeRefresh
org.apache.hadoop.mapred.TestRecoveryManager
org.apache.hadoop.mapred.TestReduceFetchFromPartialMem
org.apache.hadoop.mapred.TestReduceFetch
org.apache.hadoop.mapred.TestSetupAndCleanupFailure
org.apache.hadoop.mapred.TestSeveral
org.apache.hadoop.mapred.TestShuffleJobToken
org.apache.hadoop.mapred.TestSpecialCharactersInOutputPath
org.apache.hadoop.mapred.TestSubmitJob
org.apache.hadoop.mapred.TestTaskFail
org.apache.hadoop.mapred.TestWebUIAuthorization
org.apache.hadoop.mapreduce.lib.input.TestCombineFileInputFormat
org.apache.hadoop.mapreduce.lib.input.TestDelegatingInputFormat
org.apache.hadoop.mapreduce.lib.join.TestJoinDatamerge
org.apache.hadoop.mapreduce.lib.join.TestJoinProperties
org.apache.hadoop.mapreduce.security.TestBinaryTokenFile
org.apache.hadoop.mapreduce.security.TestTokenCacheOldApi
org.apache.hadoop.mapreduce.security.TestTokenCache
org.apache.hadoop.mapreduce.TestMapReduceLazyOutput
org.apache.hadoop.mapreduce.TestMRJobClient
org.apache.hadoop.security.authorize.TestServiceLevelAuthorization
org.apache.hadoop.security.TestMapredGroupMappingServiceRefresh
org.apache.hadoop.tools.TestCopyFiles
org.apache.hadoop.tools.TestDistCh
org.apache.hadoop.tools.TestHadoopArchives
org.apache.hadoop.tools.TestHarFileSystem
-1 contrib tests. The patch failed contrib unit tests.
+1 system test framework. The patch passed system test framework compile.
Test results: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/378//testReport/
Findbugs warnings: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/378//artifact/trunk/build/test/findbugs/newPatchFindbugsWarnings.html
Console output: https://builds.apache.org/job/PreCommit-MAPREDUCE-Build/378//console
This message is automatically generated.
> 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, 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
[jira] [Updated] (MAPREDUCE-2578) Fix eclipse project to work out
of the box
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ 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
Also fixes src/test/mapred-site.xml to get properly copied into build/test/conf which makes more sense than putting src/test on the classpath for it.
> 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, 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
[jira] [Updated] (MAPREDUCE-2578) Fix eclipse project to work out
of the box
Posted by "Todd Lipcon (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/MAPREDUCE-2578?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Todd Lipcon updated MAPREDUCE-2578:
-----------------------------------
Status: Open (was: Patch Available)
> 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, 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