xmanman

导航

 
上一页 1 2 3 4 5 6 ··· 8 下一页

2020年5月12日

摘要: CDH时间不同步问题,ntp服务器搭建: hadoop集群中配置ntp时间同步服务器 1、首先cdh centos默认时间同步使用的是chronyd服务,先关闭: systemctl stop chronyd 2、时间服务器配置(必须root用户): 1 检查ntp服务是否安装 2 [root@ha 阅读全文
posted @ 2020-05-12 13:32 xmanman 阅读(1745) 评论(0) 推荐(0)
 

2020年5月8日

摘要: 一次项目想,多线程消费主题的中的数据,百度了一波之后,可以按分区进行单独消费,记录一下 首先,传统按照主题消费: 1 @KafkaListener(topics = {Constants.KAFKA_TOPIC_PISHH}, containerFactory = "kafkaListenerMon 阅读全文
posted @ 2020-05-08 13:28 xmanman 阅读(809) 评论(0) 推荐(0)
 

2020年4月24日

摘要: 初期在做不同项目的单点登陆时,看到server的tmp目录下有很多的sess_xxxxxxxxxxxxxxxx文件,发现每次新打开浏览器都会新生产一个新文件,对于一个强迫症患者来说这是一个很烦的东西。 尝试定时删除,但对于正在生效的session会存在误删的操作。 百度了一番之后,发现php对于自身 阅读全文
posted @ 2020-04-24 13:19 xmanman 阅读(460) 评论(0) 推荐(0)
 

2020年3月12日

摘要: 首先先知道几个常用的,找系统路径的命令: 当前文件的所在路径: os.path.abspath(__file__) # /app/zws/test2.py 当前文件的所在的父级路径: os.path.abspath(os.path.abspath(__file__) + os.path.sep + 阅读全文
posted @ 2020-03-12 14:38 xmanman 阅读(584) 评论(0) 推荐(0)
 

2020年3月2日

摘要: 1 import schedule 2 import os 3 import datetime 4 import threading 5 import time 6 7 8 class Timing: 9 def __init__(self): 10 self.gLock = threading.L 阅读全文
posted @ 2020-03-02 15:31 xmanman 阅读(198) 评论(0) 推荐(0)
 

2020年2月26日

摘要: 一、使用pycharm创建虚拟环境 打开setting: 选择虚拟环境地址:点击ok即可 二:使用命令行创建 1.安装 pip install virtualenv 2.创建虚拟环境: cd D:\pythonWorkSpace virtualenv envtest 三:验证虚拟环境: 1.首先进入 阅读全文
posted @ 2020-02-26 16:43 xmanman 阅读(248) 评论(0) 推荐(0)
 

2020年2月18日

摘要: 原文链接:https://blog.csdn.net/weiyuefei/article/details/51285765 参考解决: 问题回顾: 安装好vsftp服务和ftp客户端之后,创建的用户无法访问ftp服务? 530 Permission denied。 故障排除: 1.首先检查系统是否开 阅读全文
posted @ 2020-02-18 15:02 xmanman 阅读(1821) 评论(0) 推荐(0)
 

2019年11月5日

摘要: 本文参考 https://blog.csdn.net/qq_34608620/article/details/80635139 @requestbody的含义是在当前对象获取整个http请求的body里面的所有数据,因此spring就不可能将这个数据强制包装成A参数和B参数, 一般情况下,@Requ 阅读全文
posted @ 2019-11-05 13:06 xmanman 阅读(1002) 评论(0) 推荐(0)
 

2019年10月11日

摘要: 由于Greenplum在Maven中未能找到与之匹配的jar驱动,所以需要自己构建本地仓库(1) cmd 打开运行窗口(2) 进入下载好的greenplum.jar包目录(3) 运行mvn install:install-file -Dfile=greenplum.jar -DgroupId=lib 阅读全文
posted @ 2019-10-11 12:34 xmanman 阅读(832) 评论(0) 推荐(0)
 

2019年10月8日

摘要: 从这篇文章开始: https://blog.csdn.net/iteye_4668/article/details/82681324 阅读全文
posted @ 2019-10-08 17:11 xmanman 阅读(99) 评论(0) 推荐(0)
 
上一页 1 2 3 4 5 6 ··· 8 下一页