https://blog.csdn.net/lovechendongxing/article/details/81746988 Spark应用程序以进程集合为单位在分布式集群上运行,通过driver程序的main方法创建的SparkContext对象与集群交互。 1、Spark通过SparkCont ...
分类:
其他好文 时间:
2019-06-17 12:34:38
阅读次数:
114
搜索的时候,要依靠倒排索引;排序的时候,需要依靠正排索引,看到每个document的每个field,然后进行排序,所谓的正排索引,其实就是doc values 在建立索引的时候,一方面会建立倒排索引,以供搜索用;一方面会建立正排索引,也就是doc values,以供排序,聚合,过滤等操作使用 doc ...
分类:
其他好文 时间:
2019-06-16 21:42:00
阅读次数:
125
在horizon7发放桌面池的时候遇到了一个报错,ViewComposeragentinitializationstateerror:Failedtojointhedomain经检查发现时因为在父虚拟机中没有设置DNS服务器地址。设置了之后有出现了一个新的报错。这个查询官方文档得知,是因为父虚拟机的激活问题,在没有KMS的测试环境中可以使用修改父虚拟机的注册表来规避这个问题。将HKEY_LOCAL
分类:
其他好文 时间:
2019-06-15 17:17:47
阅读次数:
130
1、打开 https://github.com ; 2、搜索 jsonView 链接:https://github.com/search?utf8=%E2%9C%93&q=jsonview; 3、选择需要的插件(我是选这个gildas-lormeau/JSONView-for-Chrome); 4、 ...
分类:
Web程序 时间:
2019-06-15 15:29:59
阅读次数:
139
#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>#include <stdlib.h>#include <string.h>#include <time.h>#include <assert.h> typedef struct dict{ char* ...
分类:
其他好文 时间:
2019-06-15 13:54:00
阅读次数:
133
恩如题用了seajs也可以不用define(function(require,exports,module){require(‘./gmaps-heatmap.js/index.js‘);//这个作用不明,不引用应该也可以require(‘./heatmap.js‘);require(‘./heatmap.min.js‘);//引用不压缩版的就是正常的,压缩版的就不行,蛋疼varcommpent=
分类:
Web程序 时间:
2019-06-14 23:42:06
阅读次数:
248
public class TestLinkedList { @Test public void testQuery() { LinkedList1 list=new LinkedList1(); list.add(22); list.add(66); list.addFirst(77); ... ...
分类:
其他好文 时间:
2019-06-14 14:18:04
阅读次数:
69
CentOs 7.X: rpm -Uvh https://mirror.webtatic.com/yum/el7/epel-release.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm 可以安装的包yum ...
分类:
Web程序 时间:
2019-06-14 12:33:39
阅读次数:
125
[TOC] re模块 正则表达式的大致匹配过程是:依次拿出表达式和文本中的字符比较,如果每一个字符都能匹配,则匹配成功;一旦有匹配不成功的字符则匹配失败。 re模块的基本使用方法 可以用到的元字符: 1. ^元字符:字符串开始位置与匹配规则符合就匹配,否则不匹配 匹配字符串开头。在多行模式中匹配每一 ...
分类:
其他好文 时间:
2019-06-13 20:35:39
阅读次数:
120