You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by am...@apache.org on 2022/06/08 12:31:04 UTC

[ignite-3] 01/01: Revert "IGNITE-17126: Update README.md with Alpha 5 features (#863)"

This is an automated email from the ASF dual-hosted git repository.

amashenkov pushed a commit to branch revert-863-IGNITE-17126
in repository https://gitbox.apache.org/repos/asf/ignite-3.git

commit 963a698593f93b15fe08e2ce384e96db73c2a302
Author: Andrew V. Mashenkov <AM...@users.noreply.github.com>
AuthorDate: Wed Jun 8 15:31:00 2022 +0300

    Revert "IGNITE-17126: Update README.md with Alpha 5 features (#863)"
    
    This reverts commit 19d77c92b28e9279f86fb7c138a649cf52d07ea5.
---
 assembly/README.md                                 | 27 ++++++----------------
 .../PersistentPageMemoryStorageExample.java        |  4 ++--
 .../storage/VolatilePageMemoryStorageExample.java  |  2 +-
 3 files changed, 10 insertions(+), 23 deletions(-)

diff --git a/assembly/README.md b/assembly/README.md
index 3e0def052..489382c87 100644
--- a/assembly/README.md
+++ b/assembly/README.md
@@ -1,4 +1,4 @@
-# Apache Ignite 3 Alpha 5
+# Apache Ignite 3 Alpha 3
 
 Apache Ignite is a distributed database for high-performance computing with in-memory speed.
 
@@ -18,19 +18,19 @@ The current alpha version includes the following features:
 
 1. Download Ignite 3 Alpha 3:
    ```
-   curl -L "https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=ignite/3.0.0-alpha5/apache-ignite-3.0.0-alpha5.zip" -o apache-ignite-3.0.0-alpha5.zip
+   curl -L "https://www.apache.org/dyn/mirrors/mirrors.cgi?action=download&filename=ignite/3.0.0-alpha3/apache-ignite-3.0.0-alpha3.zip" -o apache-ignite-3.0.0-alpha3.zip
    ```
 2. Unzip the downloaded file:
    ```
-   unzip apache-ignite-3.0.0-alpha5.zip && cd apache-ignite-3.0.0-alpha5
+   unzip apache-ignite-3.0.0-alpha3.zip && cd apache-ignite-3.0.0-alpha3
    ```
 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 start the cluster locally then install the core artifacts:
+4. (optional) If you will start the cluster locally, install the core artifacts:
    ```
-   ignite bootstrap
+   ignite init
    ```
 
 ## Running Examples
@@ -41,9 +41,7 @@ To start running you simply need to import provided `pom.xml` file into your fav
 The following examples are included:
 * `RecordViewExample` - demonstrates the usage of the `org.apache.ignite.table.RecordView` API
 * `KeyValueViewExample` - demonstrates the usage of the `org.apache.ignite.table.KeyValueView` API
-* `SqlJdbcExample` - demonstrates the usage of the Java API for SQL.
-* `VolatilePageMemoryStorageExample` - demonstrates the usage of the PageMemory storage engine configured with an in-memory data region.
-* `PersistentPageMemoryStorageExample` - demonstrates the usage of the PageMemory storage engine configured with a persistent data region.
+* `SqlJdbcExample` - demonstrates the usage of the Apache Ignite JDBC driver.
 
 To run any other example, do the following:
 1. Import the examples project into you IDE.
@@ -51,15 +49,4 @@ To run any other example, do the following:
    ```
    ignite node start --config=$IGNITE_HOME/examples/config/ignite-config.json my-first-node
    ```
-3. (optional) If the cluster is not initialized then initialize the cluster:
-   ```
-   ignite cluster init --cluster-name=ignite-cluster --node-endpoint=localhost:10300 --meta-storage-node=my-first-node
-   ```
-4. Run the preferred example in the IDE.
-
-## Using CLI
-
-Alpha 5 leverages the advantage of using the CLI for the development. Updated CLI ships the following features:
-* Bash auto-completions. If you are using bash/zsh you can hit the TAB during typing ignite commands.
-* Interactive mode. Enter the interactive by running `ignite` without arguments.
-* SQL REPL. Run SQL queries right from your terminal with `ignite sql` command.
+3. Run the preferred example in the IDE.
diff --git a/examples/src/main/java/org/apache/ignite/example/storage/PersistentPageMemoryStorageExample.java b/examples/src/main/java/org/apache/ignite/example/storage/PersistentPageMemoryStorageExample.java
index 649397512..5c1cbd6dc 100644
--- a/examples/src/main/java/org/apache/ignite/example/storage/PersistentPageMemoryStorageExample.java
+++ b/examples/src/main/java/org/apache/ignite/example/storage/PersistentPageMemoryStorageExample.java
@@ -31,7 +31,7 @@ import java.sql.Statement;
  *     <li>Import the examples project into you IDE.</li>
  *     <li>
  *         Download and prepare artifacts for running an Ignite node using the CLI tool (if not done yet):<br>
- *         {@code ignite bootstrap}
+ *         {@code ignite init}
  *     </li>
  *     <li>
  *         Start an Ignite node using the CLI tool:<br>
@@ -43,7 +43,7 @@ import java.sql.Statement;
  *     </li>
  *     <li>
  *         Add configuration for persistent data region of of the PageMemory storage engine using the CLI tool (if not done yet):<br>
- *         {@code ignite cluster config update "pageMemory.regions.persistent:{persistent=true}"}
+ *         {@code ignite config set --type=cluster "pageMemory.regions.persistent:{persistent=true}"}
  *     </li>
  *     <li>Run the example in the IDE.</li>
  *     <li>
diff --git a/examples/src/main/java/org/apache/ignite/example/storage/VolatilePageMemoryStorageExample.java b/examples/src/main/java/org/apache/ignite/example/storage/VolatilePageMemoryStorageExample.java
index 329864061..f8ee293bd 100644
--- a/examples/src/main/java/org/apache/ignite/example/storage/VolatilePageMemoryStorageExample.java
+++ b/examples/src/main/java/org/apache/ignite/example/storage/VolatilePageMemoryStorageExample.java
@@ -43,7 +43,7 @@ import java.sql.Statement;
  *     </li>
  *     <li>
  *         Add configuration for in-memory data region of of the PageMemory storage engine using the CLI tool (if not done yet):<br>
- *         {@code ignite cluster config update "pageMemory.regions.in-memory:{persistent=false}"}
+ *         {@code ignite config set --type=cluster "pageMemory.regions.in-memory:{persistent=false}"}
  *     </li>
  *     <li>Run the example in the IDE.</li>
  *     <li>