自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

翻译 【无标题】flink代码

从集合读取数据// 定义样例类,传感器 id,时间戳,温度case class SensorReading(id: String, timestamp: Long, temperature: Double)object Sensor {def main(args: Array[String]): Unit = {val env = StreamExecutionEnvironment.getExecutionEnvironmentval stream1 = env.fromCollection

2022-04-04 19:18:30 163

转载 2021-08-31

【常见问题】CentOS6 yum命令报错YumRepo Error: All mirror URLs are not using ftp, http[s] or fileCentOS6已经在2020年11月30日停止维护了。centos官方停止了对centos6的所有更新,并且下架了包括官方所有的centos6源,目前阿里、163、清华等centos6源已无法使用。1、更新yum源:1 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.

2021-08-31 11:19:36 74

原创 window下文件夹快速删除

删除testXml文件夹Runtime runtime = Runtime.getRuntime();String cmd="cmd /c rd/s/q "+“D:\testFile\testXml”;Process p = runtime.exec(cmd);p.waitFor();

2020-06-24 11:12:29 176

转载 Spark资源优化

原 Spark资源优化 ...

2019-08-15 15:49:48 1320

转载 Centos7.3安装CDH6.0.1

原 Centos7.3安装CDH6.0.1 ...

2019-07-30 11:52:27 929

转载 文本工具

1. 创建文件路径public void createFile1(String path) throws IOException {File file = new File(path);File fileParent = file.getParentFile();//判断是否存在if (!fileParent.exists()) {fileParent.mkdirs();}file...

2019-04-02 14:59:20 99

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除