- 博客(4)
- 收藏
- 关注
原创 解决使用RestTemplate 日志中出现timerCache is above the warning threshold of 1000 with size xxx 警告
解决使用RestTemplate 日志中出现timerCache is above the warning threshold of 1000 with size xxx 警告项目版本:springboot 1.5.2.RELEASE,springcloud Camden.SR5,某处业务中通过RestTemplate 连接字符串url大量调用第三方服务,日志出现以下警告内容:2021-09-09 12:11:41.973 WARN [resources-Executor-2] o.s.c.n.met
2021-09-12 18:04:46
1708
原创 spark使用SparkContext.textFile(path)方法读取文件报错
代码:public class Wordcount { private static final Pattern SPACE = Pattern.compile(" "); public static void main(String[] args) { SparkConf sparkConf = new SparkConf().setAppName("sparkBoot").setMaster("local"); JavaSparkContext s
2020-12-22 17:58:12
4352
原创 VirtualBox6启动虚拟机报错:不能为虚拟电脑 xxx 打开一个新任务
VirtualBox6启动虚拟机报错:不能为虚拟电脑 xxx 打开一个新任务下载安装最新版VirtualBox-6.1.16后,发现之前建的虚拟机启动报错:不能为虚拟电脑xxx打开一个新任务。查看日志:VMSetError: Failed to load R0 module D:\VirtualBox-6.1.16-140961/VMMR0.r0: Signature #2/3: Expected at least 2 valid paths, not 1.: \Device\HarddiskVolum
2020-12-11 16:17:15
4357
原创 centos7、8搭建本地离线yum仓库
centos7、8搭建本地离线yum仓库最近项目中需要在服务器搭建本地离线yum仓库,并且需要兼容centos7和centos8,踩了不少坑,总结一下经验。第一步 下载rpm包centos7、8下载rpm包方式一样。如下载ansible软件包至本地/opt/package/repo/目录。 示例:方式一: yum install --downloadonly --downloaddir=/opt/package/repo/ ansible方式二: yum -y install yum-utils
2020-12-02 15:15:28
4255
5
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人