superrvisor application config ini
1. zookeeper
[program:zookeeper]
environment = JAVA_HOME="/opt/jdk1.8.0_191"
process_name=%(program_name)s ;进程名称
directory=/home/lenmom/workspace/software/zookeeper-3.4. ;工作目录
command=nohup ./bin/zkServer.sh start ;运行的命令
autostart=true ;自动开启
autorestart=true ;自动重启
user=lenmom ;用户
numprocs= ;进程数
startretries= ;启动重试次数
stopasgroup=true ;是否停止子进程
killasgroup=true ;是否杀死子进程
startsecs= ;启动5秒后,如果还是运行状态才认为进程已经启动
;redirect_stderr=true
;stdout_logfile_maxbytes=100MB
stdout_logfile_backups=
stdout_logfile=./logs/zookeeper_supervisor.log
2. doris_fe
[program:doris_fe]
environment = JAVA_HOME="/opt/jdk1.8.0_191"
process_name=%(program_name)s ;进程名称
directory=/opt/palo-0.10./fe ;工作目录
command=sh /opt/palo-0.10./fe/bin/start_fe.sh --daemon ;运行的命令
autostart=true ;自动开启
autorestart=true ;自动重启
user=lenmom ;用户
numprocs= ;进程数
startretries= ;启动重试次数
stopasgroup=true ;是否停止子进程
killasgroup=true ;是否杀死子进程
startsecs= ;启动5秒后,如果还是运行状态才认为进程已经启动
;redirect_stderr=true
;stdout_logfile_maxbytes=100MB
stdout_logfile_backups=
stdout_logfile=./logs/palo_fe_supervisor.log
3. doris_hdfs_broker
[program:doris_broker]
environment = JAVA_HOME="/opt/jdk1.8.0_191"
process_name=%(program_name)s ;进程名称
directory=/opt/doris-0.10./apache_hdfs_broker ;工作目录
command=sh ./bin/start_broker.sh --daemon ;运行的命令
autostart=true ;自动开启
autorestart=true ;自动重启
user=druid ;用户
numprocs= ;进程数
startretries= ;启动重试次数
stopasgroup=true ;是否停止子进程
killasgroup=true ;是否杀死子进程
startsecs= ;启动5秒后,如果还是运行状态才认为进程已经启动
;redirect_stderr=true
;stdout_logfile_maxbytes=20MB
stdout_logfile_backups=
stdout_logfile=./logs/supervisor-broker.log
4. doris_be
[program:doris_be]
process_name=%(program_name)s ;进程名称
directory=/opt/doris-0.10./be ;工作目录
command=sh ./bin/start_be.sh --daemon ;运行的命令
autostart=true ;自动开启
autorestart=true ;自动重启
user=lenmom ;用户
numprocs= ;进程数
startretries= ;启动重试次数
stopasgroup=true ;是否停止子进程
killasgroup=true ;是否杀死子进程
startsecs= ;启动5秒后,如果还是运行状态才认为进程已经启动
;redirect_stderr = true
;stdout_logfile_maxbytes = 20MB
stdout_logfile_backups =
stdout_logfile=./log/supervisor-doris_be.log
5. hive server2
[program:hive_server2]
environment = JAVA_HOME=/opt/jdk1..0_191,HIVE_HOME=/home/workspace/software/apache-hive-2.3.,HADOOP_HOME=/home/workspace/software/hadoop-2.7.
process_name=%(program_name)s ;进程名称
directory=/home/workspace/software/apache-hive-2.3. ;工作目录
command=nohup ./bin/hive --service hiveserver2 ;运行的命令
autostart=true ;自动开启
autorestart=true ;自动重启
user=lenmom ;用户
numprocs= ;进程数
startretries= ;启动重试次数
stopasgroup=true ;是否停止子进程
killasgroup=true ;是否杀死子进程
startsecs= ;启动5秒后,如果还是运行状态才认为进程已经启动
;redirect_stderr=true
;stdout_logfile_maxbytes=20MB
stdout_logfile_backups=
stdout_logfile=./log/hive_server2_supervisor.log
6. hive metastore
[program:hive_metastore]
environment = JAVA_HOME=/opt/jdk1..0_191,HIVE_HOME=/home/workspace/software/apache-hive-2.3.,HADOOP_HOME=/home/workspace/software/hadoop-2.7.
process_name=%(program_name)s ;进程名称
directory=/home/workspace/software/apache-hive-2.3. ;工作目录
command=nohup /bin/hive --service metastore ;运行的命令
autostart=true ;自动开启
autorestart=true ;自动重启
user=druid ;用户
numprocs= ;进程数
startretries= ;启动重试次数
stopasgroup=true ;是否停止子进程
killasgroup=true ;是否杀死子进程
startsecs= ;启动5秒后,如果还是运行状态才认为进程已经启动
;redirect_stderr=true
;stdout_logfile_maxbytes=20MB
stdout_logfile_backups=
stdout_logfile=./log/hive_metastore_supervisor.log
7. kafka
[program:kafka]
environment = JAVA_HOME="/opt/jdk1.8.0_191",SCALA_HOME="/home/lenmom/workspace/software/scala-2.11.8"
process_name=%(program_name)s ;进程名称
directory=/home/lenmom/workspace/software/kafka_2.-2.1. ;工作目录
command=./bin/kafka-server-start.sh ./config/server.properties ;运行的命令
autostart=true ;自动开启
autorestart=true ;自动重启
user=lenmom ;用户
numprocs= ;进程数
startretries= ;启动重试次数
stopasgroup=true ;是否停止子进程
killasgroup=true ;是否杀死子进程
startsecs= ;启动5秒后,如果还是运行状态才认为进程已经启动
;redirect_stderr=true
;stdout_logfile_maxbytes=100MB
stdout_logfile_backups=
stdout_logfile=./logs/supervisor_kafka.log
8. kafka connector
superrvisor application config ini的更多相关文章
- myeclipse 无法启动 java.lang.IllegalStateException: Unable to acquire application service. Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini).
把myeclipse10 按照目录完整拷贝到了另外一台电脑, 另外的目录 原安装目录 D\:\soft\i\myeclipse10 新安装目录 E\:\soft\myeclipse10 双击启动失败, ...
- Eclipse无法启动错误之Ensure that the org.eclipse.core.runtime bundle is resolved and started (see config.ini)
悲剧,在安装Android Build Tools时,提醒需要关闭Eclipse进行安装,于是我在Tools安装完成后重启了Eclipse.但是Eclipse却无法启动,在log中有如下提示: Una ...
- C#对config.ini文件进行读取和修改
C#对config.ini文件进行读取和修改: public partial class Patrolcar : Form之后可以加入如下类: #region public class IniFile ...
- MySQL Cluster 配置文件(config.ini)详解
MySQL Cluster 配置文件(config.ini)详解 ################################################################### ...
- No connection string named '***' could be found in the application config file
Code-First时更新数据库遇到妖孽问题“No connection string named '***' could be found in the application config fil ...
- selenium的config.ini
config.ini # What WebDriver to use for the tests#driver=phantomjs#driver=firefoxdriver=chrome#driver ...
- python config.ini的应用
config.ini文件的结构是以下这样的:结构是"[ ]"之下是一个section,一部分一部分的结构.以下有三个section,分别为section0,section1,sec ...
- 1. 在config.ini文件中加入dm.park.time=1,会使uap中的tomcat启动加快
在config.ini文件中加入dm.park.time=1,会使uap中的tomcat启动加快
- 读取设置config.ini配置
class CSenseIni { /************************************************************************/ /*写操作 * ...
随机推荐
- Spring mvc初学
转自:http://www.cnblogs.com/bigdataZJ/p/springmvc1.html 从今天起,准备好好审视并学习Spring mvc. 虽然从学java的第一个程序——hell ...
- main 团队项目厨娘:用例图、类图、时序图
团队:main 项目:厨娘 个人用例图
- python虚拟环境创建
1.模块安装: pip install virtualenv linux下:pip install virtualenvwrapper(用于workon管理) windows下:pip install ...
- jQuery开发API参考
http://jquery.cuishifeng.cn/show.html (原地址)
- tp5 base64 图片上传
/** * 保存图片 */ public function uploads($value='') { // $file = base64_decode(request()->file('imag ...
- ip本地查询
下载地址:http://www.cz88.net/ http://www.crsky.com/soft/2611.html QQWry.dat文件在结构上分为3块:文件头,记录区,索引区. 一般我们要 ...
- java.lang.ClassNotFoundException:oracle.jdbc.OracleDriver
在使用JDBC时经常碰到java.lang.ClassNotFoundException:oracle.jdbc.OracleDriver问题 这是jvm找不到驱动类文件,可能是以下原因: 没有导入驱 ...
- java基础(1)IntelliJ IDEA入门和数组操作 解决idea启动速度慢--配置JVM
一. IntelliJ IDEA入门 1 快捷键和技巧 智能补全代码,比如只写首字母按回车: psvm+Enter :public stactic void main(String[] args) s ...
- 深入理解使用synchronized同步方法和同步代码块的区别
一.代码块和方法之间的区别 首先需要知道代码块和方法有什么区别: 构造器和方法块,构造器可以重载也就是说明在创建对象时可以按照不同的构造器来创建,那么构造器是属于对象,而代码块呢他是给所有的对象初始化 ...
- net core 解除上传大附件的限制
1.对于使用自带服务器kernal的情况下,只需要在对应的action上添加属性 DisableRequestSizeLimit [HttpPost] [DisableRequestSizeLimit ...