Skip to content

Example of programmatic, embedded Ignite with static IP discovery.

Notifications You must be signed in to change notification settings

ebudan/ignite-static-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Apache Ignite embedded + programmatic static clustering test

A simple sample cli app to test embedded Ignite and static IP discovery for cluster setup.

##Building

gradle depJar

To generate Eclipse project dependencies:

gradle eclipse

...and import as new Java project.

##Running

java -jar build/libs/ignite-example-static-discovery-all-1.0.jar -a ADDRESS:PORT -p ADDRESS:PORT,ADDRESS:PORT,... [--task] 

Sets up a node at the discovery address+port specified by option -a, and connects to some of the nodes running at the address+port specified by -p. Without further parameters, waits for connections; if --task is specified, launches a sample compute task from Ignite documentation.

To test with two local nodes, one launching the task and both participating in computation:

 java -jar build/libs/ignite-example-static-discovery-all-1.0.jar -a 127.0.0.1:5000 -p 127.0.0.1:6000
 java -jar build/libs/ignite-example-static-discovery-all-1.0.jar -a 127.0.0.1:6000 -p 127.0.0.1:5000 --task

About

Example of programmatic, embedded Ignite with static IP discovery.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages