(1)StreamingContext 与sparkcore的编程类似,在编写SparkStreaming的程序时,也需要一个通用的编程入口----StreamingContext。StreamingContext的创建:objectStreamingContextTest{defmain(args:Array[String]):Unit={valsparkConf=newS
分类:
其他好文 时间:
2019-01-07 00:09:39
阅读次数:
233
Redis 通过 PUBLISH 、 SUBSCRIBE 等命令实现了发布与订阅模式。 一、发布订阅基本命令 ...
分类:
其他好文 时间:
2019-01-02 23:23:59
阅读次数:
185
1. Reshape: The np.reshape() method will give a new shape to an array without changing its data. Note that the new shape should be compatible with the ...
分类:
编程语言 时间:
2019-01-02 10:44:35
阅读次数:
141
Netty源码分析第五章: ByteBuf 第六节: page级别的内存分配 前面小节我们剖析过命中缓存的内存分配逻辑, 前提是如果缓存中有数据, 那么缓存中没有数据, netty是如何开辟一块内存进行内存分配的呢?这一小节带大家进行剖析: 剖析之前首先简单介绍netty内存分配的大概数据结构: 之 ...
分类:
Web程序 时间:
2019-01-01 19:51:09
阅读次数:
199
元旦快乐|今日区块链技术头条 1. "比特大陆裁撤全部矿场,「巨轮」早已危机暗藏?" 2. "加密货币和区块链的2018:行业发展回顾" 3. "引介 | Uniswap —— 一家不走寻常路的交易所" 4. "联盟链初识以及Fabric环境搭建流程" 5. "区块链技术指南:如何用链码实现的Hel ...
分类:
其他好文 时间:
2018-12-31 11:26:44
阅读次数:
132
废话不多说,传送门:http://download.csdn.net/detail/cometwo/9620943 支持https:https://www.aishandian.com/news-631.html 参考文章:http://www.cnblogs.com/hooray/archive/ ...
分类:
微信 时间:
2018-12-24 19:52:58
阅读次数:
247
https://blog.csdn.net/snowdroptulip/article/details/79125912 https://www.cnblogs.com/runner-ljt/p/5245080.html http://www.nniiem.ru/file/news/2016/stl ...
分类:
其他好文 时间:
2018-12-24 02:52:43
阅读次数:
104
1.sqlmap的get注入 假设目标是 https://www.baidu.com/news.php?id=1&data=2 sqlmap语句 列库 sqlmap.py -u "https://www.baidu.com/news.php?id=1&data=2" --dbs //假设结果显示库有 ...
分类:
数据库 时间:
2018-12-23 23:49:12
阅读次数:
204
(1)打印出来的东西乱码,如何处理这个问题? (2) (3) (4) (5)目前的最终版(后期有待完善) 注意注释 (6) ...
分类:
其他好文 时间:
2018-12-23 15:34:24
阅读次数:
161