上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 82 下一页
该文被密码保护。 阅读全文
posted @ 2020-12-03 19:28 lshan 阅读(5) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2020-12-01 10:43 lshan 阅读(1) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.cnblogs.com/xiaozhengtongxue/p/13448778.html 亦可参考:https://blog.csdn.net/qq_28410283/article/details/116378711 (推荐) https://www.cnblogs. 阅读全文
posted @ 2020-11-27 13:44 lshan 阅读(1935) 评论(0) 推荐(1) 编辑
摘要: Direct Approach (No Receivers) 简化的并行性:不需要创建多个输入Kafka流并将其合并。 使用directStream,Spark Streaming将创建 与使用Kafka分区一样多的RDD分区,这些分区将全部从Kafka并行读取数据。 所以在Kafka和RDD分 区 阅读全文
posted @ 2020-11-17 12:37 lshan 阅读(164) 评论(0) 推荐(0) 编辑
摘要: scala kafka api test 依赖: <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka_2.11</artifactId> <version>1.1.0</version> </dependency> b 阅读全文
posted @ 2020-11-16 11:38 lshan 阅读(361) 评论(0) 推荐(0) 编辑
摘要: 依赖: <!-- https://mvnrepository.com/artifact/org.apache.spark/spark-hive --> <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-hive_2. 阅读全文
posted @ 2020-11-12 15:25 lshan 阅读(640) 评论(0) 推荐(0) 编辑
摘要: 方式1 :隐式值 (remark:隐式 调用 顺序 隐式Object > 隐式值> 隐式函数> 隐式方法) def main(args: Array[String]): Unit = { val sparkConf = new SparkConf().setMaster("local[2]").se 阅读全文
posted @ 2020-11-06 15:28 lshan 阅读(210) 评论(0) 推荐(0) 编辑
摘要: 原文:https://blog.csdn.net/qq_35418518/article/details/107411512?utm_medium=distribute.pc_relevant.none-task-blog-BlogCommendFromMachineLearnPai2-1.chan 阅读全文
posted @ 2020-11-04 12:12 lshan 阅读(945) 评论(0) 推荐(0) 编辑
摘要: 原文地址: https://blog.csdn.net/demonliuhui/article/details/54572908 List浅拷贝 众所周知,list本质上是数组,而数组的是以地址的形式进行存储。 如上图将list A浅拷贝给list B,由于进行的是浅拷贝,所以直接将A的内容复制给了 阅读全文
posted @ 2020-11-02 10:55 lshan 阅读(375) 评论(0) 推荐(0) 编辑
摘要: 原文:https://www.liujason.com/old-blog/1663.html OpenVPN服务端配置 1. 安装OpenVPN软件包 默认的Centos软件源里面没有OpenVPN的软件包,我们可以添加rpmforge的repo,从而实现yum安装openvpn 针对CentOS 阅读全文
posted @ 2020-10-29 10:04 lshan 阅读(5) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 82 下一页