source: extensions/net.sf.basedb.hdfs/trunk/README @ 1330

Last change on this file since 1330 was 1330, checked in by Nicklas Nordborg, 12 years ago

Initial checkin of HDFS extension.

File size: 2.0 KB
Line 
1== Requirements ==
2
3 1. BASE 3.0 or later.
4 
5== Introduction ==
6
7This package is an extension package to BASE that adds support
8for external files located on a Hadoop Distributed File System
9(HDFS).
10
11 * The homepage for this extension:
12   http://baseplugins.thep.lu.se/wiki/net.sf.basedb.hdfs
13
14== Installation ==
15
16 1. Download the hdfs-*.tar.gz file.
17 2. Unpack the downloaded file to a directory of your choice.
18 3. Copy the 'hdfs.jar' file and the 'lib' directory to your BASE plug-ins
19    directory. Look in your 'base.config' file if you don't know where this is.
20 4. Run the 'Extensions->Manual scan' command and install the new extension.
21 5. Done.
22
23 
24== Using ==
25
26Create an external file in BASE using an URL on the form:
27
28  hdfs://namenode.server:port/path/on/hdfs/filesystem
29
30where 'namenode.server' is the ip-address or name of the
31Namenode for the HDFS cluster. The port is optional. If not
32specified 9000 is used as the default port.
33
34It is also possible to create a "File server" item in BASE
35to force the use of HDFS. Since HDFS does not yet support
36autentication the rest of the options for the file server
37item are not used.
38
39
40== Compiling ==
41
42To compile this package you also need:
43 
44 1. Ant 1.6
45 2. Java 1.6
46
47Follow these instructions:
48
49 1. Download the source code from the subversion repository. See
50    http://baseplugins.thep.lu.se/wiki/net.sf.basedb.hdfs for instructions.
51 
52 2. Type `ant download-lib` to automatically download the BASE core JAR files that
53    are neeed for compilation. You can also do this manually by copying the
54    base-core-3.x.jar file from the BASE installation directory
55    (<basedir>/www/WEB-INF/lib/) to the ./lib/compile directory.
56
57 3. Type 'ant' to compile the code and generate the 'hdfs.jar' file
58    in the project directory.
59
60 4. Use 'ant package' to create a downloadable tar.gz package.
61 
62Tip: If you need different values for any of the properties defined in
63the 'build.xml' file, create a file named 'build.properties' and set
64the values there.
65
Note: See TracBrowser for help on using the repository browser.