opendedup / sdfs

Deduplication Based Filesystem
375 stars 79 forks source link

How can I start DSE server using startStorageHub.sh ? #96

Closed Jonathan7367 closed 2 years ago

Jonathan7367 commented 5 years ago

I want to use the sdfs-3.8 version.

To start DSE server, I have to execute 'startStorageHub.sh', but the class 'org.opendedup.sdfs.network.ClusteredHCServer' is not contained in sources or any libraries.

How can I do for it ?

===========================================================

!/bin/bash

CONFIG=/etc/default/sdfs [ -f $CONFIG ] && . $CONFIG

RUN_DIR=${RUN_DIR:-"/run/sdfs/"}

start_storage_hub(){ "${JAVA_BIN:-"java"}" \ -Dfuse.logging.level=INFO \ -Xmx${MEM_MAX:-"2g"} \ -Xms2g \ -server \ -XX:+UseCompressedOops \ -XX:+DisableExplicitGC \ -XX:+UseParallelGC \ -XX:+UseParallelOldGC \ -XX:ParallelGCThreads=4 \ -XX:InitialSurvivorRatio=3 \ -XX:TargetSurvivorRatio=90 \ -Djava.awt.headless=true \ -classpath ./bin/:./lib/* \ org.opendedup.sdfs.network.ClusteredHCServer "$@" }

start_storage_hub "$@"