1、top cpu占用过高 2、docker stats 3、docker ps 4、docker exec -it /bin/bash 【id】 5、top 6、ps -mp [占用过高程序pid] -o THREAD,tid,time 7、printf "%x\n" [异常线程tid] 8、js ...
分类:
编程语言 时间:
2021-05-24 06:32:15
阅读次数:
0
1.向JDBC读数据 object SparkSQL02_Datasource { def main(args: Array[String]): Unit = { //创建上下文环境配置对象 val conf: SparkConf = new SparkConf().setMaster("local ...
分类:
数据库 时间:
2021-05-24 05:59:48
阅读次数:
0
1.连接问题 Cannot get a connection, pool error Timeout waiting for idle object 解决: 排查思路: 1.检查是否应用压力过大,无法获取空闲连接 查看cpu、内存 查看tomcat的连接数(netstat -natp | grep ...
分类:
其他好文 时间:
2021-05-24 05:29:42
阅读次数:
0
import scala.util.parsing.json.JSON._import scala.io.Source val js_file="pspldata.area%s_tableMapping.json".format(1)val js_source = Source.fromFile(j ...
分类:
Web程序 时间:
2021-05-24 04:09:53
阅读次数:
0
1,VScoed 首先安装Debugger fro Chrome 首先配置vue.config.js module.exports = { configureWebpack: { devtool: 'source-map' } } 然后配置VScode运行和调试 { // 使用 IntelliSen ...
分类:
其他好文 时间:
2021-05-24 04:01:57
阅读次数:
0
链接:阿里云服务器(Linux)下载及安装nginx过程记录_庆登登登x的博客-CSDN博客 一、下载Nginx相关组件 下载nginx及相关组件 下载openssl命令:wget http://www.openssl.org/source/openssl-fips-2.0.10.tar.gz 下载 ...
分类:
系统相关 时间:
2021-05-24 03:48:49
阅读次数:
0
<plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <version>3.0.0-M5</version> <configuration> <!-- S ...
分类:
其他好文 时间:
2021-05-24 03:28:46
阅读次数:
0
Spring配置 设置别名 //在配置文件中设置别名 <alias> <alias name="user" alias="myUser"/> //在测试类中使用设置的别名 User user= (User) applicationContext.getBean("myUser"); 标签配置 id ...
分类:
编程语言 时间:
2021-05-24 03:12:20
阅读次数:
0
1:删除当前目录下 后缀为 ”.***“的文件 find -name "*.txt" -exec rm -f '{}' \; 删除后缀为.txt的文件 2:清空某个文件的内容 echo "" > filename ...
分类:
系统相关 时间:
2021-05-24 02:31:05
阅读次数:
0
<template> <div> <video id="my-video" class="video-js vjs-default-skin vjs-big-play-centered box" controls preload="none" > <source src="" type="appli ...
分类:
其他好文 时间:
2021-05-24 01:58:51
阅读次数:
0