WSO2 Storage Server ships preconfigured HDFS file system. In the default configuration HDFS is disabled and user has to enable it by disabling the system variable named disable.hdfs.startup in $SS_HOME/bin/wso2server.sh
.
...
HDFS Data Node
Info |
---|
Do not format a running Hadoop file system, this will cause all your data to be erased. Before formatting, ensure that the dfs.name.dir directory exists. The name node can be formatted by running the following command ./hadoop namenode -format from the /wso2ss-1.1.0/bin location. ./hadoop namenode -format |
To start the HDFS data node, change the directory to $SS_HOME.
...