-
Notifications
You must be signed in to change notification settings - Fork 1
Creating Jet Workspace
padogrid edited this page Jul 23, 2021
·
6 revisions
To create a Jet workspace, first install Jet and run the create_workspace
script as shown below. Note that, in the example, the hazelcast-jet-enterprise-3.2
installation directory path is entered for the Hazelcast home directory path.
create_workspace -name ws-jet
Please answer the prompts that appear below. If you are not able to complete
the prompts at this time then use the '-quiet' option to bypass the prompts.
You can complete the requested values later in the generated 'setenv.sh' file
You can abort this command at any time by entering 'Ctrl-C'.
Enter Java home path.
[/Library/Java/JavaVirtualMachines/jdk1.8.0_212.jdk/Contents/Home]:
Enter Hazelcast (IMDG or Jet) home directory path. Choose one
from the defaults listed below or enter another.
/Users/dpark/padogrid/products/hazelcast-enterprise-3.12.6
/Users/dpark/padogrid/products/hazelcast-jet-enterprise-3.2.2
[/Users/dpark/padogrid/products/hazelcast-enterprise-3.12.6]:
/Users/dpark/padogrid/products/hazelcast-jet-enterprise-3.2.2
Enter workspace name.
[ws-jet]:
Enter default cluster name.
[myjet]:
You have entered the following.
JAVA_HOME: /Library/Java/JavaVirtualMachines/jdk1.8.0_212.jdk/Contents/Home
JET_HOME: /Users/dpark/padogrid/products/hazelcast-jet-enterprise-3.2.2
PADOGRID_WORKSPACE: /Users/dpark/padogrid/products/workspaces/myrwe/ws-jet
CLUSTER: myjet
Enter 'c' to continue, 'r' to re-enter, 'q' to quit: c
Workspace created:
/Users/dpark/padogrid/products/workspaces/ws-jet
The workspace directory also contains the following files.
initenv.sh - Workspace initialization file. Source this file in to
enter the workspace.
setenv.sh - You can set your workspace-wide environment variables in
this file.
.addonenv.sh - A hidden file containing the workspace environment variables.
You can overwrite them in setenv.sh as needed.
IMPORTANT:
----------
To use this workspace, execute the 'switch_workspace' command as follows:
switch_workspace ws-jet
To test Jet, run the included jet_demo
app as shown below.
# 1. Switch workspace
switch_workspace ws-jet
# 2. Create the default cluster if you haven't done so yet
create_cluster
# 3. Start the default Jet cluster
start_cluster
# 4. Change directory to jet_demo, build, and submit WorkCountJob.
# Note that the default port for Jet is also 5701 but due to port conflict issues,
# padogrid defaults to 6701.
cd_workspace
cd_app jet_demo; cd bin_sh
./build_app
cd ../lib
jet.sh -a localhost:6701 submit WordCountJob.jar
PadoGrid Manual
Overview
- Home
- PadoGrid in 5 Minutes
- Quick Start
- Introduction
- Bundle Catalogs
- Building PadoGrid
- Supported Data Grid Products and Downloads
- PadoGrid Components
- Installing PadoGrid
- Root Workspaces Environments (RWEs)
- Initializing PadoGrid
- Bash Auto-Completion
- Viewing PadoGrid Summaries
- Updating Products
- Upgrading PadoGrid
- Migrating Workspaces
- PadoGrid Pods
- Kubernetes
- Docker
- Apps
- Software List
Operations
- Workspace Lifecycle Management
- Creating RWE
- Creating Workspace and Starting Cluster
- Managing Workspaces
- Understanding Workspaces
- Understanding Clusters
- Running Clusters
- Default Port Numbers
- Running Clusters Independent of PadoGrid
- Running Apps
- Understanding Groups
- Running Groups
- Understanding Bundles
- User Bundle Repos
- Using Bundle Templates
- Bundle Repo Guidelines
- User Bundle Catalogs
- Private Bundle Repos
- Gitea Repos
- Running Bundles in Container
- PadoGrid Addon Jars
- Understanding PadoGrid Pods
- Tested Vagrant Boxes
- VM-Enabled Pods
- Multitenancy
- Multitenancy Best Practices
- PadoGrid Configuration Files
Tools
Platforms
Clouds
Pado
Geode/GemFire
- Geode CLASSPATH
- Geode Kubernetes
- Geode Minikube
- Geode Minikube on WSL
- Geode Docker Compose
- Geode Grafana App
- Geode
perf_test
App - Geode WAN Example
- Geode Workspaces on VMs
- Geode on AWS EC2
- Reactivating Geode Workspaces on AWS EC2
Hazelcast/Jet
- Hazelcast CLASSPATH
- Creating Jet Workspace
- Configuring Hazelcast Addon
- HQL Query
- Hazelcast Kubernetes
- Hazelcast GKE
- Hazelcast Minikube
- Hazelcast Minikube on WSL
- Hazelcast Minishift/CDK
- Hazelcast OpenShift
- Hazelcast Docker Compose
- Hazelcast Desktop App
- Hazelcast Grafana App
- Hazelcast
jet_demo
App - Hazelcast
perf_test
App - Hazelcast WAN Example
- Hazelcast Workspaces on VMs
- Hazelcast on AWS EC2
- Reactivating Hazelcast Workspaces on AWS EC2
ComputeDB/SnappyData
Coherence
Hadoop
Kafka/Confluent
Mosquitto
- Mosquitto CLASSPATH
- Mosquitto Overview
- Installing/Building Mosquitto
- Clustering MQTT
- Cluster Archetypes
- Enabling Mosquitto SSL/TLS
- Mosquitto Docker Compose
- MQTT perf_test App
Redis
Spark