Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
xiphi1978
DolphinScheduler
提交
e0808640
DolphinScheduler
项目概览
xiphi1978
/
DolphinScheduler
与 Fork 源项目一致
Fork自
apache / DolphinScheduler
通知
2
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
DolphinScheduler
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
e0808640
编写于
3月 30, 2019
作者:
journey2018
提交者:
GitHub
3月 30, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Update install.sh
update install.sh remove ' '
上级
d9d07097
变更
1
隐藏空白更改
内联
并排
Showing
1 changed file
with
63 addition
and
63 deletion
+63
-63
install.sh
install.sh
+63
-63
未找到文件。
install.sh
浏览文件 @
e0808640
...
...
@@ -209,84 +209,84 @@ apiServers="ark1"
# 1,替换文件
echo
"1,替换文件"
sed
-i
''
"s#spring.datasource.url.*#spring.datasource.url=jdbc:mysql://
${
mysqlHost
}
/
${
mysqlDb
}
?characterEncoding=UTF-8#g"
conf/dao/data_source.properties
sed
-i
''
"s#spring.datasource.username.*#spring.datasource.username=
${
mysqlUserName
}
#g"
conf/dao/data_source.properties
sed
-i
''
"s#spring.datasource.password.*#spring.datasource.password=
${
mysqlPassword
}
#g"
conf/dao/data_source.properties
sed
-i
"s#spring.datasource.url.*#spring.datasource.url=jdbc:mysql://
${
mysqlHost
}
/
${
mysqlDb
}
?characterEncoding=UTF-8#g"
conf/dao/data_source.properties
sed
-i
"s#spring.datasource.username.*#spring.datasource.username=
${
mysqlUserName
}
#g"
conf/dao/data_source.properties
sed
-i
"s#spring.datasource.password.*#spring.datasource.password=
${
mysqlPassword
}
#g"
conf/dao/data_source.properties
sed
-i
''
"s#org.quartz.dataSource.myDs.URL.*#org.quartz.dataSource.myDs.URL=jdbc:mysql://
${
mysqlHost
}
/
${
mysqlDb
}
?characterEncoding=UTF-8#g"
conf/quartz.properties
sed
-i
''
"s#org.quartz.dataSource.myDs.user.*#org.quartz.dataSource.myDs.user=
${
mysqlUserName
}
#g"
conf/quartz.properties
sed
-i
''
"s#org.quartz.dataSource.myDs.password.*#org.quartz.dataSource.myDs.password=
${
mysqlPassword
}
#g"
conf/quartz.properties
sed
-i
"s#org.quartz.dataSource.myDs.URL.*#org.quartz.dataSource.myDs.URL=jdbc:mysql://
${
mysqlHost
}
/
${
mysqlDb
}
?characterEncoding=UTF-8#g"
conf/quartz.properties
sed
-i
"s#org.quartz.dataSource.myDs.user.*#org.quartz.dataSource.myDs.user=
${
mysqlUserName
}
#g"
conf/quartz.properties
sed
-i
"s#org.quartz.dataSource.myDs.password.*#org.quartz.dataSource.myDs.password=
${
mysqlPassword
}
#g"
conf/quartz.properties
sed
-i
''
"s#fs.defaultFS.*#fs.defaultFS =
${
namenodeFs
}
#g"
conf/common/hadoop/hadoop.properties
sed
-i
''
"s#yarn.resourcemanager.ha.rm.ids.*#yarn.resourcemanager.ha.rm.ids=
${
yarnHaIps
}
#g"
conf/common/hadoop/hadoop.properties
sed
-i
''
"s#yarn.application.status.address.*#yarn.application.status.address=http://
${
singleYarnIp
}
:8088/ws/v1/cluster/apps/%s#g"
conf/common/hadoop/hadoop.properties
sed
-i
"s#fs.defaultFS.*#fs.defaultFS=
${
namenodeFs
}
#g"
conf/common/hadoop/hadoop.properties
sed
-i
"s#yarn.resourcemanager.ha.rm.ids.*#yarn.resourcemanager.ha.rm.ids=
${
yarnHaIps
}
#g"
conf/common/hadoop/hadoop.properties
sed
-i
"s#yarn.application.status.address.*#yarn.application.status.address=http://
${
singleYarnIp
}
:8088/ws/v1/cluster/apps/%s#g"
conf/common/hadoop/hadoop.properties
sed
-i
''
"s#data.basedir.path.*#data.basedir.path=
${
programPath
}
#g"
conf/common/common.properties
sed
-i
''
"s#data.download.basedir.path.*#data.download.basedir.path=
${
downloadPath
}
#g"
conf/common/common.properties
sed
-i
''
"s#process.exec.basepath.*#process.exec.basepath=
${
execPath
}
#g"
conf/common/common.properties
sed
-i
''
"s#data.store2hdfs.basepath.*#data.store2hdfs.basepath=
${
hdfsPath
}
#g"
conf/common/common.properties
sed
-i
''
"s#hdfs.startup.state.*#hdfs.startup.state=
${
hdfsStartupSate
}
#g"
conf/common/common.properties
sed
-i
''
"s#escheduler.env.path.*#escheduler.env.path=
${
shellEnvPath
}
#g"
conf/common/common.properties
sed
-i
''
"s#escheduler.env.py.*#escheduler.env.py=
${
pythonEnvPath
}
#g"
conf/common/common.properties
sed
-i
''
"s#resource.view.suffixs.*#resource.view.suffixs=
${
resSuffixs
}
#g"
conf/common/common.properties
sed
-i
''
"s#development.state.*#development.state=
${
devState
}
#g"
conf/common/common.properties
sed
-i
"s#data.basedir.path.*#data.basedir.path=
${
programPath
}
#g"
conf/common/common.properties
sed
-i
"s#data.download.basedir.path.*#data.download.basedir.path=
${
downloadPath
}
#g"
conf/common/common.properties
sed
-i
"s#process.exec.basepath.*#process.exec.basepath=
${
execPath
}
#g"
conf/common/common.properties
sed
-i
"s#data.store2hdfs.basepath.*#data.store2hdfs.basepath=
${
hdfsPath
}
#g"
conf/common/common.properties
sed
-i
"s#hdfs.startup.state.*#hdfs.startup.state=
${
hdfsStartupSate
}
#g"
conf/common/common.properties
sed
-i
"s#escheduler.env.path.*#escheduler.env.path=
${
shellEnvPath
}
#g"
conf/common/common.properties
sed
-i
"s#escheduler.env.py.*#escheduler.env.py=
${
pythonEnvPath
}
#g"
conf/common/common.properties
sed
-i
"s#resource.view.suffixs.*#resource.view.suffixs=
${
resSuffixs
}
#g"
conf/common/common.properties
sed
-i
"s#development.state.*#development.state=
${
devState
}
#g"
conf/common/common.properties
sed
-i
''
"s#zookeeper.quorum.*#zookeeper.quorum=
${
zkQuorum
}
#g"
conf/zookeeper.properties
sed
-i
''
"s#zookeeper.escheduler.root.*#zookeeper.escheduler.root=
${
zkRoot
}
#g"
conf/zookeeper.properties
sed
-i
''
"s#zookeeper.escheduler.dead.servers.*#zookeeper.escheduler.dead.servers=
${
zkDeadServers
}
#g"
conf/zookeeper.properties
sed
-i
''
"s#zookeeper.escheduler.masters.*#zookeeper.escheduler.masters=
${
zkMasters
}
#g"
conf/zookeeper.properties
sed
-i
''
"s#zookeeper.escheduler.workers.*#zookeeper.escheduler.workers=
${
zkWorkers
}
#g"
conf/zookeeper.properties
sed
-i
''
"s#zookeeper.escheduler.lock.masters.*#zookeeper.escheduler.lock.masters=
${
mastersLock
}
#g"
conf/zookeeper.properties
sed
-i
''
"s#zookeeper.escheduler.lock.workers.*#zookeeper.escheduler.lock.workers=
${
workersLock
}
#g"
conf/zookeeper.properties
sed
-i
''
"s#zookeeper.escheduler.lock.failover.masters.*#zookeeper.escheduler.lock.failover.masters=
${
mastersFailover
}
#g"
conf/zookeeper.properties
sed
-i
''
"s#zookeeper.escheduler.lock.failover.workers.*#zookeeper.escheduler.lock.failover.workers=
${
workersFailover
}
#g"
conf/zookeeper.properties
sed
-i
''
"s#zookeeper.session.timeout.*#zookeeper.session.timeout=
${
zkSessionTimeout
}
#g"
conf/zookeeper.properties
sed
-i
''
"s#zookeeper.connection.timeout.*#zookeeper.connection.timeout=
${
zkConnectionTimeout
}
#g"
conf/zookeeper.properties
sed
-i
''
"s#zookeeper.retry.sleep.*#zookeeper.retry.sleep=
${
zkRetrySleep
}
#g"
conf/zookeeper.properties
sed
-i
''
"s#zookeeper.retry.maxtime.*#zookeeper.retry.maxtime=
${
zkRetryMaxtime
}
#g"
conf/zookeeper.properties
sed
-i
"s#zookeeper.quorum.*#zookeeper.quorum=
${
zkQuorum
}
#g"
conf/zookeeper.properties
sed
-i
"s#zookeeper.escheduler.root.*#zookeeper.escheduler.root=
${
zkRoot
}
#g"
conf/zookeeper.properties
sed
-i
"s#zookeeper.escheduler.dead.servers.*#zookeeper.escheduler.dead.servers=
${
zkDeadServers
}
#g"
conf/zookeeper.properties
sed
-i
"s#zookeeper.escheduler.masters.*#zookeeper.escheduler.masters=
${
zkMasters
}
#g"
conf/zookeeper.properties
sed
-i
"s#zookeeper.escheduler.workers.*#zookeeper.escheduler.workers=
${
zkWorkers
}
#g"
conf/zookeeper.properties
sed
-i
"s#zookeeper.escheduler.lock.masters.*#zookeeper.escheduler.lock.masters=
${
mastersLock
}
#g"
conf/zookeeper.properties
sed
-i
"s#zookeeper.escheduler.lock.workers.*#zookeeper.escheduler.lock.workers=
${
workersLock
}
#g"
conf/zookeeper.properties
sed
-i
"s#zookeeper.escheduler.lock.failover.masters.*#zookeeper.escheduler.lock.failover.masters=
${
mastersFailover
}
#g"
conf/zookeeper.properties
sed
-i
"s#zookeeper.escheduler.lock.failover.workers.*#zookeeper.escheduler.lock.failover.workers=
${
workersFailover
}
#g"
conf/zookeeper.properties
sed
-i
"s#zookeeper.session.timeout.*#zookeeper.session.timeout=
${
zkSessionTimeout
}
#g"
conf/zookeeper.properties
sed
-i
"s#zookeeper.connection.timeout.*#zookeeper.connection.timeout=
${
zkConnectionTimeout
}
#g"
conf/zookeeper.properties
sed
-i
"s#zookeeper.retry.sleep.*#zookeeper.retry.sleep=
${
zkRetrySleep
}
#g"
conf/zookeeper.properties
sed
-i
"s#zookeeper.retry.maxtime.*#zookeeper.retry.maxtime=
${
zkRetryMaxtime
}
#g"
conf/zookeeper.properties
sed
-i
''
"s#master.exec.threads.*#master.exec.threads=
${
masterExecThreads
}
#g"
conf/master.properties
sed
-i
''
"s#master.exec.task.number.*#master.exec.task.number=
${
masterExecTaskNum
}
#g"
conf/master.properties
sed
-i
''
"s#master.heartbeat.interval.*#master.heartbeat.interval=
${
masterHeartbeatInterval
}
#g"
conf/master.properties
sed
-i
''
"s#master.task.commit.retryTimes.*#master.task.commit.retryTimes=
${
masterTaskCommitRetryTimes
}
#g"
conf/master.properties
sed
-i
''
"s#master.task.commit.interval.*#master.task.commit.interval=
${
masterTaskCommitInterval
}
#g"
conf/master.properties
sed
-i
''
"s#master.max.cpuload.avg.*#master.max.cpuload.avg=
${
masterMaxCupLoadAvg
}
#g"
conf/master.properties
sed
-i
''
"s#master.reserved.memory.*#master.reserved.memory=
${
masterReservedMemory
}
#g"
conf/master.properties
sed
-i
"s#master.exec.threads.*#master.exec.threads=
${
masterExecThreads
}
#g"
conf/master.properties
sed
-i
"s#master.exec.task.number.*#master.exec.task.number=
${
masterExecTaskNum
}
#g"
conf/master.properties
sed
-i
"s#master.heartbeat.interval.*#master.heartbeat.interval=
${
masterHeartbeatInterval
}
#g"
conf/master.properties
sed
-i
"s#master.task.commit.retryTimes.*#master.task.commit.retryTimes=
${
masterTaskCommitRetryTimes
}
#g"
conf/master.properties
sed
-i
"s#master.task.commit.interval.*#master.task.commit.interval=
${
masterTaskCommitInterval
}
#g"
conf/master.properties
sed
-i
"s#master.max.cpuload.avg.*#master.max.cpuload.avg=
${
masterMaxCupLoadAvg
}
#g"
conf/master.properties
sed
-i
"s#master.reserved.memory.*#master.reserved.memory=
${
masterReservedMemory
}
#g"
conf/master.properties
sed
-i
''
"s#worker.exec.threads.*#worker.exec.threads=
${
workerExecThreads
}
#g"
conf/worker.properties
sed
-i
''
"s#worker.heartbeat.interval.*#worker.heartbeat.interval=
${
workerHeartbeatInterval
}
#g"
conf/worker.properties
sed
-i
''
"s#worker.fetch.task.num.*#worker.fetch.task.num=
${
workerFetchTaskNum
}
#g"
conf/worker.properties
sed
-i
''
"s#worker.max.cpuload.avg.*#worker.max.cpuload.avg=
${
workerMaxCupLoadAvg
}
#g"
conf/worker.properties
sed
-i
''
"s#worker.reserved.memory.*#worker.reserved.memory=
${
workerReservedMemory
}
#g"
conf/worker.properties
sed
-i
"s#worker.exec.threads.*#worker.exec.threads=
${
workerExecThreads
}
#g"
conf/worker.properties
sed
-i
"s#worker.heartbeat.interval.*#worker.heartbeat.interval=
${
workerHeartbeatInterval
}
#g"
conf/worker.properties
sed
-i
"s#worker.fetch.task.num.*#worker.fetch.task.num=
${
workerFetchTaskNum
}
#g"
conf/worker.properties
sed
-i
"s#worker.max.cpuload.avg.*#worker.max.cpuload.avg=
${
workerMaxCupLoadAvg
}
#g"
conf/worker.properties
sed
-i
"s#worker.reserved.memory.*#worker.reserved.memory=
${
workerReservedMemory
}
#g"
conf/worker.properties
sed
-i
''
"s#server.port.*#server.port=
${
apiServerPort
}
#g"
conf/application.properties
sed
-i
''
"s#server.session.timeout.*#server.session.timeout=
${
apiServerSessionTimeout
}
#g"
conf/application.properties
sed
-i
''
"s#server.context-path.*#server.context-path=
${
apiServerContextPath
}
#g"
conf/application.properties
sed
-i
''
"s#spring.http.multipart.max-file-size.*#spring.http.multipart.max-file-size=
${
springMaxFileSize
}
#g"
conf/application.properties
sed
-i
''
"s#spring.http.multipart.max-request-size.*#spring.http.multipart.max-request-size=
${
springMaxRequestSize
}
#g"
conf/application.properties
sed
-i
''
"s#server.max-http-post-size.*#server.max-http-post-size=
${
apiMaxHttpPostSize
}
#g"
conf/application.properties
sed
-i
"s#server.port.*#server.port=
${
apiServerPort
}
#g"
conf/application.properties
sed
-i
"s#server.session.timeout.*#server.session.timeout=
${
apiServerSessionTimeout
}
#g"
conf/application.properties
sed
-i
"s#server.context-path.*#server.context-path=
${
apiServerContextPath
}
#g"
conf/application.properties
sed
-i
"s#spring.http.multipart.max-file-size.*#spring.http.multipart.max-file-size=
${
springMaxFileSize
}
#g"
conf/application.properties
sed
-i
"s#spring.http.multipart.max-request-size.*#spring.http.multipart.max-request-size=
${
springMaxRequestSize
}
#g"
conf/application.properties
sed
-i
"s#server.max-http-post-size.*#server.max-http-post-size=
${
apiMaxHttpPostSize
}
#g"
conf/application.properties
sed
-i
''
"s#mail.protocol.*#mail.protocol=
${
mailProtocol
}
#g"
conf/alert.properties
sed
-i
''
"s#mail.server.host.*#mail.server.host=
${
mailServerHost
}
#g"
conf/alert.properties
sed
-i
''
"s#mail.server.port.*#mail.server.port=
${
mailServerPort
}
#g"
conf/alert.properties
sed
-i
''
"s#mail.sender.*#mail.sender=
${
mailSender
}
#g"
conf/alert.properties
sed
-i
''
"s#mail.passwd.*#mail.passwd=
${
mailPassword
}
#g"
conf/alert.properties
sed
-i
''
"s#xls.file.path.*#xls.file.path=
${
xlsFilePath
}
#g"
conf/alert.properties
sed
-i
"s#mail.protocol.*#mail.protocol=
${
mailProtocol
}
#g"
conf/alert.properties
sed
-i
"s#mail.server.host.*#mail.server.host=
${
mailServerHost
}
#g"
conf/alert.properties
sed
-i
"s#mail.server.port.*#mail.server.port=
${
mailServerPort
}
#g"
conf/alert.properties
sed
-i
"s#mail.sender.*#mail.sender=
${
mailSender
}
#g"
conf/alert.properties
sed
-i
"s#mail.passwd.*#mail.passwd=
${
mailPassword
}
#g"
conf/alert.properties
sed
-i
"s#xls.file.path.*#xls.file.path=
${
xlsFilePath
}
#g"
conf/alert.properties
sed
-i
''
"s#installPath.*#installPath=
${
installPath
}
#g"
conf/config/install_config.conf
sed
-i
''
"s#deployUser.*#deployUser=
${
deployUser
}
#g"
conf/config/install_config.conf
sed
-i
''
"s#ips.*#ips=
${
ips
}
#g"
conf/config/install_config.conf
sed
-i
"s#installPath.*#installPath=
${
installPath
}
#g"
conf/config/install_config.conf
sed
-i
"s#deployUser.*#deployUser=
${
deployUser
}
#g"
conf/config/install_config.conf
sed
-i
"s#ips.*#ips=
${
ips
}
#g"
conf/config/install_config.conf
sed
-i
''
"s#masters.*#masters=
${
masters
}
#g"
conf/config/run_config.conf
sed
-i
''
"s#workers.*#workers=
${
workers
}
#g"
conf/config/run_config.conf
sed
-i
''
"s#alertServer.*#alertServer=
${
alertServer
}
#g"
conf/config/run_config.conf
sed
-i
''
"s#apiServers.*#apiServers=
${
apiServers
}
#g"
conf/config/run_config.conf
sed
-i
"s#masters.*#masters=
${
masters
}
#g"
conf/config/run_config.conf
sed
-i
"s#workers.*#workers=
${
workers
}
#g"
conf/config/run_config.conf
sed
-i
"s#alertServer.*#alertServer=
${
alertServer
}
#g"
conf/config/run_config.conf
sed
-i
"s#apiServers.*#apiServers=
${
apiServers
}
#g"
conf/config/run_config.conf
...
...
@@ -348,4 +348,4 @@ fi
# 6,启动
echo
"6,启动"
sh
${
workDir
}
/script/start_all.sh
\ No newline at end of file
sh
${
workDir
}
/script/start_all.sh
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录