I new too. Presently I'm testing with namenode and datanode in docker containers. Here's how I start in order to get 4GB storage:
# docker run -it --network host -e NAMENODE_HOST=sgt-pepper -e DATAPATH=/tmp/hugepages/data -e CACHEPATH=/tmp/hugepages/cache -e STORAGELIMIT=4294967296 apache/incubator-crail:1.2 namenode # docker run -it --network host -e NAMENODE_HOST=sgt-pepper -e DATAPATH=/tmp/hugepages/data -e CACHEPATH=/tmp/hugepages/cache -e STORAGELIMIT=4294967296 apache/incubator-crail:1.2 datanode Hope this helps. Lou. On Wed, Feb 19, 2020 at 12:30 PM 朱博弘 <zhub...@mails.tsinghua.edu.cn> wrote: > Hi,I'm a student in Tsinghua university, i'm trying to deploy Crail, but i > ran into some issues, could you please help me? > > it seems that the storage limit is set to 1GB, and i can't find the right > way to configure it, my crail-site.conf is like this: > > > ////////////////////////////////////////////////////////////////////////////////////////////////////////////// > > crail.namenode.address crail://aep4-ib0:9060 > crail.cachepath /dev/hugepages/cache > crail.cachelimit 10737418240 > crail.blocksize 1048576 > crail.statistics true > crail.regionsize 1073741824 > crail.namenode.rpctype > org.apache.crail.namenode.rpc.darpc.DaRPCNameNode > crail.buffersize 1048576 > crail.slicesize 524288 > crail.debug false > crail.user root > crail.storage.types > org.apache.crail.storage.rdma.RdmaStorageTier > crail.storage.rdma.interface ib0 > crail.storage.rdma.datapath /mnt/pm/crail > crail.storage.rdma.storagelimit 10737418240 > crail.storage.rdma.allocationsize 10737418240 > crail.storage.rdma.localmap false > ///////////////////////////////////////////////////////////////////////// > as you can see , i'm trying to deploy crail with rdma enabled , > also , i find that ,Crail dosen't work on directories with "-o dax" flag > enabled during mount phase, > any feed back will be much appreciated , > Thank you. > have a nice day.