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] Trivial Update of "HbaseEclipseEnvironment" by EvgenyRyabitskiy
Date Fri, 27 Feb 2009 21:55:50 GMT
Dear Wiki user,

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

The following page has been changed by EvgenyRyabitskiy:

New page:
= Working with HBase under Eclipse =

Here are instructions for setting up a development environment for Hbase the Eclipse IDE.
This is analog for EclipseEnvironment guide with some changes acording to Hbase specific.

This document (currently) assumes you already have Eclipse downloaded and installed, and configured
to your liking.

=== Configure Eclipse ===

 * Create a folder for your new Eclipse Workspace, name it Hbasewrk.
 * Download archive with empty workspace from ...
 * Extract .metadata folder to Hbasewrk
 * Open Eclipse using Hbasewrk
Now Eclipse is configured.

=== Download and install the Subversive plug-in ===

 * [http://www.polarion.org/index.php?page=overview&project=subversive Subversive web

The easiest way to download and install is to use Eclipse's Update Manager. 
That process is well described one [http://www.eclipse.org/subversive/documentation/gettingStarted/aboutSubversive/install.php
the Subversive's site]. Think to add the two update sites.

=== Associate the HBase Trunk Repository ===

 * Select File > New > Other... 
 * Then SVN > Repository Location wizard
 * Use [http://svn.apache.org/repos/asf/hadoop/hbase/] as the Root URL.
 * The repository will show up under "SVN Repositories" Perspective (select "Open Perspective.")

=== Create a Project ===

>>From the SVN Repositories perspective:
 * Right-click on "trunk" and select "Find/Check Out As..."
 * Check out as a project configured using the New Project Wizard
 * Java Project
 * Project Name: "HBase"

=== Configuring Eclipse to build HBase ===

Right-click on HBase project and select Properties -> Java Build Path
 * In tab Source use "Add Folder" and add:
 * In tab Libraries 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.

Hopefully HBase should now build successfully in Eclipse without any errors. 

View raw message