hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeffrey Naisbitt (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HADOOP-7277) Add Eclipse launch tasks for the 0.20-security branch
Date Thu, 12 May 2011 19:55:47 GMT

    [ https://issues.apache.org/jira/browse/HADOOP-7277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13032623#comment-13032623
] 

Jeffrey Naisbitt commented on HADOOP-7277:
------------------------------------------

We should probably also add .launches to the svn:ignore property.  Do you want to do that,
Chris?

> Add Eclipse launch tasks for the 0.20-security branch
> -----------------------------------------------------
>
>                 Key: HADOOP-7277
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7277
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 0.20.204.0
>            Reporter: Jeffrey Naisbitt
>            Assignee: Jeffrey Naisbitt
>            Priority: Minor
>             Fix For: 0.20.205.0
>
>         Attachments: HADOOP-7277-0.20s.patch
>
>
> This is to add the eclipse launchers from HADOOP-5911 to the 0.20 security branch.
> Eclipse has a notion of "run configuration", which encapsulates what's needed to run
or debug an application. I use this quite a bit to start various Hadoop daemons in debug mode,
with breakpoints set, to inspect state and what not.
> This is simply configuration, so no tests are provided. After running "ant eclipse" and
refreshing your project, you should see entries in the Run Configurations and Debug Configurations
for launching the various hadoop daemons from within eclipse. There's a template for testing
a specific test, and also templates to run all the tests, the job tracker, and a task tracker.
It's likely that some parameters need to be further tweaked to have the same behavior as "ant
test", but for most tests, this works.
> This also requires a small change to build.xml for the eclipse classpath.

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

Mime
View raw message