kgusakov commented on code in PR #759: URL: https://github.com/apache/ignite-3/pull/759#discussion_r859767324
########## examples/src/main/java/org/apache/ignite/example/rebalance/RebalanceExample.java: ########## @@ -1,201 +0,0 @@ -/* - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed with - * this work for additional information regarding copyright ownership. - * The ASF licenses this file to You under the Apache License, Version 2.0 - * (the "License"); you may not use this file except in compliance with - * the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -package org.apache.ignite.example.rebalance; - -import java.nio.file.Files; -import java.nio.file.Path; -import java.sql.Connection; -import java.sql.DriverManager; -import java.sql.Statement; -import java.util.Set; -import org.apache.ignite.Ignite; -import org.apache.ignite.IgnitionManager; -import org.apache.ignite.client.IgniteClient; -import org.apache.ignite.table.KeyValueView; -import org.apache.ignite.table.Tuple; - -/** - * This example demonstrates the data rebalance process. - * - * <p>The example emulates the basic scenario when one starts a three-node topology, - * inserts some data, and then scales out by adding two more nodes. After the topology is changed, the data is rebalanced and verified for - * correctness. - * - * <p>To run the example, do the following: - * <ol> - * <li>Import the examples project into you IDE.</li> - * <li> - * Start <b>two</b> nodes using the CLI tool:<br> - * {@code ignite node start --config=$IGNITE_HOME/examples/config/ignite-config.json my-first-node}<br> - * {@code ignite node start --config=$IGNITE_HOME/examples/config/ignite-config.json my-second-node} - * </li> - * <li>Run the example in the IDE.</li> - * <li> - * When requested, start another two nodes using the CLI tool: - * {@code ignite node start --config=$IGNITE_HOME/examples/config/ignite-config.json my-first-additional-node}<br> - * {@code ignite node start --config=$IGNITE_HOME/examples/config/ignite-config.json my-second-additional-node} - * </li> - * <li>Press {@code Enter} to resume the example.</li> - * </ol> - */ -public class RebalanceExample { Review Comment: Ooops, I thought these files generated from md -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
