FAQ
Eclipse project files
---------------------

Key: HADOOP-1228
URL: https://issues.apache.org/jira/browse/HADOOP-1228
Project: Hadoop
Issue Type: Improvement
Components: build
Reporter: Albert Strasheim
Priority: Minor
Attachments: .classpath, .project

I've created Eclipse project files for Hadoop (to be attached). I've found them very useful for exploring Hadoop and running the unit tests.

The project files can be included in the source repository to make it easy to import Hadoop into Eclipse.

A few features:

- Eclipse automatically calls the Ant build to generate some of the necessary source files
- Single unit tests can be run from inside Eclipse
- Basic Java code style formatter settings for the Hadoop conventions (still needs some work)

The following VM arguments must be specified in the run configuration to get unit tests to run:

-Xms256m -Xmx256m -Dtest.build.data=${project_loc}\build\test\data

Some of the unit tests don't run yet, possibly due to some missing VM flags, the fact that I'm running Windows, or some other reason(s).

TODO:

- Specify native library location(s) once I investigate building of Hadoop's native library
- Get all the unit tests to run

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Search Discussions

  • Albert Strasheim (JIRA) at Apr 8, 2007 at 4:23 pm
    [ https://issues.apache.org/jira/browse/HADOOP-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Albert Strasheim updated HADOOP-1228:
    -------------------------------------

    Attachment: .classpath

    Eclipse project file
    Eclipse project files
    ---------------------

    Key: HADOOP-1228
    URL: https://issues.apache.org/jira/browse/HADOOP-1228
    Project: Hadoop
    Issue Type: Improvement
    Components: build
    Reporter: Albert Strasheim
    Priority: Minor
    Attachments: .classpath, .project


    I've created Eclipse project files for Hadoop (to be attached). I've found them very useful for exploring Hadoop and running the unit tests.
    The project files can be included in the source repository to make it easy to import Hadoop into Eclipse.
    A few features:
    - Eclipse automatically calls the Ant build to generate some of the necessary source files
    - Single unit tests can be run from inside Eclipse
    - Basic Java code style formatter settings for the Hadoop conventions (still needs some work)
    The following VM arguments must be specified in the run configuration to get unit tests to run:
    -Xms256m -Xmx256m -Dtest.build.data=${project_loc}\build\test\data
    Some of the unit tests don't run yet, possibly due to some missing VM flags, the fact that I'm running Windows, or some other reason(s).
    TODO:
    - Specify native library location(s) once I investigate building of Hadoop's native library
    - Get all the unit tests to run
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Albert Strasheim (JIRA) at Apr 8, 2007 at 4:23 pm
    [ https://issues.apache.org/jira/browse/HADOOP-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Albert Strasheim updated HADOOP-1228:
    -------------------------------------

    Attachment: .project

    Eclipse project file
    Eclipse project files
    ---------------------

    Key: HADOOP-1228
    URL: https://issues.apache.org/jira/browse/HADOOP-1228
    Project: Hadoop
    Issue Type: Improvement
    Components: build
    Reporter: Albert Strasheim
    Priority: Minor
    Attachments: .classpath, .project


    I've created Eclipse project files for Hadoop (to be attached). I've found them very useful for exploring Hadoop and running the unit tests.
    The project files can be included in the source repository to make it easy to import Hadoop into Eclipse.
    A few features:
    - Eclipse automatically calls the Ant build to generate some of the necessary source files
    - Single unit tests can be run from inside Eclipse
    - Basic Java code style formatter settings for the Hadoop conventions (still needs some work)
    The following VM arguments must be specified in the run configuration to get unit tests to run:
    -Xms256m -Xmx256m -Dtest.build.data=${project_loc}\build\test\data
    Some of the unit tests don't run yet, possibly due to some missing VM flags, the fact that I'm running Windows, or some other reason(s).
    TODO:
    - Specify native library location(s) once I investigate building of Hadoop's native library
    - Get all the unit tests to run
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Albert Strasheim (JIRA) at Apr 8, 2007 at 5:39 pm
    [ https://issues.apache.org/jira/browse/HADOOP-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Albert Strasheim updated HADOOP-1228:
    -------------------------------------

    Attachment: hadoop-eclipse.zip

    All the pieces needed by Eclipse
    Eclipse project files
    ---------------------

    Key: HADOOP-1228
    URL: https://issues.apache.org/jira/browse/HADOOP-1228
    Project: Hadoop
    Issue Type: Improvement
    Components: build
    Reporter: Albert Strasheim
    Priority: Minor
    Attachments: .classpath, .project, hadoop-eclipse.zip


    I've created Eclipse project files for Hadoop (to be attached). I've found them very useful for exploring Hadoop and running the unit tests.
    The project files can be included in the source repository to make it easy to import Hadoop into Eclipse.
    A few features:
    - Eclipse automatically calls the Ant build to generate some of the necessary source files
    - Single unit tests can be run from inside Eclipse
    - Basic Java code style formatter settings for the Hadoop conventions (still needs some work)
    The following VM arguments must be specified in the run configuration to get unit tests to run:
    -Xms256m -Xmx256m -Dtest.build.data=${project_loc}\build\test\data
    Some of the unit tests don't run yet, possibly due to some missing VM flags, the fact that I'm running Windows, or some other reason(s).
    TODO:
    - Specify native library location(s) once I investigate building of Hadoop's native library
    - Get all the unit tests to run
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Mark Butler (JIRA) at Oct 15, 2007 at 4:41 pm
    [ https://issues.apache.org/jira/browse/HADOOP-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12534890 ]

    Mark Butler commented on HADOOP-1228:
    -------------------------------------

    Unfortunately it is not possible to have a standard project file for Eclipse because

    org.apache.hadoop.record.compiler.ant.RccTask

    needs ant.jar. This was removed here https://issues.apache.org/jira/browse/HADOOP-1726

    so consequently within Eclipse we do not know where it is, as I am not aware of way to reference the default Java classpath in Eclipse.

    I am guessing this is not a big problem, because most people on the project do not use Eclipse. Users who do should follow the advice here

    http://wiki.apache.org/lucene-hadoop/EclipseEnvironment

    I also enclose a patch that does all of the Eclipse configuration except the ant.jar part.


    Eclipse project files
    ---------------------

    Key: HADOOP-1228
    URL: https://issues.apache.org/jira/browse/HADOOP-1228
    Project: Hadoop
    Issue Type: Improvement
    Components: build
    Reporter: Albert Strasheim
    Priority: Minor
    Attachments: .classpath, .project, hadoop-eclipse.zip


    I've created Eclipse project files for Hadoop (to be attached). I've found them very useful for exploring Hadoop and running the unit tests.
    The project files can be included in the source repository to make it easy to import Hadoop into Eclipse.
    A few features:
    - Eclipse automatically calls the Ant build to generate some of the necessary source files
    - Single unit tests can be run from inside Eclipse
    - Basic Java code style formatter settings for the Hadoop conventions (still needs some work)
    The following VM arguments must be specified in the run configuration to get unit tests to run:
    -Xms256m -Xmx256m -Dtest.build.data=${project_loc}\build\test\data
    Some of the unit tests don't run yet, possibly due to some missing VM flags, the fact that I'm running Windows, or some other reason(s).
    TODO:
    - Specify native library location(s) once I investigate building of Hadoop's native library
    - Get all the unit tests to run
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Mark Butler (JIRA) at Oct 15, 2007 at 4:43 pm
    [ https://issues.apache.org/jira/browse/HADOOP-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Mark Butler updated HADOOP-1228:
    --------------------------------

    Attachment: eclipse.patch

    Patch file that does adds Eclipse files that does most of the configuration required except the ant.jar issue.
    Eclipse project files
    ---------------------

    Key: HADOOP-1228
    URL: https://issues.apache.org/jira/browse/HADOOP-1228
    Project: Hadoop
    Issue Type: Improvement
    Components: build
    Reporter: Albert Strasheim
    Priority: Minor
    Attachments: .classpath, .project, eclipse.patch, hadoop-eclipse.zip


    I've created Eclipse project files for Hadoop (to be attached). I've found them very useful for exploring Hadoop and running the unit tests.
    The project files can be included in the source repository to make it easy to import Hadoop into Eclipse.
    A few features:
    - Eclipse automatically calls the Ant build to generate some of the necessary source files
    - Single unit tests can be run from inside Eclipse
    - Basic Java code style formatter settings for the Hadoop conventions (still needs some work)
    The following VM arguments must be specified in the run configuration to get unit tests to run:
    -Xms256m -Xmx256m -Dtest.build.data=${project_loc}\build\test\data
    Some of the unit tests don't run yet, possibly due to some missing VM flags, the fact that I'm running Windows, or some other reason(s).
    TODO:
    - Specify native library location(s) once I investigate building of Hadoop's native library
    - Get all the unit tests to run
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Mark Butler (JIRA) at Oct 15, 2007 at 4:49 pm
    [ https://issues.apache.org/jira/browse/HADOOP-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Mark Butler updated HADOOP-1228:
    --------------------------------

    Attachment: eclipse.patch

    Patch file that provides files needed to compile Hadoop in Eclipse, although the location of ant.jar still needs configuring.
    Eclipse project files
    ---------------------

    Key: HADOOP-1228
    URL: https://issues.apache.org/jira/browse/HADOOP-1228
    Project: Hadoop
    Issue Type: Improvement
    Components: build
    Reporter: Albert Strasheim
    Priority: Minor
    Attachments: .classpath, .project, eclipse.patch, hadoop-eclipse.zip


    I've created Eclipse project files for Hadoop (to be attached). I've found them very useful for exploring Hadoop and running the unit tests.
    The project files can be included in the source repository to make it easy to import Hadoop into Eclipse.
    A few features:
    - Eclipse automatically calls the Ant build to generate some of the necessary source files
    - Single unit tests can be run from inside Eclipse
    - Basic Java code style formatter settings for the Hadoop conventions (still needs some work)
    The following VM arguments must be specified in the run configuration to get unit tests to run:
    -Xms256m -Xmx256m -Dtest.build.data=${project_loc}\build\test\data
    Some of the unit tests don't run yet, possibly due to some missing VM flags, the fact that I'm running Windows, or some other reason(s).
    TODO:
    - Specify native library location(s) once I investigate building of Hadoop's native library
    - Get all the unit tests to run
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Mark Butler (JIRA) at Oct 15, 2007 at 4:49 pm
    [ https://issues.apache.org/jira/browse/HADOOP-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Mark Butler updated HADOOP-1228:
    --------------------------------

    Attachment: (was: eclipse.patch)
    Eclipse project files
    ---------------------

    Key: HADOOP-1228
    URL: https://issues.apache.org/jira/browse/HADOOP-1228
    Project: Hadoop
    Issue Type: Improvement
    Components: build
    Reporter: Albert Strasheim
    Priority: Minor
    Attachments: .classpath, .project, eclipse.patch, hadoop-eclipse.zip


    I've created Eclipse project files for Hadoop (to be attached). I've found them very useful for exploring Hadoop and running the unit tests.
    The project files can be included in the source repository to make it easy to import Hadoop into Eclipse.
    A few features:
    - Eclipse automatically calls the Ant build to generate some of the necessary source files
    - Single unit tests can be run from inside Eclipse
    - Basic Java code style formatter settings for the Hadoop conventions (still needs some work)
    The following VM arguments must be specified in the run configuration to get unit tests to run:
    -Xms256m -Xmx256m -Dtest.build.data=${project_loc}\build\test\data
    Some of the unit tests don't run yet, possibly due to some missing VM flags, the fact that I'm running Windows, or some other reason(s).
    TODO:
    - Specify native library location(s) once I investigate building of Hadoop's native library
    - Get all the unit tests to run
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
  • Mark Butler (JIRA) at Oct 15, 2007 at 4:51 pm
    [ https://issues.apache.org/jira/browse/HADOOP-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Mark Butler updated HADOOP-1228:
    --------------------------------

    Comment: was deleted
    Eclipse project files
    ---------------------

    Key: HADOOP-1228
    URL: https://issues.apache.org/jira/browse/HADOOP-1228
    Project: Hadoop
    Issue Type: Improvement
    Components: build
    Reporter: Albert Strasheim
    Priority: Minor
    Attachments: .classpath, .project, eclipse.patch, hadoop-eclipse.zip


    I've created Eclipse project files for Hadoop (to be attached). I've found them very useful for exploring Hadoop and running the unit tests.
    The project files can be included in the source repository to make it easy to import Hadoop into Eclipse.
    A few features:
    - Eclipse automatically calls the Ant build to generate some of the necessary source files
    - Single unit tests can be run from inside Eclipse
    - Basic Java code style formatter settings for the Hadoop conventions (still needs some work)
    The following VM arguments must be specified in the run configuration to get unit tests to run:
    -Xms256m -Xmx256m -Dtest.build.data=${project_loc}\build\test\data
    Some of the unit tests don't run yet, possibly due to some missing VM flags, the fact that I'm running Windows, or some other reason(s).
    TODO:
    - Specify native library location(s) once I investigate building of Hadoop's native library
    - Get all the unit tests to run
    --
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcommon-dev @
categorieshadoop
postedApr 8, '07 at 4:23p
activeOct 15, '07 at 4:51p
posts9
users1
websitehadoop.apache.org...
irc#hadoop

1 user in discussion

Mark Butler (JIRA): 9 posts

People

Translate

site design / logo © 2022 Grokbase