上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 37 下一页
摘要: logstash一个实例运行多个配置文件,将所有配置文件放到以下目录即可 /usr/share/logstash/pipeline 但是默认行为不是每个配置文件独立运行,而是作为一个整体,每个input会匹配所有的filter,然后匹配所有的output,可能会导致数据被错误的处理以及发送到错误的地 阅读全文
posted @ 2019-09-22 11:04 匠人先生 阅读(2314) 评论(0) 推荐(0) 编辑
摘要: 通过api调用marathon重启app后出现deployment,但是app不会重启,配置如下: "constraints": [ [ "hostname", "UNIQUE" ], [ "hostname", "LIKE", "HOST-00[12]" ] ] 指定app只能在2个服务器上启动, 阅读全文
posted @ 2019-09-22 10:43 匠人先生 阅读(399) 评论(0) 推荐(0) 编辑
摘要: Jenkins 2.164.2 官方:https://jenkins.io 一 简介 Build great things at any scale The leading open source automation server, Jenkins provides hundreds of plu 阅读全文
posted @ 2019-08-07 00:18 匠人先生 阅读(462) 评论(0) 推荐(0) 编辑
摘要: nginx配置 lua_package_path "/usr/local/openresty/lualib/resty/smtp/?.lua;;"; lua_need_request_body on; location ^~ /alarm/mail { resolver 202.106.0.20 v 阅读全文
posted @ 2019-08-05 20:47 匠人先生 阅读(863) 评论(0) 推荐(0) 编辑
摘要: mysql内存设置,首先要知道当前的设置 MySQL [(none)]> show variables like '%buffer%'; + + + | Variable_name | Value | + + + | bulk_insert_buffer_size | 8388608 | | inn 阅读全文
posted @ 2019-07-31 22:31 匠人先生 阅读(328) 评论(0) 推荐(0) 编辑
摘要: Hive或spark中执行sql字符常量包含;时会报错,比如 select instr('abc;abc', ';'); 报错 NoViableAltException(-1@[147:1: selectExpression : ( expression | tableAllColumns );]) 阅读全文
posted @ 2019-07-30 20:10 匠人先生 阅读(6111) 评论(0) 推荐(0) 编辑
摘要: openresty(nginx+lua)发http请求 利用location+proxy_pass间接实现 location ^~ /test/http { internal; proxy_pass http://test.com/path; } lua代码 local res, err = ngx 阅读全文
posted @ 2019-07-29 20:36 匠人先生 阅读(1392) 评论(0) 推荐(0) 编辑
摘要: openresty(nginx+lua)中获取不到post数据,ngx.req.get_body_data返回nil This function returns nil if the request body has not been read, the request body has been 阅读全文
posted @ 2019-07-27 00:26 匠人先生 阅读(3365) 评论(1) 推荐(0) 编辑
摘要: 一 下载 confluence https://product-downloads.atlassian.com/software/confluence/downloads/atlassian-confluence-6.15.6-x64.bin jira https://product-downloa 阅读全文
posted @ 2019-07-10 14:40 匠人先生 阅读(1390) 评论(0) 推荐(0) 编辑
摘要: spring项目中将sessionid对应的cookie过期时间设置很长,但是实际session还是在半个小时后失效,跟了一下代码,spring中session实现接口为 org.springframework.session.SessionRepository public interface S 阅读全文
posted @ 2019-07-10 14:29 匠人先生 阅读(3443) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 37 下一页