上一页 1 ··· 4 5 6 7 8 9 10 下一页
摘要: mvn -v 查看maven版本 mvn -f pom文件路径 -P test|pre|prd -Dmaven.test.failure.ignore=true -Dfile.encoding=UTF-8 package|clean|install|compile 阅读全文
posted @ 2021-05-13 14:46 清明雨下 阅读(214) 评论(0) 推荐(0)
摘要: 普通的包版本冲突使用dependencyAnalysis 插件,在相应的依赖中exclude掉即可如果本地打包成功,和环境提供的包冲突使用 shade<build> <plugins> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId 阅读全文
posted @ 2021-05-13 10:27 清明雨下 阅读(273) 评论(0) 推荐(0)
摘要: ScriptEvaluator 代码片段编译执行 ExpressionEvaluator 表达式编译执行 阅读全文
posted @ 2021-05-11 11:40 清明雨下 阅读(61) 评论(0) 推荐(0)
摘要: $简单的字符串替换,应用场景: 传数据库对象:如表名 select * from ${tableA} where....... tableA传入 user_info_tab > select * from user_info_tab #预编译 对替换的字段总是加上 ‘’ select * from 阅读全文
posted @ 2021-04-30 16:52 清明雨下 阅读(246) 评论(0) 推荐(0)
摘要: 生产sparksql。对于时序性数据,执行速度很慢,定位思路: sparksql配置 》各个执行时间段消耗明细 》差异 spark.read.parquet(hdfsPath: _*).createOrReplaceTempView(modelCode)下楼.filter(_.length > 0) 阅读全文
posted @ 2021-04-28 09:08 清明雨下 阅读(363) 评论(0) 推荐(0)
摘要: 情况1:没设置contentLenth InputStream resourceAsStream = ExcelUtils.class.getResourceAsStream("/template/" + fileName);response.setHeader("Content-Length", 阅读全文
posted @ 2021-04-08 11:30 清明雨下 阅读(4535) 评论(0) 推荐(0)
摘要: object listTest { def main(args: Array[String]): Unit = { val list = List(1,2,3) // :: 用于的是向队列的头部追加数据,产生新的列表, x::list,x就会添加到list的头部 println(4 :: list) 阅读全文
posted @ 2020-12-09 20:15 清明雨下 阅读(952) 评论(0) 推荐(0)
摘要: object Test { def main(args: Array[String]): Unit = { val numbers = List(1, 2, 3, 4, 5, 6, 7, 8, 9, 10) val res =add(1)(2) println(add3(1)(2)) // 55 } 阅读全文
posted @ 2020-12-09 11:46 清明雨下 阅读(99) 评论(0) 推荐(0)
摘要: Metaspace used 129307K, capacity 138420K, committed 1314560K, reserved 1314816K used表示加载的类的空间 capacity实际块的空间 commited 指的元数据块commit的虚拟空间的量 committed 》》 阅读全文
posted @ 2020-10-27 20:10 清明雨下 阅读(317) 评论(0) 推荐(0)
摘要: 待续。。。。。。。。。。。。。 阅读全文
posted @ 2020-10-27 16:22 清明雨下 阅读(165) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 下一页