Skip to content
Browse files
updating the crail class package
  • Loading branch information
animeshtrivedi committed Jan 18, 2018
1 parent 68309c5 commit 171d32c2a11b500be166de4d16a333a1f42a2cdd
Showing 1 changed file with 8 additions and 8 deletions.
@@ -36,7 +36,7 @@ To configure Crail use crail-site.conf.template as a basis and modify it to matc
There are a general file system properties and specific properties for the different storage tiers. A typical configuration for the general file system section may look as follows:

crail.namenode.address crail://namenode:9060
crail.cachepath /memory/cache
crail.cachelimit 12884901888
crail.blocksize 1048576
@@ -68,7 +68,7 @@ Crail supports optimized local operations via memcpy (instead of RDMA) in case a

Crail is a multi-tiered storage system. Additinoal tiers can be enabled by adding them to the configuration as follows.,,

For the NVMf storage tier we need to configure the server IP that is used when listening for new connections. We also need to configure the PCI address of the flash device we want to use, as well as the huge page mount point to be used for allocating memory.
@@ -95,7 +95,7 @@ To start a datanode run the following command on a host in the cluster (ideally

Now you should have a small deployment up with just one datanode. In this case the datanode is of type RDMA/DRAM, which is the default datnode. If you want to start a different storage tier you can do so by passing a specific datanode class as follows:

./bin/crail datanode -t
./bin/crail datanode -t

This would start the shared storage datanode. Note that configuration in crail-site.conf needs to have the specific properties set of this type of datanode, in order for this to work.

@@ -112,7 +112,7 @@ Similarly, Crail can be stopped by using
For this to work include the list of machines to start datanodes in conf/slaves. You can start multiple datanode of different types on the same host as follows:

host02-ib -t
host02-ib -t

In this example, we are configuring a Crail cluster with 2 physical hosts but 3 datanodes and two different storage tiers.
@@ -135,15 +135,15 @@ For the Crail shell to work properly, the HDFS configuration in crail-1.0/conf/c

@@ -154,7 +154,7 @@ Note that the Crail HDFS interface currently cannot provide the full performance
The best way to program against Crail is to use Maven. Make sure you have the Crail dependency specified in your application pom.xml file:

@@ -191,7 +191,7 @@ Once the stream has been obtained, there exist various ways to write a file. The

Reading files works very similar to writing. There exist various examples in
Reading files works very similar to writing. There exist various examples in

### Storage Tiers

0 comments on commit 171d32c

Please sign in to comment.