Running Apps - padogrid/padogrid GitHub Wiki
◀️ Running Clusters Independent of PadoGrid :link: Understanding Groups ▶️
Before you can run apps, you must first install them by executing the create_app
command. It is important that before you execute this command, you have your product installed and updated using the update_padogrid
command as described in Updating Products. This is because some apps may refer to the product installation to extract necessary artifacts.
The following command installs the Hazelcast perf_test
app under the name my_perf_test
.
create_app -product hazelcast -app perf_test -name my_perf_test
The above example installs the perf_test
app in the my_perf_test
folder. You can change directory into that folder using the cd_app
command and run the app using one of the scripts provided in the bin_sh
directory.
cd_app my_perf_test; cd bin_sh
./test_ingestion -run
Each app comes with README.md
which provides detailed instructions. For some apps, you may need to build them before you can execute them. In that case, you will see the bin_sh/build_app
command. Simply run that command and it will automatically download the necessary files and build the app environment for you. For example, to ingest mock data, the perf_test
app requires you to run the build_app
command as follows.
# If you don't specify the -name option then the app folder is created
# using the app name.
create_app -app perf_test
cd_app perf_test
# View README.md for instructions
less README.md
# Build desktop
cd bin_sh
./build_app
# Ingest mock data using test_group to a data grid
./test_group -run -prop ../etc/group-factory.properties
# Ingest mock data using test_group to a database
./test_group -db -run -prop ../etc/group-factory.properties
◀️ Running Clusters Independent of PadoGrid :link: Understanding Groups ▶️