...
Table of Contents | ||
---|---|---|
|
Assumptions
This document assumes a few things about your environment in order to simplify the examples.
- The JVM is executable as simply java.
- The Apache Knox Gateway is installed and functional.
- The example commands are executed within the context of the GATEWAY_HOME current directory. The GATEWAY_HOME directory is the directory within the Apache Knox Gateway installation that contains the README file and the bin, conf and deployments directories.
- A few examples optionally require the use of commands from a standard Groovy installation. These examples are optional but to try them you will need Groovy installed.
HBase Stargate Setup
Launch Stargate
The command below launches the Stargate daemon on port 60080
Code Block |
---|
/usr/lib/hbase/bin/hbase-daemon.sh start rest -p 60080
|
Configure Sandbox port mapping for VirtualBox
- Select the VM
- Select menu Machine>Settings...
- Select tab Network
- Select Adapter 1
- Press Port Forwarding button
- Press Plus button to insert new rule: Name=Stargate, Host Port=60080, Guest Port=60080
- Press OK to close the rule window
- Press OK to Network window save the changes
Client DSL Examples
TODO
cURL Examples
...