-
Notifications
You must be signed in to change notification settings - Fork 173
SingleMachineCluster
The following can be used as a template for starting a bigdata federation on a single machine.
You need to specify the standalone configuration file. You should review the build.properties file and make sure that it is appropriate for your environment (LAS, NAS, JVM, etc.).
bigdata.config=${install.config.dir}/bigdataStandalone.config
You need to specify the IP address of the host that you will be using. The file is used as is on a machine with 8G of RAM. However, you should review the memory (-Xmx) and other parameters throughout the file to ensure a clean start.
static private h0 = "192.168.1.50";
=
Note: Edit FED, NAS, LAS, REL, and DIST for your site.
Note: The added steps of creating a DIST archive and deploying it are only necessary to verify that the DIST archive actually contains all of the necessary files from the project. Otherwise you can skip over that step and do the install from the project directory.
FED=benchmark
NAS=/nas/bigdata/${FED}
LAS=/data/bigdata/${FED}
# Source directory for release version.
REL=~/bigdata/BIGDATA_RELEASE_1_1_0
# Distribution specific version.
DIST=bigdata-1.1.0
# create the DIST
cd $REL
ant ant-install-artifact
# extract DIST to DIST specific directory
rm -rf /nas/bigdata/${DIST}
tar xzvof DIST.${DIST}.tgz -C /nas/bigdata/
cd /nas/bigdata/${DIST}
# remove the existing install ($LAS is cleared by bigdata destroy)
rm -rf $NAS
# install distribution.
ant ant-install
# setup environment
source $NAS/bin/bigdataenv
bigdata start
tail -f $errorLog