An operator is a symbol that tells the complier to perform specifc mathematical or logical manipulations. C++ allows u to specify more than one defini ...
分类:
编程语言 时间:
2020-06-14 11:20:54
阅读次数:
58
首先,先安装jdk.我安装的是jdk14.下载界面如下所示: 接下来配置path,java_home两个环境变量即可。 接下来安装scala 我安装的scala是2.13.2版本。 接下来安装hadoop ...
分类:
其他好文 时间:
2020-06-13 23:05:23
阅读次数:
66
今天工作遇到个关于Promise的小问题,结果是自己太新手,后来解决了 如 function test() { return new Promise (resolve, reject) { reject('超时') } } 使用了await, 必须catch才能让阻塞放开 async functio ...
分类:
其他好文 时间:
2020-06-13 19:29:17
阅读次数:
68
<!doctype html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, ...
分类:
移动开发 时间:
2020-06-13 14:33:10
阅读次数:
74
类和对象 在类定义中,有字段filed和方法method,统称为成员member,通过val和var定义字段指定对象的变量。通过def定义方法。(和Python一样)实例一个类后,会指派一些内存来保存对象的状态图。个人理解对通过地址间映射,有一块内存保存值。 对字段声明私有。在var、val前加。不 ...
分类:
其他好文 时间:
2020-06-13 13:22:18
阅读次数:
51
今天学习springboot框架的使用,IDEA里一个service的注解报错“Cannot resolve symbol service”。 搜索了很多方法,解决办法是选择file,然后再选择Invalidate Caches/Restart清除缓存并重启IDEA就好了。 原博地址https:// ...
分类:
其他好文 时间:
2020-06-13 12:58:04
阅读次数:
696
第一步 在pom.xml中添加 <dependencies> <dependency> <groupId>org.apache.spark</groupId> <artifactId>spark-core_2.11</artifactId> <version>2.3.3</version> </de ...
分类:
其他好文 时间:
2020-06-13 12:39:49
阅读次数:
172
1.变量数据类型及检测 基本数据类型: 指的是简单的数据段 Boolean null undefined number string Symbol 引用数据类型: 可能由多个值构成的对象 object对象类型 比如 function array date 区别 (1)可变性 基本类型: 不可变类型, ...
分类:
其他好文 时间:
2020-06-12 14:15:54
阅读次数:
58
手头一台Linux服务器(Red Hat Enterprise Linux Server release 6.6),写了一个shell脚本,在上面测试运行时,发现Kerberized ftp client命令不存在。注意这里所说的是ftp命令,不是ftp工作站。 [root@KerryDB ~]# ... ...
分类:
其他好文 时间:
2020-06-11 19:37:47
阅读次数:
63
本地scala version为2.11.8,spark为2.4.0版本 于是修改dr-elephant/build.sbt scalaVersion := "2.11.8" 修改dr-elephant/compile.conf hadoop_version=2.8.4 spark_version= ...
分类:
其他好文 时间:
2020-06-11 13:42:28
阅读次数:
100