Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (30 sloc) 1.96 KB

Akubra ( is a file system abstraction layer which is used by fedora-commons (

This implementation enables fedora-commons to use a Hadoop filesystem ( as an underlying object and datastream storage.

akubra-hdfs is still in an early development state and in no way ready for production use!

Installation instructions (Fedora Commons 3.6.2, Hadoop 1.0.3):


Copy the following dependencies to your fedora webapp's WEB-INF/lib directory:

  • akubra-hdfs-0.0.1-SNAPSHOT.jar (can be found in target/ after building the project)
  • hadoop-core-1.0.3.jar from $HADOOP_HOME/
  • hadoop-client-1.0.3.jar from $HADOOP_HOME/
  • commons-configuration-1.6.jar from $HADOOP_HOME/lib/
  • commons-lang-2.4.jar from $HADOOP_HOME/lib/


Open the file $FEDORA_HOME/server/config/spring/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">
    <constructor-arg value="hdfs://localhost:9000/fedora/objects"/>

<bean name="fsObjectStoreMapper" class="de.fiz.akubra.hdfs.HDFSIdMapper" singleton="true">
    <constructor-arg ref="fsObjectStore"/>

<bean name="fsDatastreamStore" class="de.fiz.akubra.hdfs.HDFSBlobStore" singleton="true">
    <constructor-arg value="hdfs://localhost:9000/fedora/datastreams"/>

<bean name="fsDatastreamStoreMapper" class="de.fiz.akubra.hdfs.HDFSIdMapper" singleton="true">
    <constructor-arg ref="fsDatastreamStore"/>


akubra-hdfs is licensed under the Apache License 2.0

Something went wrong with that request. Please try again.