/
README
46 lines (33 loc) · 1.65 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
Akubra (https://wiki.duraspace.org/display/AKUBRA/Akubra+Project) is a file system abstraction layer
which is used by fedora-commons (http://fedora-commons.org/)
This implementation enables fedora-commons to use a Hadoop filesystem (http://hadoop.apache.org/)
as an underlying object and datastream storage.
akubra-hdfs is still in an early development state and in no way ready for production use!
In order to use akubra-hdfs with a fedora-commons repository it's enough to change the file
$FEDORA_HOME/server/config/akubra-llstore.xml and edit the two beans 'fsObjectStore'
and 'fsDataStreamStore' to use the class 'de.fiz.akubra.hdfs.HDFSBlobStore'and the two beans
'fsObjectStoreMapper' and fsDatastreamStoreMapper' to be of class 'de.fiz.akubra.hdfs.HDFSIdMapper':
<bean name="fsObjectStore"
class="de.fiz.akubra.hdfs.HDFSBlobStore"
singleton="true">
<!-- the hdfs namenode URI goes here -->
<constructor-arg value="hdfs://localhost:9000/fedora/objects"/>
</bean>
<bean name="fsObjectStoreMapper"
class="de.fiz.akubra.hdfs.HDFSIdMapper"
singleton="true">
<constructor-arg ref=fsObjectStore"/>
</bean>
<bean name="fsDatastreamStore"
class="de.fiz.akubra.hdfs.HDFSBlobStore"
singleton="true">
<!-- the hdfs namenode URI goes here -->
<constructor-arg value="hdfs://localhost:9000/fedora/datastreams"/>
</bean>
<bean name="fsDatastreamStoreMapper"
class="de.fiz.akubra.hdfs.HDFSIdMapper"
singleton="true">
<constructor-arg ref=fsDatastreamStore"/>
</bean>
akubra-hdfs is licensed under the Apache License 2.0
http://www.apache.org/licenses/LICENSE-2.0