Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doujutun3207
flink
提交
8aa8e4f9
F
flink
项目概览
doujutun3207
/
flink
与 Fork 源项目一致
从无法访问的项目Fork
通知
24
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
flink
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
8aa8e4f9
编写于
8月 31, 2015
作者:
T
Till Rohrmann
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[scripts] Fixes correct Flink bin path usage in scripts
上级
6b0c0e4c
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
11 addition
and
11 deletion
+11
-11
flink-core/src/main/java/org/apache/flink/configuration/ConfigConstants.java
.../java/org/apache/flink/configuration/ConfigConstants.java
+2
-2
flink-dist/src/main/flink-bin/bin/jobmanager.sh
flink-dist/src/main/flink-bin/bin/jobmanager.sh
+1
-1
flink-dist/src/main/flink-bin/bin/start-cluster.sh
flink-dist/src/main/flink-bin/bin/start-cluster.sh
+1
-1
flink-dist/src/main/flink-bin/bin/start-zookeeper-quorum.sh
flink-dist/src/main/flink-bin/bin/start-zookeeper-quorum.sh
+1
-1
flink-dist/src/main/flink-bin/bin/stop-cluster.sh
flink-dist/src/main/flink-bin/bin/stop-cluster.sh
+3
-3
flink-dist/src/main/flink-bin/bin/stop-zookeeper-quorum.sh
flink-dist/src/main/flink-bin/bin/stop-zookeeper-quorum.sh
+1
-1
flink-dist/src/main/flink-bin/bin/taskmanager.sh
flink-dist/src/main/flink-bin/bin/taskmanager.sh
+1
-1
flink-dist/src/main/flink-bin/bin/zookeeper.sh
flink-dist/src/main/flink-bin/bin/zookeeper.sh
+1
-1
未找到文件。
flink-core/src/main/java/org/apache/flink/configuration/ConfigConstants.java
浏览文件 @
8aa8e4f9
...
@@ -452,12 +452,12 @@ public final class ConfigConstants {
...
@@ -452,12 +452,12 @@ public final class ConfigConstants {
public
static
final
String
FLINK_JVM_OPTIONS
=
"env.java.opts"
;
public
static
final
String
FLINK_JVM_OPTIONS
=
"env.java.opts"
;
// --------------------------- Recovery -----------------------------------
// --------------------------- Recovery -----------------------------------
/** Defines recovery mode used for the cluster execution ("standalone", "zookeeper") */
/** Defines recovery mode used for the cluster execution ("standalone", "zookeeper") */
public
static
final
String
RECOVERY_MODE
=
"recovery.mode"
;
public
static
final
String
RECOVERY_MODE
=
"recovery.mode"
;
// --------------------------- ZooKeeper ----------------------------------
// --------------------------- ZooKeeper ----------------------------------
/** ZooKeeper servers. */
/** ZooKeeper servers. */
public
static
final
String
ZOOKEEPER_QUORUM_KEY
=
"ha.zookeeper.quorum"
;
public
static
final
String
ZOOKEEPER_QUORUM_KEY
=
"ha.zookeeper.quorum"
;
...
...
flink-dist/src/main/flink-bin/bin/jobmanager.sh
浏览文件 @
8aa8e4f9
...
@@ -72,4 +72,4 @@ if [[ $STARTSTOP == "start" ]]; then
...
@@ -72,4 +72,4 @@ if [[ $STARTSTOP == "start" ]]; then
fi
fi
fi
fi
${
bin
}
/flink-daemon.sh
$STARTSTOP
jobmanager
"
${
args
}
"
${
FLINK_BIN_DIR
}
/flink-daemon.sh
$STARTSTOP
jobmanager
"
${
args
}
"
flink-dist/src/main/flink-bin/bin/start-cluster.sh
浏览文件 @
8aa8e4f9
...
@@ -49,7 +49,7 @@ else
...
@@ -49,7 +49,7 @@ else
echo
"Starting cluster (
${
STREAMING_MODE
}
mode)."
echo
"Starting cluster (
${
STREAMING_MODE
}
mode)."
# Start single JobManager on this machine
# Start single JobManager on this machine
"
$
bin
"
/jobmanager.sh start cluster
${
STREAMING_MODE
}
"
$
FLINK_BIN_DIR
"
/jobmanager.sh start cluster
${
STREAMING_MODE
}
fi
fi
shopt
-u
nocasematch
shopt
-u
nocasematch
...
...
flink-dist/src/main/flink-bin/bin/start-zookeeper-quorum.sh
浏览文件 @
8aa8e4f9
...
@@ -39,7 +39,7 @@ while read server ; do
...
@@ -39,7 +39,7 @@ while read server ; do
id
=
${
BASH_REMATCH
[1]
}
id
=
${
BASH_REMATCH
[1]
}
address
=
${
BASH_REMATCH
[2]
}
address
=
${
BASH_REMATCH
[2]
}
ssh
-n
$FLINK_SSH_OPTS
$address
--
"nohup /bin/bash -l
$
bin
/zookeeper.sh start
$id
&"
ssh
-n
$FLINK_SSH_OPTS
$address
--
"nohup /bin/bash -l
$
FLINK_BIN_DIR
/zookeeper.sh start
$id
&"
else
else
echo
"[WARN] Parse error. Skipping config entry '
$server
'."
echo
"[WARN] Parse error. Skipping config entry '
$server
'."
fi
fi
...
...
flink-dist/src/main/flink-bin/bin/stop-cluster.sh
浏览文件 @
8aa8e4f9
...
@@ -26,7 +26,7 @@ bin=`cd "$bin"; pwd`
...
@@ -26,7 +26,7 @@ bin=`cd "$bin"; pwd`
readSlaves
readSlaves
for
slave
in
${
SLAVES
[@]
}
;
do
for
slave
in
${
SLAVES
[@]
}
;
do
ssh
-n
$FLINK_SSH_OPTS
$slave
--
"nohup /bin/bash -l
$
bin
/taskmanager.sh stop &"
ssh
-n
$FLINK_SSH_OPTS
$slave
--
"nohup /bin/bash -l
$
FLINK_BIN_DIR
/taskmanager.sh stop &"
done
done
# Stop JobManager instance(s)
# Stop JobManager instance(s)
...
@@ -36,10 +36,10 @@ if [[ $RECOVERY_MODE == "zookeeper" ]]; then
...
@@ -36,10 +36,10 @@ if [[ $RECOVERY_MODE == "zookeeper" ]]; then
readMasters
readMasters
for
master
in
${
MASTERS
[@]
}
;
do
for
master
in
${
MASTERS
[@]
}
;
do
ssh
-n
$FLINK_SSH_OPTS
$master
--
"nohup /bin/bash -l
$
bin
/jobmanager.sh stop &"
ssh
-n
$FLINK_SSH_OPTS
$master
--
"nohup /bin/bash -l
$
FLINK_BIN_DIR
/jobmanager.sh stop &"
done
done
else
else
"
$
bin
"
/jobmanager.sh stop
"
$
FLINK_BIN_DIR
"
/jobmanager.sh stop
fi
fi
shopt
-u
nocasematch
shopt
-u
nocasematch
flink-dist/src/main/flink-bin/bin/stop-zookeeper-quorum.sh
浏览文件 @
8aa8e4f9
...
@@ -39,7 +39,7 @@ while read server ; do
...
@@ -39,7 +39,7 @@ while read server ; do
id
=
${
BASH_REMATCH
[1]
}
id
=
${
BASH_REMATCH
[1]
}
server
=
${
BASH_REMATCH
[2]
}
server
=
${
BASH_REMATCH
[2]
}
ssh
-n
$FLINK_SSH_OPTS
$server
--
"nohup /bin/bash -l
$
bin
/zookeeper.sh stop &"
ssh
-n
$FLINK_SSH_OPTS
$server
--
"nohup /bin/bash -l
$
FLINK_BIN_DIR
/zookeeper.sh stop &"
else
else
echo
"[WARN] Parse error. Skipping config entry '
$server
'."
echo
"[WARN] Parse error. Skipping config entry '
$server
'."
fi
fi
...
...
flink-dist/src/main/flink-bin/bin/taskmanager.sh
浏览文件 @
8aa8e4f9
...
@@ -64,4 +64,4 @@ if [[ $STARTSTOP == "start" ]]; then
...
@@ -64,4 +64,4 @@ if [[ $STARTSTOP == "start" ]]; then
args
=
"--configDir
${
FLINK_CONF_DIR
}
--streamingMode
${
STREAMINGMODE
}
"
args
=
"--configDir
${
FLINK_CONF_DIR
}
--streamingMode
${
STREAMINGMODE
}
"
fi
fi
${
bin
}
/flink-daemon.sh
$STARTSTOP
taskmanager
"
${
args
}
"
${
FLINK_BIN_DIR
}
/flink-daemon.sh
$STARTSTOP
taskmanager
"
${
args
}
"
flink-dist/src/main/flink-bin/bin/zookeeper.sh
浏览文件 @
8aa8e4f9
...
@@ -53,4 +53,4 @@ if [[ $STARTSTOP == "start" ]]; then
...
@@ -53,4 +53,4 @@ if [[ $STARTSTOP == "start" ]]; then
args
=
"--zkConfigFile
$ZK_CONF
--peerId
$PEER_ID
"
args
=
"--zkConfigFile
$ZK_CONF
--peerId
$PEER_ID
"
fi
fi
${
bin
}
/flink-daemon.sh
$STARTSTOP
zookeeper
"
${
args
}
"
${
FLINK_BIN_DIR
}
/flink-daemon.sh
$STARTSTOP
zookeeper
"
${
args
}
"
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录