摘要: var connection: Connection = null var pstmt:PreparedStatement = null try{ connection = MySQLUtils.getConnection() connection.setAutoCommit(false)//设置手 阅读全文
posted @ 2020-10-29 13:08 火火火火四火 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 发现jvm进程pid jps -v jinfo查看详细 jinfo -flags 26682 jmap查看堆内存大小占用情况,使用的是java8 默认垃圾回收器,内存模型为分代模型 jmap -heap 26682 到此还看不出什么问题,需要进一步调查 修改 JAVA_OPTS当出现OOM时,将jv 阅读全文
posted @ 2020-08-28 17:03 火火火火四火 阅读(127) 评论(0) 推荐(0) 编辑
摘要: /** * Spark的四种运行模式 * 本地模式, Standalone模式, Spark on Yarn模式, Spark on Mesos模式 */ ////进行配置, setMaster("local")本地运行模式 val conf = new SparkConf().setAppName 阅读全文
posted @ 2020-08-27 16:50 火火火火四火 阅读(266) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2020.cnblogs.com/blog/1395697/202008/1395697-20200827160234868-902450118.png) 阅读全文
posted @ 2020-08-27 16:03 火火火火四火 阅读(108) 评论(0) 推荐(0) 编辑
摘要: 方法一:maven reimport 方法二:file->invalidate caches /restart 方法三:gradle项目,把build.gradle依赖项任意一项删掉再恢复,让gradle重新导入 方法四:删除.idea,重新建立工程 方法五:重装IDEA 以上方法逐一尝试 阅读全文
posted @ 2020-08-06 08:40 火火火火四火 阅读(9496) 评论(0) 推荐(0) 编辑
摘要: CAP 3进2 阅读全文
posted @ 2020-06-01 09:23 火火火火四火 阅读(263) 评论(0) 推荐(0) 编辑
摘要: 最近从网上找了一套杰伦歌曲全集,文件夹和子文件夹太多,想着写个简单的IO程序拷贝一下。代码如下 package com.tool; import java.io.*; public class CopyJayMP3FileTool { public static void main(String[] 阅读全文
posted @ 2020-04-16 10:15 火火火火四火 阅读(188) 评论(0) 推荐(0) 编辑
摘要: alimaven aliyun maven http://maven.aliyun.com/nexus/content/groups/public/ central 阅读全文
posted @ 2020-02-19 14:30 火火火火四火 阅读(1980) 评论(0) 推荐(0) 编辑
摘要: ![](https://img2018.cnblogs.com/blog/1395697/201912/1395697-20191231144010325-91215463.png) 阅读全文
posted @ 2019-12-31 14:39 火火火火四火 阅读(201) 评论(0) 推荐(0) 编辑
摘要: 转自 https://www.cnblogs.com/lslyw/p/11603781.html !/bin/bash function system(){ echo " 系统信息 " OS_TYPE= OS_VER= OS_KER= OS_TIME= OS_RUN_TIME= OS_LAST_RE 阅读全文
posted @ 2019-09-29 09:06 火火火火四火 阅读(227) 评论(0) 推荐(0) 编辑