摘要: 搜集各方资料 以及官方文档 https://www.jishuchi.com/read/Jumpserver-148/2102 补充笔者采坑处理 1.安装python3环境 1>更新epel-release $yum install -y python36 python36-devel python 阅读全文
posted @ 2019-12-10 00:39 剑未佩妥出门已是江湖 阅读(546) 评论(0) 推荐(0) 编辑
摘要: 说明:因博主是后期整理,所以部署过程中遇到的坑没有截图 前提: 1.确保selinux关闭 2.确保防火墙关闭 搭建开始: 1.选择合适版本的zip包(找个最新的就行),解压缩到/opt https://ftp.otrs.org/pub/otrs/ 注意:解压缩后,文件夹名字务必修改成otrs 2. 阅读全文
posted @ 2020-04-26 10:04 剑未佩妥出门已是江湖 阅读(1500) 评论(0) 推荐(0) 编辑
摘要: 虚拟机磁盘空间不足,在上面的nexus服务挂了。重启的时候,发现启动失败,在日志中发现了如下报错 org.sonatype.nexus.NxApplication - Could not start Nexus, bad IO exception! jvm 1 | java.io.EOFExcept 阅读全文
posted @ 2020-03-03 10:53 剑未佩妥出门已是江湖 阅读(1412) 评论(0) 推荐(0) 编辑
摘要: 在服务运行过程中必然会设置log 来记录其运行日志,对于日志信息,如果不进行处理的话,日积月累会占用大量的磁盘空间 而且对于那些不重要的log 信息,也需要及时清理掉. 记录自己处理某实时服务产生的log 过程. 方式一:(一天日志量不大) 如果该服务一天产生的日志量不是很大的话,可以直接保留一天的 阅读全文
posted @ 2019-04-25 17:46 剑未佩妥出门已是江湖 阅读(1978) 评论(0) 推荐(0) 编辑
摘要: 根据自己输入的日期格式,选择对应的code 转: http://bigdataprogrammers.com/string-date-conversion-hive/ 阅读全文
posted @ 2019-04-11 12:09 剑未佩妥出门已是江湖 阅读(4291) 评论(0) 推荐(0) 编辑
摘要: 1.在执行插入之前,必须要指定参数 spark.sql("set hive.exec.dynamic.partition.mode=nonstrict") spark.sql('''set mapred.output.compress=true''') spark.sql('''set hive.e 阅读全文
posted @ 2019-03-05 18:38 剑未佩妥出门已是江湖 阅读(696) 评论(1) 推荐(0) 编辑
摘要: 1.在scala内部执行Linux命令 // 必须引入,否则报错 import scala.sys.process._ object linux_test { def main(args: Array[String]): Unit = { val tt = "test@163.com" val ti 阅读全文
posted @ 2019-02-28 20:03 剑未佩妥出门已是江湖 阅读(972) 评论(0) 推荐(1) 编辑