上一页 1 2 3 4 5 6 7 8 9 ··· 22 下一页
摘要: 一 ,错误: spark报:too many open files 打开文件过多的意思 ? ulimit -a 查看打开的连接限制 ulimit -n 4096 扩大最大允许打开的文件数量设置为4096(临时的,重启后会还原) 修改系统配置文件(重启生效):vim /etc/security//li 阅读全文
posted @ 2021-04-21 14:32 憨憨青年 阅读(212) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-04-19 17:26 憨憨青年 阅读(303) 评论(0) 推荐(0) 编辑
摘要: 一,环境搭建问题 神经网络学习小记录42——windows下的tensorflow-gpu=1.13.2环境配置 https://blog.csdn.net/weixin_44791964/article/details/104702142 https://blog.csdn.net/weixin_ 阅读全文
posted @ 2021-04-19 15:51 憨憨青年 阅读(1236) 评论(0) 推荐(0) 编辑
摘要: 1.threading模块 threading模块是众多多线程管理模块的其一,它能确保重要的子线程退出后进程才退出。 multiprocess模块的完全模仿了threading模块的接口,二者在使用层面,有很大的相似性,因而不再详细介绍 (官方链接) 2.创建线程的两种方式 方式一: from th 阅读全文
posted @ 2021-04-13 17:35 憨憨青年 阅读(250) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2021-04-08 10:59 憨憨青年 阅读(185) 评论(0) 推荐(0) 编辑
摘要: Apt(Debain、Ubuntu) 1. 检查当前的数据目录 2. 停止MySQL 3. 检查状态 4. 在`创建新目录`并将所有权更改到`指定用户`下: 5. 将文件移动到新的数据目录中 6. 配置`/etc/mysql/mysql.conf.d/mysqld.cnf ` 7. 启动MySQL服 阅读全文
posted @ 2021-01-25 20:16 憨憨青年 阅读(623) 评论(0) 推荐(1) 编辑
摘要: 项目结构: 一.Maven依赖 <dependencies> <!-- webSocket依赖 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-websocket 阅读全文
posted @ 2021-01-21 21:14 憨憨青年 阅读(621) 评论(0) 推荐(0) 编辑
摘要: package com.lg.blgdata.utils import redis.clients.jedis.{Jedis, JedisPool, JedisPoolConfig} import scala.collection.mutable.HashSet //jedis连接池 object 阅读全文
posted @ 2021-01-21 11:52 憨憨青年 阅读(293) 评论(0) 推荐(0) 编辑
摘要: package com.lg.blgdata.utils import java.util.Properties import com.alibaba.druid.pool.DruidDataSourceFactory import javax.sql.DataSource import java. 阅读全文
posted @ 2021-01-21 11:51 憨憨青年 阅读(353) 评论(0) 推荐(0) 编辑
摘要: /** * 根据map中的某个key 去除List中重复的map,如果值不为null,则覆盖空值 * @author shijing * @param list * @param mapKey * @return */ public List<Map<String, String>> removeR 阅读全文
posted @ 2021-01-21 11:21 憨憨青年 阅读(372) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 22 下一页
// 侧边栏目录 // https://blog-static.cnblogs.com/files/douzujun/marvin.nav.my1502.css