Skip to content
Permalink
Browse files
IGNITE-15005 - Binary distribution README
  • Loading branch information
vkulichenko committed Jun 25, 2021
1 parent 9230f61 commit 7140111feda0a5b82f772812d59e670d820c4f70
Show file tree
Hide file tree
Showing 6 changed files with 66 additions and 13 deletions.
Empty file.
@@ -0,0 +1,52 @@
# Apache Ignite 3 Alpha 2

Apache Ignite is a distributed database for high-performance computing with in-memory speed.

Ignite 3 is the next generation of the platform that will support a modernized modular architecture,
along with improved usability and developer experience.

The current alpha version includes the following features:
* Unified CLI tool
* New configuration engine
* New schema management engine
* Table API
* Atomic storage implementation based on Raft

## Installation

1. Download Ignite 3 Alpha 2:
```
curl -L "https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=ignite/3.0.0-alpha2/apache-ignite-3.0.0-alpha2.zip" -o apache-ignite-3.0.0-alpha2.zip
```
2. Unzip the downloaded file:
```
unzip apache-ignite-3.0.0-alpha2.zip && cd apache-ignite-3.0.0-alpha2
```
3. Add your installation directory to the PATH environment variable:
```
echo 'export IGNITE_HOME="'`pwd`'"' >> ~/.bash_profile && echo 'export PATH="$IGNITE_HOME:$PATH"' >> ~/.bash_profile && source ~/.bash_profile
```
4. (optional) If you will start the cluster locally, install the core artifacts:
```
ignite init
```

## Running Examples

Examples are shipped as a separate Maven project, which is located in the `examples` folder.
To start running you simply need to import provided `pom.xml` file into your favourite IDE.

The following examples are included:
* `TableExample` - demonstrates the usage of the `org.apache.ignite.table.Table` API
* `KeyValueBinaryViewExample` - demonstrates the usage of the `org.apache.ignite.table.KeyValueBinaryView` API

To run an example, do the following:
1. Import the examples project into you IDE.
2. (optional) Run one or more standalone nodes using the CLI tool:
```
ignite node start --config=$IGNITE_HOME/examples/config/ignite-config.json node-1
ignite node start --config=$IGNITE_HOME/examples/config/ignite-config.json node-2
...
ignite node start --config=$IGNITE_HOME/examples/config/ignite-config.json node-n
```
3. Run the preferred example in the IDE.
@@ -38,7 +38,7 @@
</file>

<file>
<source>assembly/README</source>
<source>assembly/README.md</source>
<outputDirectory/>
</file>

@@ -66,6 +66,7 @@
<includes>
<include>config/**</include>
<include>src/**</include>
<include>README.md</include>
</includes>
</fileSet>
</fileSets>
@@ -12,10 +12,10 @@ The following examples are included:
To run an example, do the following:
1. Import the examples project into you IDE.
2. (optional) Run one or more standalone nodes using the CLI tool:
```
ignite node start --config=$IGNITE_HOME/examples/config/ignite-config.json node-1
ignite node start --config=$IGNITE_HOME/examples/config/ignite-config.json node-2
...
ignite node start --config=$IGNITE_HOME/examples/config/ignite-config.json node-n
```
```
ignite node start --config=$IGNITE_HOME/examples/config/ignite-config.json node-1
ignite node start --config=$IGNITE_HOME/examples/config/ignite-config.json node-2
...
ignite node start --config=$IGNITE_HOME/examples/config/ignite-config.json node-n
```
3. Run the preferred example in the IDE.
@@ -106,8 +106,8 @@ public static void main(String[] args) throws Exception {

System.out.println(
"Retrieved using Key-Value API\n" +
" Account Number: " + key.intValue("accountNumber") + '\n' +
" Owner: " + value.stringValue("firstName") + " " + value.stringValue("lastName") + '\n' +
" Balance: $" + value.doubleValue("balance"));
" Account Number: " + key.intValue("accountNumber") + '\n' +
" Owner: " + value.stringValue("firstName") + " " + value.stringValue("lastName") + '\n' +
" Balance: $" + value.doubleValue("balance"));
}
}
@@ -102,8 +102,8 @@ public static void main(String[] args) throws Exception {

System.out.println(
"Retrieved using Tuple API\n" +
" Account Number: " + accountTuple.intValue("accountNumber") + '\n' +
" Owner: " + accountTuple.stringValue("firstName") + " " + accountTuple.stringValue("lastName") + '\n' +
" Balance: $" + accountTuple.doubleValue("balance"));
" Account Number: " + accountTuple.intValue("accountNumber") + '\n' +
" Owner: " + accountTuple.stringValue("firstName") + " " + accountTuple.stringValue("lastName") + '\n' +
" Balance: $" + accountTuple.doubleValue("balance"));
}
}

0 comments on commit 7140111

Please sign in to comment.