This is a basic job template which can be easily edited to get started with snappydata.
If you run the job as is, you can can see testtable, create by the job.
To run:
$ ./bin/snappy-job.sh submit --lead localhost:8090 \
--app-name SnappyDataTestJob --class io.snappydata.examples.SnappyDataTestJob \
--app-jar $SNAPPY_HOME/examples/jars/quickstart.jar
NOTE: You might have to change the jar name and path according to your setup.
To check job's result:
$ ./bin/snappy-sqlsnappy-sql> connect client 'localhost:1527';snappy-sql> show tables;
This is a basic job template which can be easily edited to get started with snappydata.
If you run the job as is, you can can see testtable, create by the job. To run:
$ ./bin/snappy-job.sh submit --lead localhost:8090 \ --app-name SnappyDataTestJob --class io.snappydata.examples.SnappyDataTestJob \ --app-jar $SNAPPY_HOME/examples/jars/quickstart.jar
NOTE: You might have to change the jar name and path according to your setup.
To check job's result:
$ ./bin/snappy-sql
snappy-sql> connect client 'localhost:1527';
snappy-sql> show tables;