IDEA如何快速生成get和set方法-lombok插件方法
摘要:1.点击"setings" 2.选择"plugins",然后选择Browse repositories 3.在搜索框中输入"lombok",点击"lombok Plugin" , 然后点击"inatall"进行插件下载. 4.下载成功后,在pom.xml文件中编写lombok的版本控制 <depen
阅读全文
posted @
2021-11-21 23:42
架构艺术
阅读(1002)
推荐(0)
Spark 读取csv文件操作,option参数解释
摘要:import com.bean.Yyds1 import org.apache.spark.sql.SparkSession object TestReadCSV { def main(args: Array[String]): Unit = { val spark = SparkSession.b
阅读全文
posted @
2021-11-21 23:39
架构艺术
阅读(3913)
推荐(0)
特征feature及结果label的提取--sparkRDD转为LabelPoint
摘要:题目: 将数据的某个特征作为label, 其他特征(或其他某几个特征)作为Feature, 转为LabelPoint 引用: https://www.cnblogs.com/honey01/p/8044215.html 首先构造数据 import scala.util.Random.{setSeed
阅读全文
posted @
2021-11-21 11:01
架构艺术
阅读(211)
推荐(0)
IDEA2020.3.4激活
摘要:1、首先下载破解补丁,是zip文件。注意:激活后一定不要删除该文件,找个位置放着就行,不然会影响激活状态 https://www.openwebsite.cn/fujian/BetterIntelliJ.zip 2.先随意建个(空)项目并打开,解压文件后里面有个BetterIntelliJ.zip压
阅读全文
posted @
2021-11-15 16:06
架构艺术
阅读(8934)
推荐(1)
spark-submit提交streaming任务
摘要:#!/bin/bash master="yarn-cluster" current=`cd $(dirname $0)/../;pwd` yarn application -kill `yarn application -list | grep HwSwOneMinJob | awk '{print
阅读全文
posted @
2021-10-27 16:38
架构艺术
阅读(305)
推荐(0)
maven打包zip包含bin下启动脚本
摘要:在idea上测试有效: pom.xml打包 <build> <sourceDirectory>src/main/scala</sourceDirectory> <testSourceDirectory>src/test/scala</testSourceDirectory> <resources>
阅读全文
posted @
2021-10-27 16:33
架构艺术
阅读(285)
推荐(0)
IDEA快捷键
摘要:Ctrl 快捷键 介绍 Ctrl + F 在当前文件进行文本查找 (必备) Ctrl + R 在当前文件进行文本替换 (必备) Ctrl + Z 撤销 (必备) Ctrl + Y 删除光标所在行 或 删除选中的行 (必备) Ctrl + X 剪切光标所在行 或 剪切选择内容 Ctrl + C 复制光
阅读全文
posted @
2021-10-26 18:34
架构艺术
阅读(32)
推荐(0)