摘要: 正文 1、常用命令 - 还原到指定提交后的版本:git reset --hard 日志版本号 (-soft 软还原,本地的代码还是最新的,通常用于合并小的提交) - 还原后强制提交:git push origin master -f - 还原错误的commit: git reset --soft H 阅读全文
posted @ 2023-08-16 17:47 咔咔皮卡丘 阅读(19) 评论(0) 推荐(0)
摘要: 参考文献 https://blog.csdn.net/xietansheng/article/details/51673073 如有侵权,请联系删除 引入jar <!-- https://mvnrepository.com/artifact/javax.mail/javax.mail-api --> 阅读全文
posted @ 2023-08-16 17:44 咔咔皮卡丘 阅读(9) 评论(0) 推荐(0)
摘要: protected void responseExcel(HSSFWorkbook workbook) throws IOException { ByteArrayOutputStream os = new ByteArrayOutputStream(); try { workbook.write( 阅读全文
posted @ 2023-08-16 17:42 咔咔皮卡丘 阅读(33) 评论(0) 推荐(0)
摘要: 参考文献 https://blog.csdn.net/u011531613/article/details/61921473 如有侵权,请联系删除 结语 学习没有捷径,一步一个脚印! 阅读全文
posted @ 2023-08-16 17:40 咔咔皮卡丘 阅读(9) 评论(0) 推荐(0)
摘要: https://jingyan.baidu.com/article/da1091fb6e5cba027849d6be.html 阅读全文
posted @ 2023-08-16 17:38 咔咔皮卡丘 阅读(8) 评论(0) 推荐(0)
摘要: 创建多级目录(-p): hadoop fs -mkdir -p /test/a/b 展示目录: hadoop fs -ls / 递归展示: hadoop fs -ls -R / 从HDFS上下载文件到本地: hadoop fs -get /test/a/b/h.txt hadoop fs -copy 阅读全文
posted @ 2023-08-16 17:36 咔咔皮卡丘 阅读(9) 评论(0) 推荐(0)
摘要: 1.Hadoop "Cannot create directory .Name node is in safe mode."解决方案 hadoop dfsadmin -safemode leave 2.本地eclipse连接外网Hadoop 通过查询发现,外网中的hadoop如果想要被外网访问,需要 阅读全文
posted @ 2023-08-16 17:28 咔咔皮卡丘 阅读(18) 评论(0) 推荐(0)
摘要: Hadoop生态系统 资源调试系统YARN HDFS写入数据流程图 HDFS原理漫画 结语 学习没有捷径,一步一个脚印! 阅读全文
posted @ 2023-08-16 17:22 咔咔皮卡丘 阅读(8) 评论(0) 推荐(0)
摘要: 参考文献 https://www.cnblogs.com/hujiapeng/p/7127213.html 如有侵权,请联系删除 结语 学习没有捷径,一步一个脚印! 阅读全文
posted @ 2023-08-16 17:06 咔咔皮卡丘 阅读(9) 评论(0) 推荐(0)
摘要: 注:${project.basedir}是maven内置变量,指向pom.xml文件所在位置 1、SpringBoot项目 这个的作用与上面<configuration>标签的配置效果相同 2、ssm,打包为war包的工程 依赖注入与springboot相同,打包配置如下: <plugin> <gr 阅读全文
posted @ 2023-08-16 17:05 咔咔皮卡丘 阅读(77) 评论(0) 推荐(0)
摘要: 这是一款使用代码画UML的一个工具,还可以在IDEA中使用 https://plantuml.com 结语 学习没有捷径,一步一个脚印! 阅读全文
posted @ 2023-08-16 16:58 咔咔皮卡丘 阅读(15) 评论(0) 推荐(0)
摘要: 结语 学习没有捷径,一步一个脚印! 阅读全文
posted @ 2023-08-16 16:54 咔咔皮卡丘 阅读(22) 评论(0) 推荐(0)
摘要: 参考文献 https://www.cnblogs.com/lori/archive/2017/10/10/7646940.html 如有侵权,请联系删除 前言 本地事务ACID大家应该都知道了,统一提交,失败回滚,严格保证了同一事务内数据的一致性!而分布式事务不能实现这种ACID,它只能实现CAP原 阅读全文
posted @ 2023-08-16 16:51 咔咔皮卡丘 阅读(30) 评论(0) 推荐(0)
摘要: 1.安装 https://blog.csdn.net/shuizhihun07/article/details/80168076 2.整合git+maven使用 https://blog.csdn.net/xlgen157387/article/details/50353317 阅读全文
posted @ 2023-08-16 16:47 咔咔皮卡丘 阅读(9) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_32563571/article/details/79570841 阅读全文
posted @ 2023-08-16 16:43 咔咔皮卡丘 阅读(7) 评论(0) 推荐(0)
摘要: 在开发中,可能会因为引用的jar包中feign注解类所在的包不在当前工程启动类所在位置之下,此时就要在启动类上加上 @EnableFeignClients("com.csdn.*") 阅读全文
posted @ 2023-08-16 16:36 咔咔皮卡丘 阅读(19) 评论(0) 推荐(0)
摘要: 参考文献 https://blog.csdn.net/u011277123/article/details/53404269 如有侵权,请联系删除 前言 在做项目过程中,可能会遇到客户想要做统一认证,但又没有过多的预算。在这种情况下,只能提取统一认证中的精华部门,实现一个简易的单点登录。本文主要介绍 阅读全文
posted @ 2023-08-16 16:33 咔咔皮卡丘 阅读(91) 评论(0) 推荐(0)
摘要: 链接:https://blog.csdn.net/q826qq1878/article/details/76179591 阅读全文
posted @ 2023-08-16 15:06 咔咔皮卡丘 阅读(69) 评论(0) 推荐(0)
摘要: 参考: https://www.jianshu.com/p/f4d7827821f1/ https://www.jianshu.com/p/6bf8166b291c 阅读全文
posted @ 2023-08-16 14:50 咔咔皮卡丘 阅读(11) 评论(0) 推荐(0)
摘要: -- 查询image重复记录 db.getCollection('image').aggregate([ { $group: { _id : {imageId: '$imageId',time:'$time'}, count: { $sum : 1 } } }, { $match: { count: 阅读全文
posted @ 2023-08-16 14:48 咔咔皮卡丘 阅读(292) 评论(0) 推荐(0)