上一页 1 2 3 4 5 6 ··· 33 下一页
  2022年1月31日
摘要: Maven默认的依赖配置项中,scope的默认值是compile 阅读全文
posted @ 2022-01-31 13:50 坚守梦想 阅读(331) 评论(0) 推荐(0) 编辑
  2022年1月13日
摘要: 组件自查方案 (Log4j2为基础组件,大部分项目均会引用) Maven 项目 在本地项目或者服务器上执行以下命令: mvn clean dependency:tree -Dincludes=org.apache.logging.log4j:log4j-core -Dmaven.test.skip= 阅读全文
posted @ 2022-01-13 10:32 坚守梦想 阅读(741) 评论(0) 推荐(0) 编辑
  2022年1月9日
摘要: 注意setMaster("local")和setMaster("local[*])的分区数是不一样的。*会匹配所有的cpu核数。 import org.apache.spark.rdd.RDD import org.apache.spark.{SparkConf, SparkContext} obj 阅读全文
posted @ 2022-01-09 12:53 坚守梦想 阅读(243) 评论(0) 推荐(0) 编辑
摘要: org.apache.spark.rdd.ParallelCollectionRDD#getPartitions org.apache.spark.rdd.HadoopRDD#getPartitions 需要注意的是getPartitions方法的触发时机是在行动算子执行的时候触发: 阅读全文
posted @ 2022-01-09 12:47 坚守梦想 阅读(82) 评论(0) 推荐(0) 编辑
摘要: 只需要在class的第一行打上断点就可以了。 阅读全文
posted @ 2022-01-09 12:22 坚守梦想 阅读(86) 评论(0) 推荐(0) 编辑
摘要: idea查看接口的实现类快捷键(Ctrl+H) 阅读全文
posted @ 2022-01-09 12:00 坚守梦想 阅读(975) 评论(0) 推荐(0) 编辑
  2022年1月7日
摘要: select title from feeds.subject group by title having count(*) > 1;select title from feeds.subject where title='';select title from feeds.subject wher 阅读全文
posted @ 2022-01-07 11:12 坚守梦想 阅读(162) 评论(0) 推荐(0) 编辑
  2022年1月6日
摘要: File >Settings >Editor >Code style >Scala >勾选Local Definition (前提是你按照了Scala插件) 提示效果如下: 附:如何在idea中安装scala插件: File >Settings >Plugins >搜索Scala 》 阅读全文
posted @ 2022-01-06 20:11 坚守梦想 阅读(1719) 评论(0) 推荐(2) 编辑
  2022年1月5日
摘要: 也可以使用view >Parameter Info 阅读全文
posted @ 2022-01-05 16:20 坚守梦想 阅读(1430) 评论(0) 推荐(0) 编辑
  2021年12月28日
摘要: 参考资料: https://blog.csdn.net/Student_xx/article/details/110536644 阅读全文
posted @ 2021-12-28 23:21 坚守梦想 阅读(732) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 ··· 33 下一页