摘要: 待整理: 测试代码: ''' Created on 2020年7月21日 @author: sea ''' from concurrent.futures.thread import ThreadPoolExecutor from concurrent.futures._base import as 阅读全文
posted @ 2020-07-21 18:43 lshan 阅读(973) 评论(1) 推荐(0) 编辑
摘要: 方式1: 1. 明确 Spark中Job 与 Streaming中 Job 的区别1.1 Spark Core一个 RDD DAG Graph 可以生成一个或多个 Job(Action操作)一个Job可以认为就是会最终输出一个结果RDD的一条由RDD组织而成的计算Job在spark里应用里是一个被调 阅读全文
posted @ 2020-07-21 16:57 lshan 阅读(3560) 评论(0) 推荐(0) 编辑
摘要: @Test public void testRegex() throws Exception { String str="das:! $%#*(*("; String regEx = "[`~!@#$%^&*()+=|{}':;'\\[\\].<>/?~!@#¥%……&*()——+|{}【】‘;:” 阅读全文
posted @ 2020-07-21 12:06 lshan 阅读(1952) 评论(0) 推荐(0) 编辑