You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by ch...@apache.org on 2017/06/25 06:44:59 UTC
[16/21] flink git commit: [FLINK-6488] [scripts] Deprecate
'start-local.sh' and 'stop-local.sh' scripts
[FLINK-6488] [scripts] Deprecate 'start-local.sh' and 'stop-local.sh' scripts
This closes #4074.
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/3557ff86
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/3557ff86
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/3557ff86
Branch: refs/heads/master
Commit: 3557ff8636e899d56ba23534944669aeca2b5df4
Parents: c736ba2
Author: zhangminglei <zm...@163.com>
Authored: Tue Jun 20 18:28:33 2017 +0800
Committer: zentol <ch...@apache.org>
Committed: Fri Jun 23 14:14:30 2017 +0200
----------------------------------------------------------------------
flink-dist/src/main/flink-bin/bin/start-local.sh | 5 +++--
flink-dist/src/main/flink-bin/bin/stop-local.sh | 4 ++--
2 files changed, 5 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/3557ff86/flink-dist/src/main/flink-bin/bin/start-local.sh
----------------------------------------------------------------------
diff --git a/flink-dist/src/main/flink-bin/bin/start-local.sh b/flink-dist/src/main/flink-bin/bin/start-local.sh
index b3d41bf..2df3c22 100755
--- a/flink-dist/src/main/flink-bin/bin/start-local.sh
+++ b/flink-dist/src/main/flink-bin/bin/start-local.sh
@@ -19,10 +19,11 @@
STREAMING_MODE=$1
+echo "Warning: this file is deprecated and will be removed in 1.5."
+
bin=`dirname "$0"`
bin=`cd "$bin"; pwd`
. "$bin"/config.sh
-# local mode, only bring up job manager. The job manager will start an internal task manager
-"$FLINK_BIN_DIR"/jobmanager.sh start local
+"$FLINK_BIN_DIR"/start-cluster.sh
http://git-wip-us.apache.org/repos/asf/flink/blob/3557ff86/flink-dist/src/main/flink-bin/bin/stop-local.sh
----------------------------------------------------------------------
diff --git a/flink-dist/src/main/flink-bin/bin/stop-local.sh b/flink-dist/src/main/flink-bin/bin/stop-local.sh
index 79627fa..8d079e0 100755
--- a/flink-dist/src/main/flink-bin/bin/stop-local.sh
+++ b/flink-dist/src/main/flink-bin/bin/stop-local.sh
@@ -17,11 +17,11 @@
# limitations under the License.
################################################################################
+echo "Warning: this file is deprecated and will be removed in 1.5."
bin=`dirname "$0"`
bin=`cd "$bin"; pwd`
. "$bin"/config.sh
-# stop local job manager (has an internal task manager)
-"$FLINK_BIN_DIR"/jobmanager.sh stop
+"$FLINK_BIN_DIR"/stop-cluster.sh