hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "Hbase/EclipseEnvironment" by JeffHammerbacher
Date Thu, 10 Jun 2010 06:55:47 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "Hbase/EclipseEnvironment" page has been changed by JeffHammerbacher.


  === Configuring Eclipse to build HBase ===
+ As indicated in the [[Maven guide to using Eclipse|http://maven.apache.org/guides/mini/guide-ide-eclipse.html]],
you should navigate to the "Hbasewrk" directory in your workspace and run "mvn eclipse:eclipse"
to generate the .project file to use with HBase. You'll have to manually set the M2_REPO classpath
variable by switching back to Eclipse, right-clicking on the project, selecting "Preferences",
navigating to "Java > Build Path > Classpath Variables", clicking "Add Folder", and
then selecting your local Maven repository (usually ~/.m2/repository").
- Right-click on HBase project and select Properties -> Java Build Path
-  * Remove everything from the Source tab, use "Add Folder" and add:
- {{{
- src/java
- src/test
- }}}
-  * In Libraries tab use "Add JARs" and add all jars under lib and lib/jetty-ext
- Then select Project->Properties->Builders
- Add a new Ant builder. Select the top level build.xml as the build file.
- === Ant build fails, cannot run "sh" ===
- If you don't have "sh" you will need to install it.
- For example on Ubuntu Linux:
- $ sudo apt-get install ssh
- On Windows, start the cygwin installer and select the packages:
-     * openssh - the Net category
- Hopefully HBase should now build successfully in Eclipse without any errors. 

View raw message